TechRepublic : A ZDNet Tech Community

Microsoft Windows

Host: Mark Kaelin
Contact

I go through phases on my Windows Vista machine where I am OK with using UAC and other times where I just want it to go away for a while. I compare it to staring at a computer screen for hours. It is nice to take a break and get a hot cup of coffee or grab a Tall mocha from Starbucks.

The command-line entries to enable and disable are the following:

  • Enable UAC:

    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
  • Disable UAC:

    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

I created the following two batch files available for download:

Follow these steps to enable or disable UAC. After downloading and extracting the two zip files, right-click on one of them and choose Run as Administrator. In this example I will enable UAC (Figure A).

Figure A. Enable UAC.

When you enable UAC, a reboot (Figure B) is required.

Figure B. Reboot your computer after enabling UAC.

Alternatively, you can accomplish the same task by typing User Accounts (Figure C) in the Instant Search field.

Figure C. Use Instant Search to enable UAC.

Next, select Turn User Account Control On or Off (Figure D) and then tick the checkbox to enable UAC.

Figure D. Turn UAC on or off from the UI.

Figure E. Use this checkbox to enable or disable UAC.

Print/View all Posts Comments on this blog

Vista is too complicated to disable the UAC popups bcarpent1228@... | 05/30/08
UAC Control Lost Cause? | 06/02/08
RE: How do I enable or disable UAC from a batch file? computab | 12/25/08
UAC working as envisioned CG IT | 12/25/08

What do you think?

White Papers, Webcasts, and Downloads

Recent Entries

TR on Twitter

Archives

TechRepublic Blogs



Quick Reference: Linux Commands
Reduce stress and speed up resolutions with the easiest command references right at your fingertips. You'll receive a PDF file covering Linux, packed with the most common commands you'll need and use daily.
Buy Now
Administrator's Guide to TCP/IP, Second Edition
Maintain your critical TCP/IP system and ensure reliable, safe remote access. Get the expert advice and solutions to handle Windows networking, Cisco routing, documentation, and troubleshooting.
Buy Now

SmartPlanet

Click Here