Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PT Run] System.UnauthorizedAccessException: Access to the registry key 'HKEY_CURRENT_USER\...\LocalServer32' is denied. #12653

Closed
1 task done
kiangchua opened this issue Aug 6, 2021 · 7 comments
Labels
Issue-Bug Something isn't working Product-PowerToys Run Improved app launch PT Run (Win+R) Window Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@kiangchua
Copy link

Microsoft PowerToys version

0.43.0.0

Running as admin

  • Yes

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

@kiangchua kiangchua added Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Aug 6, 2021
@jaimecbernardo
Copy link
Collaborator

Exception

System.UnauthorizedAccessException: Access to the registry key 'HKEY_CURRENT_USER\SOFTWARE\Classes\CLSID\{dd5cacda-7c2e-4997-a62a-04a597b58f76}\LocalServer32' is denied.
   Source: Microsoft.Win32.Registry
   TargetAssembly: Microsoft.Win32.Registry, Version=4.1.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
   TargetModule: Microsoft.Win32.Registry.dll
   TargetSite: Void Win32Error(Int32, System.String)
   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.<OnStartup>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)

Environment

  • Command Line: "C:\Program Files\PowerToys\modules\launcher\PowerLauncher.dll" -powerToysPid 8244 --centralized-kb-hook
  • Timestamp: 08/06/2021 09:36:05
  • Wox version: 0.43.0.0
  • OS Version: Microsoft Windows NT 10.0.18363.0
  • IntPtr Length: 8
  • x64: True
  • CLR Version: 3.1.15
  • Installed .NET Framework:
    • v2.0.50727 2.0.50727.4927 SP2
    • v3.0 3.0.30729.4926 SP2
    • v3.5 3.5.30729.4926 SP1
    • v4 Client 4.8.03752
    • v4 Full 4.8.03752
    • v4.0 Client 4.0.0.0

