You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you run winutil.ps1 as non-administrator, it will say Winutil needs to be run as Administrator. Attempting to relaunch..
It reopens winutil as Administrator, but with this error:
what happens if you launch winutil using recommended oneliner method?
PS C:\Users\filip> irm "https://christitus.com/win" | iex
Winutil needs to be run as Administrator. Attempting to relaunch.
Start-Process:
Line |
68 | Start-Process $processCmd -ArgumentList "$powershellcmd -Executio …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| This command cannot be run due to the error: An error occurred trying to start process 'C:\Users\filip\AppData\Local\Microsoft\WindowsApps\wt.exe' with working directory 'C:\Users\filip'. Parameter is incorrect.
By the way, it works normally when I launch it from powershell as administrator (both recomended and offline method), so there is something wrong with that Attempting to relaunch. thing.
Describe the bug
When you run winutil.ps1 as non-administrator, it will say
Winutil needs to be run as Administrator. Attempting to relaunch.
.It reopens winutil as Administrator, but with this error:
Steps to reproduce
Expected behavior
It should just open winutil as admin.
Screenshots
Additional context
Issue validation
The text was updated successfully, but these errors were encountered: