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?

04 Apr 2009   #11
Loki

Windows 7 Ultimate 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 Apr 2009   #12
Brink

64-bit Windows 10 Pro
 
 

Thank you Loki.
My System SpecsSystem Spec
Reply

 Registry Key show UAC level?




Thread Tools




Similar help and support threads
Thread Forum
What is the registry of Show Stop/Refresh Buttons Before Address Bar ?
Hi I know how to do this manually reference to https://www.sevenforums.com/tutorials/112227-internet-explorer-move-stop-refresh-buttons.html Does anyone know the exact registry key so I can import it during unattended installation windows 7 ? Thanks
Browsers & Mail
Need a Little App or Registry Entry file to show or hide Hidden files
hello, sir i need a little help from you. i want to using registry entry who can show or hide Hidden files, folder, or drives with "Hide Protected operating system files (Recommended) thanx
General Discussion
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 00:00.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App