microsoftfeedback / WinDbg-Feedback

Public issue and feedback tracking for WinDbg Preview.
Creative Commons Attribution 4.0 International
47 stars 12 forks source link

WinDbg Preview opens only by system #60

Open eranzim opened 3 years ago

eranzim commented 3 years ago

Hi!

I installed WinDbg Preview from the Microsoft Store, but it doesn't work, unless I run it as system from an admin cmd, using: psexec -s -d -i "C:\Program Files\WindowsApps\Microsoft.WinDbg_1.2007.6001.0_neutral__8wekyb3d8bbwe\DbgX.Shell.exe"

Running Windows 10 x64 2004, build 19041.685. Tried to install WinDbg Preview from microsoft store. It installs, but won't run. OS and Windows store both fully updated. Restart OS didn't solve it, neither did repairing, resetting or reinstalling WinDbg Preview. Tried running it normally (from start menu) - didn't start, no symptoms. Tried running it as admin (from start menu) - got 2 UAC prompts which I approved and then an error chime, no other symptoms. Tried running it from microsoft store (launch button) - got a message box with this title: C:\Program Files\WindowsApps\Microsoft.WinDbg_1.2007.6001.0_neutral__8wekyb3d8bbwe\DbgX.Shell.exe, and this content: Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item.. Tried running it from admin cmd (windbgx) - got Access is denied.. Tried running dbgx.shell.exe from admin cmd - same error. From system cmd (using psexec and then windbgx) - got 'windbgx' is not recognized as an internal or external command, operable program or batch file.. Recording with procmon, I saw the process (DbgX.Shell.exe) starts, and the only failure is for finding C:\Program Files\WindowsApps\Microsoft.WinDbg_1.2007.6001.0_neutral__8wekyb3d8bbwe\AUTORUN.INF. I tried creating an empty AUTORUN.INF in that folder - but got access denied however I tried (even with system cmd, and even when icacls shows I should have access, as far as I understand its output). Couldn't find a solution on google.

I finally managed to run it, but only from a system cmd (admin cmd not enough), using dbgx.shell.exe from the installation folder. Surely there is a simpler way?

Thanks!!

korzynski commented 3 years ago

try installing a copy of the app while logged in as the admin. After this, you should be able to run the user-installed copy as admin

stkb commented 1 year ago

Getting the same error. Weirdly, after installing Windbg Preview from the MS Store, I can run it exactly once. Any attempts to run it after this result in the error.