microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
111.74k stars 6.58k forks source link

Something went wrong #28294

Closed Nordek2023 closed 1 year ago

Nordek2023 commented 1 year ago

Microsoft PowerToys version

0.73.0.0

Installation method

GitHub

Running as admin

None

Area(s) with issue?

General, PowerToys Run

Steps to reproduce

Just uninstalled and reinstalled latest

✔️ Expected Behavior

For it to work

❌ Actual Behavior

Version: 0.73.0.0 OS Version: Microsoft Windows NT 10.0.22621.0 IntPtr Length: 8 x64: True Date: 02/09/2023 06:55:20 Exception: System.UnauthorizedAccessException: Access to the path 'C:\Users\bensc\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\PowerToysRunSettings_version.txt' 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, Nullable1 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.StoragePowerToysVersionInfo.Close() at Wox.Infrastructure.Storage.JsonStorage1.Save() at Wox.Infrastructure.Storage.JsonStorage1.LoadDefault() at Wox.Infrastructure.Storage.JsonStorage1.Load() at PowerLauncher.ViewModel.SettingWindowViewModel..ctor() 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)

Other Software

None

davidegiacometti commented 1 year ago

/dup #20251

microsoft-github-policy-service[bot] commented 1 year ago

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!