![]() ![]() Set PATH=%PATH% %ALLUSERSPROFILE%\chocolatey\binĬhoco feature enable -n allowGlobalConfirmation Powershell -NoProfile -ExecutionPolicy Bypass -Command "::SecurityProtocol = ::SecurityProtocol -bor 3072 iex ((New-Object ).DownloadString(' '))" ![]() REM -> If error flag set, we do not have admin.Įcho Requesting administrative privileges.Įcho Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"Įcho UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 > "%temp%\getadmin.vbs" >nul 2>
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |