Jun 032008
 

Microsoft’s advertising has stressed the new security features found in Windows Vista. From the user perspective, one such feature, User Access Control, is arguably the most noticeable enhancement. User access control is a mechanism by which users — even administrators — perform common Windows tasks with non-administrative rights, or as a standard user. Before administrative tasks can be performed, users must actively approve actions that could be potentially dangerous to the computer.

If you want to enable or disable UAC in vista using batch file

Enable UAC in Vista

You need to open the notepad enter the following lines

C:\Windows\System32\cmd.exe /k %windir%\System32\reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 1 /f

save this file as enableuac.bat

Disable UAC in Vista

You need to open the notepad enter the following lines

C:\Windows\System32\cmd.exe /k %windir%\System32\reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f

save this file as disableuac.bat

After creating aove two files right-click on one of them and choose Run as Administrator.

Incoming search terms:

  One Response to “Enable or disable UAC from a batch file in Vista”

  1. Says command completed but it doesnt turn off UAC :S

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>