WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Vista

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Check if UAC is Enabled

 Keywords: User Account Control 

How to programmatically detect if UAC is enabled or disabled? Use RegQueryValue to check the value of the following registry key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System[EnableLUA]

ValueMeaning
0UAC is Disabled
1UAC is Enabled


Article ID:   W17288
File Created: 2007:07:03:14:29:24
Last Updated: 2007:07:03:14:29:24