Registry Key show UAC level?

Loki

New member
Pro User
Local time
2:11 PM
Messages
186
Location
West Palm Beach
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 :geek:
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
Windows 7 Ultimate x64
CPU
AMD A10-7850 Quad Core 3.7 GHz
Motherboard
MSI MS-7900
Memory
16 GB
Graphics Card(s)
MSI Radeon R7 250 OC Crossfired with A10 AMD Radeon R7
Monitor(s) Displays
Samsung SyncMaster XL2370HD, ViewSonic VA1912wb
Screen Resolution
1920*1080, 1440*900
Hard Drives
128 GB SSD
512 GB SSD
500 GB HDD
PSU
Corsair CX500
Case
Rosewill THOR V2 BLACK
Keyboard
Logitech G15
Mouse
CMSTORM MS2K
Internet Speed
ATT U-Verse
Antivirus
Microsoft Security Essentials, MalwareBytes
Browser
Firefox (lastest stable) with NoScript
Other Info
Just a humdrum little system.

My Computer My Computer

Computer Manufacturer/Model Number
Hera
OS
Windows 7 Ultimate x64, Mint 9
CPU
Intel i5-2500k
Motherboard
ASUS P8P67 Pro
Memory
2x 4Gb Corsair VENGEANCE DDR3-1600
Graphics Card(s)
NVidia GeForce N260GTX Twin Frozr
Sound Card
Realtek HD OnBoard Audio
Monitor(s) Displays
ASUS 24" Monitor
Screen Resolution
1920x1080
Hard Drives
G.SKILL Phoenix Series 60GB SATA II MLC Internal Solid State Drive (SSD)
SAMSUNG Spinpoint F3R 1TB 7200 RPM 32MB Cache SATA II
PSU
Cooler Master Real Power Pro 750W
Case
Cooler Master Haf 932
Cooling
Fans
Keyboard
Razer Tarantula
Mouse
Razer Lachesis
Internet Speed
not fast enough
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 Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
Windows 7 Ultimate x64
CPU
AMD A10-7850 Quad Core 3.7 GHz
Motherboard
MSI MS-7900
Memory
16 GB
Graphics Card(s)
MSI Radeon R7 250 OC Crossfired with A10 AMD Radeon R7
Monitor(s) Displays
Samsung SyncMaster XL2370HD, ViewSonic VA1912wb
Screen Resolution
1920*1080, 1440*900
Hard Drives
128 GB SSD
512 GB SSD
500 GB HDD
PSU
Corsair CX500
Case
Rosewill THOR V2 BLACK
Keyboard
Logitech G15
Mouse
CMSTORM MS2K
Internet Speed
ATT U-Verse
Antivirus
Microsoft Security Essentials, MalwareBytes
Browser
Firefox (lastest stable) with NoScript
Other Info
Just a humdrum little system.
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 Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
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 a moderator:

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
Windows 7 Ultimate x64
CPU
AMD A10-7850 Quad Core 3.7 GHz
Motherboard
MSI MS-7900
Memory
16 GB
Graphics Card(s)
MSI Radeon R7 250 OC Crossfired with A10 AMD Radeon R7
Monitor(s) Displays
Samsung SyncMaster XL2370HD, ViewSonic VA1912wb
Screen Resolution
1920*1080, 1440*900
Hard Drives
128 GB SSD
512 GB SSD
500 GB HDD
PSU
Corsair CX500
Case
Rosewill THOR V2 BLACK
Keyboard
Logitech G15
Mouse
CMSTORM MS2K
Internet Speed
ATT U-Verse
Antivirus
Microsoft Security Essentials, MalwareBytes
Browser
Firefox (lastest stable) with NoScript
Other Info
Just a humdrum little system.

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
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 :sarc:

Thank you for your replies, it was your TUT on Vista that showed me how to do the script for Vista.
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
Windows 7 Ultimate x64
CPU
AMD A10-7850 Quad Core 3.7 GHz
Motherboard
MSI MS-7900
Memory
16 GB
Graphics Card(s)
MSI Radeon R7 250 OC Crossfired with A10 AMD Radeon R7
Monitor(s) Displays
Samsung SyncMaster XL2370HD, ViewSonic VA1912wb
Screen Resolution
1920*1080, 1440*900
Hard Drives
128 GB SSD
512 GB SSD
500 GB HDD
PSU
Corsair CX500
Case
Rosewill THOR V2 BLACK
Keyboard
Logitech G15
Mouse
CMSTORM MS2K
Internet Speed
ATT U-Verse
Antivirus
Microsoft Security Essentials, MalwareBytes
Browser
Firefox (lastest stable) with NoScript
Other Info
Just a humdrum little system.
You're welcome Loki. I happy to hear that you have got it all sorted. :)
 
