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.
Microsoft, Windows Vista, Debugging, Registry, UAC
2 Responses | RSS comments on this post | Leave a comment»
No trackback/pingback yet

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.
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