As an aside - If you are a computer administrator, and you still want to keep UAC for standard users, there’s an easy way to turn it off for administrators only.
Just open Local Security Policy from Administrative Tools in the Control Panel.
Then go to Local Policies > Security Options.
Scroll all the way down and find where it says something like: USER ACCOUNT CONTROL: Behavior of elevation prompt for administrators in Admin. Approval Mode;
Double-click it and then click the drop down list and change it to “elevate without prompting.”
UAC should no longer annoy administrators.
there's a way to script it, but it requires a reboot....i have to go digging if i'm going to find it. it's a regkey toggle i researched a while back. – RobotHumans – 14 years ago
Are you just using this code for personal use? Any application that goes around making changes to UAC settings is not going to make users happy. I would never install an application that makes changes to my UAC status unless I specifically told it to. – nhinkle – 14 years ago
@nhinkle Yeah, I use it for my own, in debugging task only. – Nam G VU – 14 years ago