Windows 10: Startup error: "System.UnauthorizedAccessException: Access to the registry key...

Discus and support Startup error: "System.UnauthorizedAccessException: Access to the registry key... in Windows 10 BSOD Crashes and Debugging to solve the problem; On startup, I get a popup with the following error report: See the end of this message for details on invoking just-in-time JIT debugging instead... Discussion in 'Windows 10 BSOD Crashes and Debugging' started by SpectralBacon, Nov 29, 2020.

  1. Startup error: "System.UnauthorizedAccessException: Access to the registry key...


    On startup, I get a popup with the following error report:


    See the end of this message for details on invoking

    just-in-time JIT debugging instead of this dialog box.



    ************** Exception Text **************

    System.UnauthorizedAccessException: Access to the registry key 'HKEY_CURRENT_USER\SOFTWARE\Classes\CLSID\{220d4c62-e55b-4ba8-8a2a-4893f134b062}\LocalServer32' is denied.

    at Microsoft.Win32.RegistryKey.Win32ErrorInt32 errorCode, String str

    at Microsoft.Win32.RegistryKey.CreateSubKeyInternalString subkey, RegistryKeyPermissionCheck permissionCheck, Object registrySecurityObj, RegistryOptions registryOptions

    at Microsoft.Win32.RegistryKey.CreateSubKeyString subkey

    at Microsoft.Toolkit.Uwp.Notifications.DesktopNotificationManagerCompat.RegisterComServer[T]String exePath

    at Microsoft.Toolkit.Uwp.Notifications.DesktopNotificationManagerCompat.RegisterAumidAndComServer[T]String aumid

    at ServiceHub.Helper.ServiceHubHelper.ServiceHubHelper_LoadObject sender, EventArgs e

    at System.EventHandler.InvokeObject sender, EventArgs e

    at System.Windows.Forms.Form.OnLoadEventArgs e

    at System.Windows.Forms.Form.OnCreateControl

    at System.Windows.Forms.Control.CreateControlBoolean fIgnoreVisible

    at System.Windows.Forms.Control.CreateControl

    at System.Windows.Forms.Control.WmShowWindowMessage& m

    at System.Windows.Forms.Control.WndProcMessage& m

    at System.Windows.Forms.Form.WmShowWindowMessage& m

    at System.Windows.Forms.NativeWindow.CallbackIntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam





    ************** Loaded Assemblies **************

    mscorlib

    Assembly Version: 4.0.0.0

    Win32 Version: 4.8.4250.0 built by: NET48REL1LAST_C

    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll

    ----------------------------------------

    ServiceHub.Helper

    Assembly Version: 1.0.0.0

    Win32 Version: 1.0.0.0

    CodeBase: file:///C:/Program%20Files/Cold%20Turkey/ServiceHub.Helper.exe

    ----------------------------------------

    Microsoft.VisualBasic

    Assembly Version: 10.0.0.0

    Win32 Version: 14.8.4084.0 built by: NET48REL1

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll

    ----------------------------------------

    System

    Assembly Version: 4.0.0.0

    Win32 Version: 4.8.4200.0 built by: NET48REL1LAST_C

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

    ----------------------------------------

    System.Core

    Assembly Version: 4.0.0.0

    Win32 Version: 4.8.4270.0 built by: NET48REL1LAST_C

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

    ----------------------------------------

    System.Windows.Forms

    Assembly Version: 4.0.0.0

    Win32 Version: 4.8.4270.0 built by: NET48REL1LAST_C

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

    ----------------------------------------

    System.Drawing

    Assembly Version: 4.0.0.0

    Win32 Version: 4.8.4084.0 built by: NET48REL1

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

    ----------------------------------------

    System.Configuration

    Assembly Version: 4.0.0.0

    Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

    ----------------------------------------

    System.Xml

    Assembly Version: 4.0.0.0

    Win32 Version: 4.8.4084.0 built by: NET48REL1

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

    ----------------------------------------

    System.Runtime.Remoting

    Assembly Version: 4.0.0.0

    Win32 Version: 4.8.4084.0 built by: NET48REL1

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll

    ----------------------------------------

    System.Data.SQLite

    Assembly Version: 1.0.106.0

    Win32 Version: 1.0.106.0

    CodeBase: file:///C:/Program%20Files/Cold%20Turkey/System.Data.SQLite.DLL

    ----------------------------------------

    System.Data

    Assembly Version: 4.0.0.0

    Win32 Version: 4.8.4270.0 built by: NET48REL1LAST_C

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll

    ----------------------------------------

    System.Transactions

    Assembly Version: 4.0.0.0

    Win32 Version: 4.8.4084.0 built by: NET48REL1

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll

    ----------------------------------------

    Microsoft.Toolkit.Uwp.Notifications

    Assembly Version: 6.1.0.0

    Win32 Version: 6.1.1.1

    CodeBase: file:///C:/Program%20Files/Cold%20Turkey/Microsoft.Toolkit.Uwp.Notifications.DLL

    ----------------------------------------



    ************** JIT Debugging **************

    To enable just-in-time JIT debugging, the .config file for this

    application or computer machine.config must have the

    jitDebugging value set in the system.windows.forms section.

    The application must also be compiled with debugging

    enabled.



    For example:



    <configuration>

    <system.windows.forms jitDebugging="true" />

    </configuration>



    When JIT debugging is enabled, any unhandled exception

    will be sent to the JIT debugger registered on the computer

    rather than be handled by this dialog box.


    I'm not quite sure when it started happening either after a windows update or the installation of a program and I have experienced no other issues. How can I solve the underlying issue or at least stop the popup form appearing? Is there a way to trace the program that is causing it and prevent it from running on startup?

    :)
     
    SpectralBacon, Nov 29, 2020
    #1

  2. Error Removing Registry Key?

    If it is not causing you any issues i would suggest for you you not alter the Registry.

    Altering the Registry in any form of way may cause your Operating System to stop responding and or functioning.
     
    Frank N St31n, Nov 29, 2020
    #2
  3. asyntax Win User
    ATITool registry key

    Hello,

    During ATITool installation, the following registry key was added to my registry:

    "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{85b5ddd0-e090-4b15-bdf2-a443a3ca0b66}"

    After uninstalling the program, this key remained. I tried to delete it through the registry editor but it returned the following error:

    "Cannot delete {85b5ddd0-e090-4b15-bdf2-a443a3ca0b66}: Error while deleting key."

    I'm running Vista Home Premium 32-bit by the way. I also tried to change permissions for the key and deleting in safe mode, but neither of those worked either.

    Any ideas on how i can remove this key? Any help is appreciated, thanks.
     
    asyntax, Nov 29, 2020
    #3
  4. Kursah Win User

    Startup error: "System.UnauthorizedAccessException: Access to the registry key...

    BSOD - Registry Error

    Your BSOD code is 0X000000051

    Here's the Google search I did for it: https://www.google.com/search?q=0x0...j5.399j0j7&sourceid=chrome&es_sm=122&ie=UTF-8

    There is a hotfix available that might help, https://support.microsoft.com/en-us/kb/810558

    This thread makes a few good suggestions too: http://www.sevenforums.com/bsod-hel...dows-7-pro-sp1-registry-error-0x00000051.html

    +1 to listing your full system specs, OS version, etc. I did only look at your BSOD log file.

    Run a Diskchk /R (I know you already ran one, so you can skip this)

    Run SFC /SCANNOW

    Report back.
     
    Kursah, Nov 29, 2020
    #4
