Windows 7 Forums Search
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7 - Registry Key show UAC level?



 
04-03-2009   #1


Windows 7 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
04-03-2009   #2


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
04-03-2009   #3


Windows 7 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
.


04-03-2009   #4


Windows 7 Ultimate x64 SP1
 
 


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
04-03-2009   #5


Windows 7 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

Last edited by Brink; 04-03-2009 at 10:14 PM..
My System SpecsSystem Spec
04-03-2009   #6


Windows 7 Ultimate x64 SP1
 
 


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
04-03-2009   #7


Windows 7 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
04-03-2009   #8


Windows 7 Ultimate x64 SP1
 
 


You're welcome Loki. I happy to hear that you have got it all sorted.

Last edited by Brink; 04-04-2009 at 12:57 AM..
My System SpecsSystem Spec
04-04-2009   #9


Windows 7 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-04-2009   #10


Windows 7 Enterprise x64 SP1 | Windows 8 build 7989
 
 


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

Registry Key show UAC level? problems?



Thread Tools



Similar Threads for: Registry Key show UAC level?
Thread Forum
Changing when taskbar icons show and don't show. Customization
IE, security level? System Security
Low system sound level, high music level? Sound & Audio
show hidden folders show file extensions thru registry General Discussion
Level 10 Chillout Room


All times are GMT -5. The time now is 03:50 AM.



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
  

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