Assemblies - PowerLauncher

  • System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Private.CoreLib.dll)
  • PowerLauncher, Version=0.43.0.0, Culture=neutral, PublicKeyToken=null (C:\Program Files\PowerToys\modules\launcher\PowerLauncher.dll)
  • PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\3.1.15\PresentationFramework.dll)
  • WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\3.1.15\WindowsBase.dll)
  • System.Runtime, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Runtime.dll)
  • System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\3.1.15\System.Xaml.dll)
  • System.Diagnostics.Process, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Diagnostics.Process.dll)
  • System.ComponentModel.Primitives, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.ComponentModel.Primitives.dll)
  • Wox.Plugin, Version=0.43.0.0, Culture=neutral, PublicKeyToken=null (C:\Program Files\PowerToys\modules\launcher\Wox.Plugin.dll)
  • System.Threading.Thread, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Threading.Thread.dll)
  • ManagedCommon, Version=0.43.0.0, Culture=neutral, PublicKeyToken=null (C:\Program Files\PowerToys\modules\launcher\ManagedCommon.dll)
  • netstandard, Version=2.1.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\netstandard.dll)
  • NLog, Version=4.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c (C:\Program Files\PowerToys\modules\launcher\NLog.dll)
  • System.IO.Abstractions, Version=12.0.0.0, Culture=neutral, PublicKeyToken=96bf224d23c43e59 (C:\Program Files\PowerToys\modules\launcher\System.IO.Abstractions.dll)
  • System.Security.AccessControl, Version=4.1.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Security.AccessControl.dll)
  • System.IO.FileSystem, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.IO.FileSystem.dll)
  • System.Diagnostics.FileVersionInfo, Version=4.0.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Diagnostics.FileVersionInfo.dll)
  • System.Runtime.Extensions, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Runtime.Extensions.dll)
  • System.Memory, Version=4.2.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Memory.dll)
  • System.Runtime.InteropServices, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Runtime.InteropServices.dll)
  • System.Threading, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Threading.dll)
  • System.Collections, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Collections.dll)
  • System.IO.FileSystem.Watcher, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.IO.FileSystem.Watcher.dll)
  • System.Threading.Timer, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Threading.Timer.dll)
  • System.ComponentModel, Version=4.0.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.ComponentModel.dll)
  • System.Diagnostics.TraceSource, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Diagnostics.TraceSource.dll)
  • System.Net.Primitives, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Net.Primitives.dll)
  • System.Data.Common, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Data.Common.dll)
  • System.Net.Mail, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Net.Mail.dll)
  • System.Threading.ThreadPool, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Threading.ThreadPool.dll)
  • System.Net.Sockets, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Net.Sockets.dll)
  • System.ComponentModel.TypeConverter, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.ComponentModel.TypeConverter.dll)
  • System.Threading.Tasks, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Threading.Tasks.dll)
  • System.Linq.Expressions, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Linq.Expressions.dll)
  • System.Linq, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Linq.dll)
  • System.ObjectModel, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.ObjectModel.dll)
  • System.Diagnostics.Tools, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Diagnostics.Tools.dll)
  • System.Private.Uri, Version=4.0.6.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Private.Uri.dll)
  • NLog.Extensions.Logging, Version=1.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c (C:\Program Files\PowerToys\modules\launcher\NLog.Extensions.Logging.dll)
  • Microsoft.Extensions.Logging.Abstractions, Version=3.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 (C:\Program Files\PowerToys\modules\launcher\Microsoft.Extensions.Logging.Abstractions.dll)
  • Microsoft.Extensions.Logging, Version=3.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 (C:\Program Files\PowerToys\modules\launcher\Microsoft.Extensions.Logging.dll)
  • System.IO.Packaging, Version=4.0.5.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\3.1.15\System.IO.Packaging.dll)
  • PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\3.1.15\PresentationCore.dll)
  • mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\mscorlib.dll)
  • DirectWriteForwarder, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\3.1.15\DirectWriteForwarder.dll)
  • System.Runtime.CompilerServices.VisualC, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Runtime.CompilerServices.VisualC.dll)
  • System.Diagnostics.Debug, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Diagnostics.Debug.dll)
  • System.Resources.ResourceManager, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Resources.ResourceManager.dll)
  • Microsoft.Win32.Primitives, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\Microsoft.Win32.Primitives.dll)
  • System.Collections.NonGeneric, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Collections.NonGeneric.dll)
  • Microsoft.Win32.Registry, Version=4.1.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\Microsoft.Win32.Registry.dll)
  • System.Collections.Specialized, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Collections.Specialized.dll)
  • System.Configuration.ConfigurationManager, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 (C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\3.1.15\System.Configuration.ConfigurationManager.dll)
  • System.Xml.ReaderWriter, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Xml.ReaderWriter.dll)
  • System.Private.Xml, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Private.Xml.dll)
  • System.Net.WebClient, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Net.WebClient.dll)
  • System.Security.Cryptography.Algorithms, Version=4.3.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Security.Cryptography.Algorithms.dll)
  • System.Text.Encoding.Extensions, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Text.Encoding.Extensions.dll)
  • System.Windows.Extensions, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 (C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\3.1.15\System.Windows.Extensions.dll)
  • System.Collections.Concurrent, Version=4.0.15.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Collections.Concurrent.dll)
  • ModernWpf, Version=0.9.4.0, Culture=neutral, PublicKeyToken=null (C:\Program Files\PowerToys\modules\launcher\ModernWpf.dll)
  • Windows.UI, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null, ContentType=WindowsRuntime (C:\WINDOWS\system32\WinMetadata\Windows.UI.winmd)
  • Windows.Foundation, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null, ContentType=WindowsRuntime (C:\WINDOWS\system32\WinMetadata\Windows.Foundation.winmd)
  • System.Runtime.WindowsRuntime, Version=4.0.15.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Runtime.WindowsRuntime.dll)
  • System.Runtime.InteropServices.WindowsRuntime, Version=4.0.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Runtime.InteropServices.WindowsRuntime.dll)
  • Microsoft.Win32.SystemEvents, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 (C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\3.1.15\Microsoft.Win32.SystemEvents.dll)
  • System.Net.Requests, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Net.Requests.dll)
  • System.Security.Principal, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Security.Principal.dll)
  • System.Net.WebHeaderCollection, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Net.WebHeaderCollection.dll)
  • PresentationFramework.Aero2, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\3.1.15\PresentationFramework.Aero2.dll)
  • Microsoft.PowerToys.Common.UI, Version=0.43.0.0, Culture=neutral, PublicKeyToken=null (C:\Program Files\PowerToys\modules\launcher\Microsoft.PowerToys.Common.UI.dll)
  • ControlzEx, Version=4.0.0.0, Culture=neutral, PublicKeyToken=69f1c32f803d307e (C:\Program Files\PowerToys\modules\launcher\ControlzEx.dll)
  • PresentationFramework-SystemXml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\3.1.15\PresentationFramework-SystemXml.dll)
  • System.Diagnostics.StackTrace, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Diagnostics.StackTrace.dll)
  • PowerToysInterop, Version=0.43.0.0, Culture=neutral, PublicKeyToken=null (C:\Program Files\PowerToys\modules\launcher\PowerToysInterop.dll)
  • ManagedTelemetry, Version=0.43.0.0, Culture=neutral, PublicKeyToken=null (C:\Program Files\PowerToys\modules\launcher\ManagedTelemetry.dll)
  • System.Diagnostics.Tracing, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Diagnostics.Tracing.dll)
  • Wox.Infrastructure, Version=0.43.0.0, Culture=neutral, PublicKeyToken=null (C:\Program Files\PowerToys\modules\launcher\Wox.Infrastructure.dll)
  • PowerLauncher.Telemetry, Version=0.43.0.0, Culture=neutral, PublicKeyToken=null (C:\Program Files\PowerToys\modules\launcher\PowerLauncher.Telemetry.dll)
  • PresentationFramework-SystemData, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\3.1.15\PresentationFramework-SystemData.dll)
  • System.Runtime.Numerics, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Runtime.Numerics.dll)
  • System.Drawing.Primitives, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Drawing.Primitives.dll)
  • System.ComponentModel.EventBasedAsync, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.ComponentModel.EventBasedAsync.dll)
  • Microsoft.PowerToys.Settings.UI.Lib, Version=0.43.0.0, Culture=neutral, PublicKeyToken=null (C:\Program Files\PowerToys\modules\launcher\Microsoft.PowerToys.Settings.UI.Lib.dll)
  • System.Runtime.Serialization.Formatters, Version=4.0.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Runtime.Serialization.Formatters.dll)
  • System.Linq.Parallel, Version=4.0.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Linq.Parallel.dll)
  • Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed (C:\Program Files\PowerToys\modules\launcher\Newtonsoft.Json.dll)
  • System.Runtime.Serialization.Primitives, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Runtime.Serialization.Primitives.dll)
  • System.Reflection.Emit.ILGeneration, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Reflection.Emit.ILGeneration.dll)
  • System.Reflection.Primitives, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Reflection.Primitives.dll)
  • System.Reflection.Emit.Lightweight, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Reflection.Emit.Lightweight.dll)
  • Anonymously Hosted DynamicMethods Assembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null (dynamic assembly doesn't has location)
  • System.Drawing.Common, Version=4.0.2.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 (C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\3.1.15\System.Drawing.Common.dll)
  • System.Runtime.Loader, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Runtime.Loader.dll)
  • Microsoft.PowerToys.Run.Plugin.Calculator, Version=0.43.0.0, Culture=neutral, PublicKeyToken=null (C:\Program Files\PowerToys\modules\launcher\Plugins\Calculator\Microsoft.PowerToys.Run.Plugin.Calculator.dll)
  • Community.PowerToys.Run.Plugin.UnitConverter, Version=0.43.0.0, Culture=neutral, PublicKeyToken=null (C:\Program Files\PowerToys\modules\launcher\Plugins\Community.UnitConverter\Community.PowerToys.Run.Plugin.UnitConverter.dll)
  • UnitsNet, Version=4.0.0.0, Culture=neutral, PublicKeyToken=f8601875a1f041da (C:\Program Files\PowerToys\modules\launcher\UnitsNet.dll)
  • Microsoft.Plugin.Folder, Version=0.43.0.0, Culture=neutral, PublicKeyToken=null (C:\Program Files\PowerToys\modules\launcher\Plugins\Microsoft.Plugin.Folder\Microsoft.Plugin.Folder.dll)
  • System.Collections.Immutable, Version=1.2.5.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Collections.Immutable.dll)
  • Microsoft.Plugin.Indexer, Version=0.43.0.0, Culture=neutral, PublicKeyToken=null (C:\Program Files\PowerToys\modules\launcher\Plugins\Microsoft.Plugin.Indexer\Microsoft.Plugin.Indexer.dll)
  • Microsoft.Plugin.Program, Version=0.43.0.0, Culture=neutral, PublicKeyToken=null (C:\Program Files\PowerToys\modules\launcher\Plugins\Microsoft.Plugin.Program\Microsoft.Plugin.Program.dll)
  • Windows.ApplicationModel, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null, ContentType=WindowsRuntime (C:\WINDOWS\system32\WinMetadata\Windows.ApplicationModel.winmd)
  • System.Threading.Overlapped, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Threading.Overlapped.dll)
  • Microsoft.Plugin.Shell, Version=0.43.0.0, Culture=neutral, PublicKeyToken=null (C:\Program Files\PowerToys\modules\launcher\Plugins\Microsoft.Plugin.Shell\Microsoft.Plugin.Shell.dll)
  • Microsoft.Plugin.Uri, Version=0.43.0.0, Culture=neutral, PublicKeyToken=null (C:\Program Files\PowerToys\modules\launcher\Plugins\Microsoft.Plugin.Uri\Microsoft.Plugin.Uri.dll)
  • Microsoft.Plugin.WindowWalker, Version=0.43.0.0, Culture=neutral, PublicKeyToken=null (C:\Program Files\PowerToys\modules\launcher\Plugins\Microsoft.Plugin.WindowWalker\Microsoft.Plugin.WindowWalker.dll)
  • Microsoft.PowerToys.Run.Plugin.Registry, Version=0.43.0.0, Culture=neutral, PublicKeyToken=null (C:\Program Files\PowerToys\modules\launcher\Plugins\Microsoft.PowerToys.Run.Plugin.Registry\Microsoft.PowerToys.Run.Plugin.Registry.dll)
  • Microsoft.PowerToys.Run.Plugin.WindowsSettings, Version=0.43.0.0, Culture=neutral, PublicKeyToken=null (C:\Program Files\PowerToys\modules\launcher\Plugins\Microsoft.PowerToys.Run.Plugin.WindowsSettings\Microsoft.PowerToys.Run.Plugin.WindowsSettings.dll)
  • Microsoft.PowerToys.Run.Plugin.Service, Version=0.43.0.0, Culture=neutral, PublicKeyToken=null (C:\Program Files\PowerToys\modules\launcher\Plugins\Service\Microsoft.PowerToys.Run.Plugin.Service.dll)
  • System.ServiceProcess.ServiceController, Version=4.2.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\PowerToys\modules\launcher\System.ServiceProcess.ServiceController.dll)
  • Microsoft.PowerToys.Run.Plugin.System, Version=0.43.0.0, Culture=neutral, PublicKeyToken=null (C:\Program Files\PowerToys\modules\launcher\Plugins\System\Microsoft.PowerToys.Run.Plugin.System.dll)
  • Community.PowerToys.Run.Plugin.VSCodeWorkspaces, Version=0.43.0.0, Culture=neutral, PublicKeyToken=null (C:\Program Files\PowerToys\modules\launcher\Plugins\VSCodeWorkspace\Community.PowerToys.Run.Plugin.VSCodeWorkspaces.dll)
  • UIAutomationTypes, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\3.1.15\UIAutomationTypes.dll)
  • UIAutomationProvider, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\3.1.15\UIAutomationProvider.dll)
  • System.Buffers, Version=4.0.5.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Buffers.dll)
  • Microsoft.Xaml.Behaviors, Version=1.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\PowerToys\modules\launcher\Microsoft.Xaml.Behaviors.dll)
  • Microsoft.Toolkit.Uwp.Notifications, Version=6.1.0.0, Culture=neutral, PublicKeyToken=4aff67a105548ee2 (C:\Program Files\PowerToys\modules\launcher\Microsoft.Toolkit.Uwp.Notifications.dll)
  • System.Reflection.Metadata, Version=1.4.5.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.15\System.Reflection.Metadata.dll)

