Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Registry Key show UAC level?

03 Apr 2009   #1
Loki

Windows 7 Ultimate x64
 
 
Registry Key show UAC level?

Hi,

I'm looking for a registry key that shows what level UAC is set. I already know the key that shows if UAC is enabled.

Thanks


My System SpecsSystem Spec
.
03 Apr 2009   #2
Lordbob75

Windows 7 Ultimate x64, Mint 9
 
 

User Account Control - UAC - Change Notification Settings

I think that is what you are looking for.

~Lordbob
My System SpecsSystem Spec
03 Apr 2009   #3
Loki

Windows 7 Ultimate x64
 
 

Hi,

I'm looking for the Reg Key. I use BGInfo to post system info on the desktop and right now I have the key that tells if UAC is enabled but I'd like to show what level instead of just enabled\Disabled. The UAC settings in Control panel don't help with this.

Thanks
My System SpecsSystem Spec
.

03 Apr 2009   #4
Brink

64-bit Windows 10 Pro
 
 

Hi Loki,

You can look in the registry location:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

in the manual section of METHOD TWO in the tutorial below to see the values for the System key. You can change the option in the Control Panel and refresh the registry to see the different value for each setting.

User Account Control (UAC) - Elevate Privilege Level - Vista Forums

Hope this helps,
Shawn
My System SpecsSystem Spec
03 Apr 2009   #5
Loki

Windows 7 Ultimate x64
 
 

Hi Brink,

That is where I get the Enabled or Disabled from "EnableLUA" but that is a 0,1
I've looked at the other keys and it takes 3 keys to determine the level
"EnableLUA", "ConsentPromptBehaviorAdmin", and "PromptOnSecureDesktop"
So I'm trying to modify my script to output using those and was hoping maybe someone knew one key that had it in a 0,1,2,3.

My current script works and I show on the desktop either
UAC Status: "Disabled" or "Enabled"


ConsentPromptBehaviorAdmin = 0 Disabled, 5 lowest, 5 default, 2 highest

Unless I missed something.

Thanks
My System SpecsSystem Spec
03 Apr 2009   #6
Brink

64-bit Windows 10 Pro
 
 

See Method Two to compare notes to see if you have the same.

User Account Control - UAC - Change Notification Settings

Hope this helps.
My System SpecsSystem Spec
03 Apr 2009   #7
Loki

Windows 7 Ultimate x64
 
 

Hi Brink,

Thanks and those are the settings I got. My poor script writting is what has me at the moment because of the 2 reg keys the ConsentPromptBehaviorAdmin uses 5 for the middle 2 UAC and PromptOnSecureDesktop for the highest 2 so to get it to show the correct value I have to read both keys. I'm getting close and learning.

Good news is that I have a script that should work on Vista, bad news I don't have Vista

Thank you for your replies, it was your TUT on Vista that showed me how to do the script for Vista.
My System SpecsSystem Spec
03 Apr 2009   #8
Brink

64-bit Windows 10 Pro
 
 

You're welcome Loki. I happy to hear that you have got it all sorted.
My System SpecsSystem Spec
04 Apr 2009   #9
Loki

Windows 7 Ultimate x64
 
 

Hi,

I got the script working, if anyone else uses Sysinternals BGInfo and would like to know how to show the UAC level with BGInfo I'll post the script if allowed.

I posted the code in the sysinternals forum if you want that link I can post it.

Thanks for the help!
My System SpecsSystem Spec
04 Apr 2009   #10
johngalt

 

You're allowed - share away.
My System SpecsSystem Spec
Reply

 Registry Key show UAC level?




Thread Tools




Similar help and support threads
Thread Forum
Registry: can't control Desktop Background Slideshow in registry?
Just a rough test: 1. No slideshow on desktop; 2. Backup the registry file; 3. Turn on the slideshow (Desktop - Personalize - Desktop Background - Select All - Save Changes); 4. Run the backup registry file; The desktop starts with the original picture (the desktop wallpaper picture...
Customization
Registry problem after windows update and registry optimization tool
Hello sevenforum, I've already spend some time on this forum today but I can't find the solution to a particular registry problem I'm having. While windows was uploading some updates yesterday, I cleaned my registry using Iolo's system mechanic tool and that's where the problems started. (I...
Backup and Restore
Driver Sweeper can't delete all registry files in registry editor
http://i2.aijaa.com/b/00227/9175142.png So this is the situation: I've unistalled Amd Driver from Device Manager, Unistalled Catalyst software and ran Driver Sweeper. There is only 3 registeries that the Driver Sweeper CAN'T delete and these are under SYSTEM\ folder. I've tried to change user...
Drivers
Low system sound level, high music level?
Is there a chance do define two different audio levels? I guess I am not the only one listening to music with my computer - so I'd like to avoid awkward and looooud system sounds while turning up my stereo... is there a chance to do so? I know that apple has it, not sure bout win7... thx
Sound & Audio
show hidden folders show file extensions thru registry
I am trying to setup a default user or machine setup for how win7 handles folder view options. I want show hidden folders to be set to on for all users and the hide extensions for know file types to be unchecked or turned off ffor all users (so extensions show) I have located them in the registry...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 08:25.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App