Add Disable UAC to Window tweaks
This commit is contained in:
parent
a422e3d48d
commit
91b271910f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user