May 11, 2008
11:08 pm

This is the nice trick I found out this weekend to disable the User Access Control on Vista without making a system restart. Although I would never recommend disabling UAC, it’s a great security feature, but sometimes programmers might want to disable it otherwise Debugging becomes pain especially with WinDbg. 

The solution is to run the following command to add the appropriate key to the registry:

reg ADD HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 0 /f

It can be enabled again through:

reg ADD HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 2 /f

Note: The registry modification itself requires elevated privileges so you make sure to run these scripts by right clicking and choosing Run as Administrator.

Download

Microsoft, Windows Vista, Debugging, Registry, UAC

Related Posts:

2 Responses | RSS comments on this post | Leave a comment»

  1. 1
    DG says#2 | June 20th, 2008 at 4:22 am

    Thanks for the info, author has removed the post. But you can follow above noted steps to disable UAC.

    The attachment was a reg key only for people, who doesn’t want to go manual procedure.

  2. 2
    cmsix says#1 | June 19th, 2008 at 4:57 pm

    I have two arguments with this.

    One, UAC is for idiots only. It is nearly as useless as the Windows Firewall.

    Two, MickySoft has disabled the link to your download and claims the server can’t find it.

    cmsix

No trackback/pingback yet

TrackBack URI

Leave a Response

Comment Preview
« Scalable Adaptive Graphical Environment (SAGE) for WindowsStep-by-Step Guide for Testing Hyper-V and Failover Clustering »
Feed Icon

Subscribe via RSS or email: