Open git-kirincat opened 1 year ago
Can you please restart the app elevated (as administrator). This should fix your problem.
/needinfo
PowerToys was running as admin when the 0.64.0 and 0.64.1 updates were applied, but apparently the File Locksmith app does not install/launch with those permissions when auto update is applied. So clearly there is an issue with the auto update. After a reboot things work properly, however no 'reboot needed' notice is given and File Locksmith did not inherit the correct start permissions when installed and initially launched.
Same issue here with something as simple as an archive opened in 7zip.
Tried to run locksmith as administrator from built-in button in locksmith UI. Also tried to restart powertoys as administrator then re-ran locksmith but no changes.
Seeing the same issue under Windows 10 Pro, version 22H2, OS build 19045.2728, PowerToys version 0.67.1
The problem file is:
C:\Users\%USERNAME%\AppData\Local\Microsoft\VisualStudio\15.0_c808f672\privateregistry.bin
The default profile settings (registry) file for Visual Studio 2017, which was just closed, in case it matters.
File Locksmith says no results. Pressing the the "Restart as administrator" button in the top right corner of the File Locksmith window makes no difference, still no results. The Windows delete "File In Use" error message says the file is open in "System".
Not sure if File Locksmith should detect system, but it should report that the file is in use. Maybe make the restart as administrator option a bit more obvious as well, when no results are found, if this is a common reason for no results.
Same behaviour in PowerToys 0.68.1, latest version at this time.
Microsoft PowerToys version
0.64.1
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
File Locksmith
Steps to reproduce
in the system temp find a file locked by Dropbox (might happen with other apps too) right click and choose the "Who's using this file?' option. The pop-up window lists the file name and says 'No Results'. If you try to delete the windows pop-up clearly states that the file is locked by Dropbox. If Windows can see the name, PowerToys should also be able to.
✔️ Expected Behavior
PowerToys should be able to see the application name if Windows 10 can identify it.
❌ Actual Behavior
'No Results' via PowerToys, while app is easily identified by Windows 10 in its error box.
Other Software
No response