We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug I use this code to get administrator privilege
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" if "%errorlevel%" NEQ "0" ( echo: Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" echo: UAC.ShellExecute "%~s0", "", "", "runas", 1 >> "%temp%\getadmin.vbs" "%temp%\getadmin.vbs" & exit )
But the window pops up for about 3 seconds then disappears
The text was updated successfully, but these errors were encountered:
If you need fast help join the server https://discord.gg/qvkC6kHqer
Sorry, something went wrong.
Describe the bug I use this code to get administrator privilege >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" if "%errorlevel%" NEQ "0" ( echo: Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" echo: UAC.ShellExecute "%~s0", "", "", "runas", 1 >> "%temp%\getadmin.vbs" "%temp%\getadmin.vbs" & exit ) But the window pops up for about 3 seconds then disappears
Describe the bug
I use this code to get administrator privilege
I'll take a look. For the time being I recommend you using powershell runas command which I know works.
Also using powershell will allow you to not need to make a temp file
Alright, I will try it, thanks for you supporting
KingKDot
No branches or pull requests
Describe the bug
I use this code to get administrator privilege
But the window pops up for about 3 seconds then disappears
The text was updated successfully, but these errors were encountered: