rem intro @echo off pushd "%~dp0" cls echo. echo :: Windows 10 Prep Script echo. echo Please review and be aware of what this script does before running it. echo There is no uninstaller, and backups won't be created. echo. rem check permissions net session >nul 2>&1 if %errorLevel% == 0 ( echo You won't be prompted any further. echo Press [enter] to begin. echo. set /p= ) else ( echo This script requires administrator rights. echo Press any key to exit pause >nul exit ) rem Process nul echo done nul echo done nul echo done nul echo done nul echo done nul echo done nul echo done nul echo done rem complete echo. echo :: Script complete echo. echo Restart whenever you fancy. echo Press [enter] to exit. echo. set /p= :eof exit