From 91b271910f6cc482c2b931f6e150e6ae55e4d4f9 Mon Sep 17 00:00:00 2001 From: Johan Date: Mon, 17 Feb 2025 10:11:27 +0100 Subject: [PATCH] Add Disable UAC to Window tweaks --- Windows/PostInstall/Windows-Tweaks.bat | 7 +++++++ 1 file changed, 7 insertions(+) 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