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


Windows 7 x64
 
 


This is the .vbs script that BGInfo will run to show what level UAC is set:

Set objShell = CreateObject("WScript.Shell")
iUACA = objShell.RegRead _
("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\ConsentPromptBehaviorAdmin")
iUACD = objShell.RegRead _
("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\PromptOnSecureDesktop")
iUAC = iUACD + iUACA
If iUAC = 0 Then
Echo "Never Notify"
ElseIf iUAC = 5 Then
Echo "Don't Dim Desktop"
ElseIf iUAC = 6 Then
Echo "Default Dim Desktop"
ElseIf iUAC = 3 Then
Echo "Always Notify"
Else
Echo "Unknown Level"
End If



My System SpecsSystem Spec
04-04-2009   #12


Windows 7 Ultimate x64 SP1
 
 


Thank you Loki.
My System SpecsSystem Spec
Reply

 Registry Key show UAC level? problems?



Thread Tools



Similar Threads for: Registry Key show UAC level?
Thread Forum
Cannot delete certain Registry Key; Cannot change Owner of Registry Ke General Discussion
Driver Sweeper can't delete all registry files in registry editor Drivers
HDDs Show in BIOS, But Do Not Show in Disk Management Hardware & Devices
Low system sound level, high music level? Sound & Audio
show hidden folders show file extensions thru registry General Discussion


All times are GMT -5. The time now is 03:34 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