@jaimecbernardo
Copy link
Collaborator

This seems to be caused by not handling when we don't have access to register for sending notifications in PowerToys Run:

DesktopNotificationManagerCompat.RegisterAumidAndComServer<LauncherNotificationActivator>("PowerToysRun");

@jaimecbernardo
Copy link
Collaborator

@kiangchua ,
Does PowerToys still work after this error?

Can you please see if you have access to the mentioned registry key in the Registry Editor (regedit.msc)?
HKEY_CURRENT_USER\SOFTWARE\Classes\CLSID\{dd5cacda-7c2e-4997-a62a-04a597b58f76}\LocalServer32
Right-click and see permissions as well.

@jaimecbernardo jaimecbernardo added the Product-PowerToys Run Improved app launch PT Run (Win+R) Window label Aug 6, 2021
@dedavis6797 dedavis6797 changed the title Unknow bug [PT Run] System.UnauthorizedAccessException: Access to the registry key 'HKEY_CURRENT_USER\...\LocalServer32' is denied. Aug 6, 2021
@dedavis6797 dedavis6797 added Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Aug 6, 2021
@dedavis6797 dedavis6797 added this to the Stability Release milestone Aug 6, 2021
@kiangchua
Copy link
Author

kiangchua commented Aug 9, 2021 via email

@ghost ghost added Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Needs-Team-Response An issue author responded so the team needs to follow up and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Aug 9, 2021
@davidegiacometti
Copy link
Collaborator

Closing as a duplicate of #11216
With #12285 merged, Microsoft.Toolkit.Uwp.Notifications library will be removed.
Let's see if will fix this issue.

@davidegiacometti davidegiacometti added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Needs-Team-Response An issue author responded so the team needs to follow up labels Aug 9, 2021
@jaimecbernardo
Copy link
Collaborator

@kiangchua , which permissions did you have to change/add/inherit ? Thank you, in advance.

@kiangchua
Copy link
Author

@jaimecbernardo, at Computer\HKEY_CURRENT_USER\Software\Classes\CLSID{dd5cacda-7c2e-4997-a62a-04a597b58f76}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug Something isn't working Product-PowerToys Run Improved app launch PT Run (Win+R) Window Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

4 participants