Closed williecochran closed 1 year ago
/dup #14840
Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Microsoft PowerToys version
0.73.0
Installation method
Microsoft Store
Running as admin
Yes
Area(s) with issue?
General
Steps to reproduce
Version: 0.73.0.0 OS Version: Microsoft Windows NT 10.0.23536.0 IntPtr Length: 8 x64: True Date: 9/8/2023 5:36:57 PM Exception: System.UnauthorizedAccessException: Access to the path 'C:\Users\willi\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\Plugins\Microsoft.Plugin.Shell\ShellPluginSettings.json' is denied. at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options) at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullableb0()
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)
1 unixCreateMode) at System.IO.File.OpenHandle(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize) at System.IO.File.WriteToFile(String path, FileMode mode, String contents, Encoding encoding) at System.IO.Abstractions.FileWrapper.WriteAllText(String path, String contents) at Wox.Infrastructure.Storage.JsonStorage
1.Save() at Microsoft.Plugin.Shell.Main.Save() at Microsoft.Plugin.Shell.Main.UpdateSettings(PowerLauncherPluginSettings settings) at Wox.Plugin.PluginPair.Update(PowerLauncherPluginSettings setting, IPublicAPI api) at PowerLauncher.SettingsReader.ReadSettings() at PowerLauncher.App.<>c__DisplayClass19_0.✔️ Expected Behavior
opened it
❌ Actual Behavior
Version: 0.73.0.0 OS Version: Microsoft Windows NT 10.0.23536.0 IntPtr Length: 8 x64: True Date: 9/8/2023 5:36:57 PM Exception: System.UnauthorizedAccessException: Access to the path 'C:\Users\willi\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\Plugins\Microsoft.Plugin.Shell\ShellPluginSettings.json' is denied. at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options) at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullableb0()
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)
1 unixCreateMode) at System.IO.File.OpenHandle(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize) at System.IO.File.WriteToFile(String path, FileMode mode, String contents, Encoding encoding) at System.IO.Abstractions.FileWrapper.WriteAllText(String path, String contents) at Wox.Infrastructure.Storage.JsonStorage
1.Save() at Microsoft.Plugin.Shell.Main.Save() at Microsoft.Plugin.Shell.Main.UpdateSettings(PowerLauncherPluginSettings settings) at Wox.Plugin.PluginPair.Update(PowerLauncherPluginSettings setting, IPublicAPI api) at PowerLauncher.SettingsReader.ReadSettings() at PowerLauncher.App.<>c__DisplayClass19_0.Other Software
No response