Add Disable UAC to Window tweaks

This commit is contained in:
Johan 2025-02-17 10:11:27 +01:00
parent a422e3d48d
commit 91b271910f

View File

@ -75,6 +75,13 @@ if %ERRORLEVEL% EQU 1 (
taskkill /F /IM explorer.exe & start explorer 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.
echo All done! echo All done!
popd popd