microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
108.4k stars 6.4k forks source link

Requested registry access is not allowed. #33769

Open duyphuc-it opened 1 month ago

duyphuc-it commented 1 month ago

Microsoft PowerToys version

0.82.0

Installation method

GitHub

Running as admin

Yes

Area(s) with issue?

General

Steps to reproduce

image

Version: 0.82.0.0 OS Version: Microsoft Windows NT 10.0.19045.0 IntPtr Length: 8 x64: True Date: 7/11/2024 8:27:27 AM Exception: System.Security.SecurityException: Requested registry access is not allowed. at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable) at Microsoft.Win32.Registry.GetValue(String keyName, String valueName, Object defaultValue) at Wpf.Ui.Appearance.SystemThemeManager.GetCurrentSystemTheme() at Wpf.Ui.Appearance.SystemThemeManager.UpdateSystemThemeCache() at Wpf.Ui.Appearance.ApplicationThemeManager.ApplySystemTheme(Boolean updateAccent) at Wpf.Ui.Appearance.SystemThemeWatcher.Watch(Window window, WindowBackdropType backdrop, Boolean updateAccents, Boolean forceBackgroundReplace) at PowerLauncher.MainWindow..ctor(PowerToysRunSettings settings, MainViewModel mainVM, CancellationToken nativeWaiterCancelToken) at PowerLauncher.App.<>c__DisplayClass19_0.b0() at Wox.Infrastructure.Stopwatch.Normal(String message, Action action) at PowerLauncher.App.OnStartup(Object sender, StartupEventArgs e) at System.Windows.Application.<.ctor>b1_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)

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

Other Software

No response

github-actions[bot] commented 1 month ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.