@echo off setlocal net session >nul 2>&1 if not "%errorlevel%"=="0" ( echo Requesting Administrator privileges... powershell.exe -NoProfile -Command "Start-Process -FilePath '%~f0' -Verb RunAs" exit /b ) echo ======================================== echo Running as Administrator echo ======================================== echo. powershell.exe -NoProfile -Command "irm christitus.com/win | iex" echo. echo Back in CMD. cmd /k