-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[PT Run] System.UnauthorizedAccessException: Access to the registry key 'HKEY_CURRENT_USER\...\LocalServer32' is denied. #12653
Comments
Exception
Environment
Assemblies - PowerLauncher
|
This seems to be caused by not handling when we don't have access to register for sending notifications in PowerToys Run:
|
@kiangchua , Can you please see if you have access to the mentioned registry key in the Registry Editor ( |
Hi,
It is working after I change in regedit.exe and inherit the permission.
|
@kiangchua , which permissions did you have to change/add/inherit ? Thank you, in advance. |
@jaimecbernardo, at Computer\HKEY_CURRENT_USER\Software\Classes\CLSID{dd5cacda-7c2e-4997-a62a-04a597b58f76} |
Microsoft PowerToys version
0.43.0.0
Running as admin
Area(s) with issue?
General, Welcome / PowerToys Tour window
Steps to reproduce
PowerToysReport_2021-08-06-09-39-56.zip
✔️ Expected Behavior
No error when start up
❌ Actual Behavior
Version: 0.43.0.0
OS Version: Microsoft Windows NT 10.0.18363.0
IntPtr Length: 8
x64: True
Date: 6/8/2021 9:31:57 AM
Exception:
System.UnauthorizedAccessException: Access to the registry key 'HKEY_CURRENT_USER\SOFTWARE\Classes\CLSID{dd5cacda-7c2e-4997-a62a-04a597b58f76}\LocalServer32' is denied.
at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)
at Microsoft.Win32.RegistryKey.CreateSubKeyInternalCore(String subkey, RegistryKeyPermissionCheck permissionCheck, RegistryOptions registryOptions)
at Microsoft.Win32.RegistryKey.CreateSubKey(String subkey, RegistryKeyPermissionCheck permissionCheck, RegistryOptions registryOptions)
at Microsoft.Win32.RegistryKey.CreateSubKey(String subkey)
at Microsoft.Toolkit.Uwp.Notifications.DesktopNotificationManagerCompat.RegisterComServer[T](String exePath)
at Microsoft.Toolkit.Uwp.Notifications.DesktopNotificationManagerCompat.RegisterAumidAndComServer[T](String aumid)
at Wox.PublicAPIInstance..ctor(SettingWindowViewModel settingsVM, MainViewModel mainVM, ThemeManager themeManager)
at PowerLauncher.App.<>c__DisplayClass13_0.b__0()
at Wox.Infrastructure.Stopwatch.Normal(String message, Action action)
at PowerLauncher.App.OnStartup(Object sender, StartupEventArgs e)
at System.Windows.Application.OnStartup(StartupEventArgs e)
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Other Software
No response
The text was updated successfully, but these errors were encountered: