diff --git a/Windows/PostInstall/Windows-Tweaks.bat b/Windows/PostInstall/Windows-Tweaks.bat index 23be67a..e20728a 100644 --- a/Windows/PostInstall/Windows-Tweaks.bat +++ b/Windows/PostInstall/Windows-Tweaks.bat @@ -75,6 +75,13 @@ if %ERRORLEVEL% EQU 1 ( taskkill /F /IM explorer.exe & start explorer ) +choice /C yn /M "Disable UAC?" +if %ERRORLEVEL% EQU 1 ( + echo Disabling UAC. + REG ADD HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\policies\system /v EnableLUA /t REG_DWORD /d 0 /F >nul 2>&1 + echo You must restart the computer before changes are in effect. +) + echo. echo All done! popd