New
#11
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