Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Security > HowTo programmatically detect if UAC is enabled or disabled?

Reply
Thread Tools Display Modes

HowTo programmatically detect if UAC is enabled or disabled?

 
 
Nick Rivers
Guest
Posts: n/a

 
      02-12-2007
Hi!

I need to know programmatically exactly if UAC is enabled or disabled.

Thanks
-Nick


 
Reply With Quote
 
 
 
 
Jesper
Guest
Posts: n/a

 
      02-12-2007
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
>
>
>

 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
programmatically updating vb6 application JTL Windows Vista File Management 0 05-07-2008 08:43 AM
changing registry permission programmatically Sascha Jazbec Windows Vista General Discussion 3 02-18-2008 03:26 PM
UAC slowing down startup both enabled and disabled... Gnopps Windows Vista Performance 0 07-10-2007 11:56 AM
Full Control to Users programmatically vovan Windows Vista Networking 55 05-25-2007 07:54 PM
Detect 3GB switch programmatically scorpneo@gmail.com Windows Vista General Discussion 0 05-23-2007 03:29 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59