Thema:

Startup error: "System.UnauthorizedAccessException: Access to the registry key...

Loading...
  1. Startup error: "System.UnauthorizedAccessException: Access to the registry key... - Similar Threads - Startup error System

  2. BSOD - registry error on startup

    in Windows 10 Ask Insider
    BSOD - registry error on startup: Last night I restarted my pc during an AV scan when windows froze up and I get a BSOD (Registry error) almost immediately after bios. Windows spins for like a second and then just BSOD and restarts in that loop. I can’t break the loop, I’ve tried turning it off 4-5-6 times in...
  3. Error Accessing System Registry After Resetting Windows 10

    in Windows 10 Gaming
    Error Accessing System Registry After Resetting Windows 10: In order to fix an "error accessing system registry" problem I performed a reset of the pc removing everything including the files. Now, I'm in the processing of reloading my apps, one of them is Lotus Smart Suite which is a legacy program that has run without a problem since...
  4. Error Accessing System Registry After Resetting Windows 10

    in Windows 10 Software and Apps
    Error Accessing System Registry After Resetting Windows 10: In order to fix an "error accessing system registry" problem I performed a reset of the pc removing everything including the files. Now, I'm in the processing of reloading my apps, one of them is Lotus Smart Suite which is a legacy program that has run without a problem since...
  5. Error Accessing System Registry After Resetting Windows 10

    in Windows 10 Installation and Upgrade
    Error Accessing System Registry After Resetting Windows 10: In order to fix an "error accessing system registry" problem I performed a reset of the pc removing everything including the files. Now, I'm in the processing of reloading my apps, one of them is Lotus Smart Suite which is a legacy program that has run without a problem since...
  6. The SNMP Service encountered an error while accessing the registry key...

    in Windows 10 BSOD Crashes and Debugging
    The SNMP Service encountered an error while accessing the registry key...: Hi, I am seeing many of these Event ID 1500 on my PC System log. Please let me know if there is any solution or how to stop them. Thanks you....
  7. Error accessing registry

    in Windows 10 Customization
    Error accessing registry: I have a script I run which installs all my programs and games and basically compresses about 8 hours of work into 40 minutes. It makes lots of tweaks to the registry, services, tasks and so on. But I've been plagued for some time with problems importing registry files. I...
  8. reg save -> ERROR: The system was unable to find the specified registry key or value Registry

    in Windows 10 BSOD Crashes and Debugging
    reg save -> ERROR: The system was unable to find the specified registry key or value Registry: I would like to save/backup all registry entries that accumulate over a while in a certain part of the registry. Ultimately, I would to have that done more or less automatically with a batch file triggered by the Task Scheduler So far I have tried in the command window which...
  9. Message: Error accessing registry

    in Windows 10 BSOD Crashes and Debugging
    Message: Error accessing registry: I tried to install some older software on WIN 10 which, according to the 'net, others have done successfully. When I try to run the set-up program, I get the above-referenced message. Research suggests this is usually due to "dead" entries in the registry left over from...
  10. Registry keys registry keys

    in Windows 10 Customization
    Registry keys registry keys: Where can I customize the file type/extension icon? John 137822