02 September, 2010

Simple Script to disable UAC on vista/W7

Hi,


The prompt for approval is annoying? Try this simple script in batch...

(It will restart the PC and you must run it with administrator privileges)

=======================

@echo off

reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_dword /d 0 /f

if %errorlevel%==0 (goto restart)

echo Unable to set the registry key...

pause

goto end


:restart

shutdown -r -f -t 30 /c "UAC Disabled, Restarting..."

quit


:end

=======================


enjoy

No comments:

Post a Comment