Last edited:

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
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! :p
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
Windows 7 Ultimate x64
CPU
AMD A10-7850 Quad Core 3.7 GHz
Motherboard
MSI MS-7900
Memory
16 GB
Graphics Card(s)
MSI Radeon R7 250 OC Crossfired with A10 AMD Radeon R7
Monitor(s) Displays
Samsung SyncMaster XL2370HD, ViewSonic VA1912wb
Screen Resolution
1920*1080, 1440*900
Hard Drives
128 GB SSD
512 GB SSD
500 GB HDD
PSU
Corsair CX500
Case
Rosewill THOR V2 BLACK
Keyboard
Logitech G15
Mouse
CMSTORM MS2K
Internet Speed
ATT U-Verse
Antivirus
Microsoft Security Essentials, MalwareBytes
Browser
Firefox (lastest stable) with NoScript
Other Info
Just a humdrum little system.
You're allowed - share away.
 

My Computers My Computers

System One System Two

  • Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    The Beast Model A (homebrew)
    OS
    Windows 11 21H2 Current build
    CPU
    AMD Ryzen 9 3950X
    Motherboard
    MSI MEG X570 GODLIKE
    Memory
    4 * 32 GB - Corsair Vengeance 3600 MHz
    Graphics Card(s)
    EVGA GeForce RTX 3080 Ti XC3 ULTRA GAMING (12G-P5-3955-KR)
    Sound Card
    Realtek® ALC1220 Codec
    Monitor(s) Displays
    2x Eve Spectrum ES07D03 4K Gaming Monitor (Matte) | Eve Spec
    Screen Resolution
    3x 3840 x 2160
    Hard Drives
    3x Samsung 980 Pro NVMe PCIe 4 M.2 2 TB SSD (MZ-V8P2T0B/AM) } 3x Sabrent Rocket NVMe 4.0 1 TB SSD
    PSU
    PC Power & Cooling’s Silencer Series 1050 Watt, 80 Plus Plat
    Case
    Fractal Design Define 7 XL Dark ATX Full Tower Case
    Cooling
    SteelSeries Apex Pro Wired Gaming Keyboard
    Keyboard
    SteelSeries Apex Pro
    Mouse
    Logitech MX Master 3S | MX Master 3 for business
    Internet Speed
    AT&T LightSpeed Gigabit Duplex Ftth
    Antivirus
    Windows Defender + MB 3
    Browser
    Nightly (default) + Firefox (stable),Chrome, Edge
  • Computer type
    PC/Desktop
    System Manufacturer/Model Number
    Dell Latitude E5470
    OS
    ChromeOS Flex Dev Channel (current)
    CPU
    Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 2501 Mhz, 2 Core(s), 4 Logical Processor(s)
    Motherboard
    Dell
    Memory
    16 GB
    Graphics Card(s)
    Intel(R) HD Graphics 520
    Sound Card
    Intel(R) HD Graphics 520 + RealTek Audio
    Monitor(s) Displays
    Dell laptop display 15"
    Screen Resolution
    1920 * 1080
    Hard Drives
    Toshiba 128GB M.2 22300 drive
    INTEL Cherryville 520 Series SSDSC2CW180A 180 GB SATA III SSD
    PSU
    Dell
    Case
    Dell
    Cooling
    Dell
    Keyboard
    Dell
    Mouse
    Logitech MX Master 3S (shared w. Sys 1) | Dell TouchPad
    Internet Speed
    AT&T LightSpeed Gigabit Duplex Ftth
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

:geek:
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
Windows 7 Ultimate x64
CPU
AMD A10-7850 Quad Core 3.7 GHz
Motherboard
MSI MS-7900
Memory
16 GB
Graphics Card(s)
MSI Radeon R7 250 OC Crossfired with A10 AMD Radeon R7
Monitor(s) Displays
Samsung SyncMaster XL2370HD, ViewSonic VA1912wb
Screen Resolution
1920*1080, 1440*900
Hard Drives
128 GB SSD
512 GB SSD
500 GB HDD
PSU
Corsair CX500
Case
Rosewill THOR V2 BLACK
Keyboard
Logitech G15
Mouse
CMSTORM MS2K
Internet Speed
ATT U-Verse
Antivirus
Microsoft Security Essentials, MalwareBytes
Browser
Firefox (lastest stable) with NoScript
Other Info
Just a humdrum little system.
Thank you Loki. :)
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Back
Top