View Single Post
Old 02-12-2007   #2 (permalink)
Jesper


 
 

RE: HowTo programmatically detect if UAC is enabled or disabled?

I am unable to find an API to do this. However, checking the value of this
key works:
Hive: HKLM
Key: SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
Value: EnableLUA
Type: REG_DWORD
Data: 1 (Default, enabled)
0 (Disabled)

"Nick Rivers" wrote:

> Hi!
>
> I need to know programmatically exactly if UAC is enabled or disabled.
>
> Thanks
> -Nick
>
>
>

My System SpecsSystem Spec