diff --git a/windows11.bat b/windows11.bat index d94ce55..d198d76 100644 --- a/windows11.bat +++ b/windows11.bat @@ -35,7 +35,7 @@ fltmc >NUL 2>&1 || ( PowerShell -Command "Stop-Process -Name Spotify -ErrorAction SilentlyContinue" :: Start as administrator - PowerShell Start -Verb RunAs '%0' 2>NUL || ( + PowerShell Start -Verb RunAs "%0 noskipadmin" 2>NUL || ( EXIT 1 ) EXIT 0 @@ -44,6 +44,8 @@ fltmc >NUL 2>&1 || ( :: => ADMIN RIGHTS <= +IF NOT "%1"=="noskipadmin" EXIT 0 + :: === Registery modifications == ECHO Registery entries... :: Right click of Windows 10