Solved How Does UAC Decide Which Programs To Run As Administrator

bej

New member
Being prompted by UAC for an administrator password for a program like
CoreTemp/64 seems silly since it just monitors Mobo sensors.
Any ideas ?
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home Built
OS
Windows 7 Home Pro SP1 64bit
CPU
Intel Xeon E-3 1240v2
Motherboard
HP
Memory
8GB
Graphics Card(s)
NVIDIA 300
Sound Card
Onboard
Monitor(s) Displays
Hanns G 25"
Screen Resolution
1920x1080
Hard Drives
Hitachi 2GB
PSU
Seasonic 430W
Case
Antec
Cooling
Stock
Keyboard
Logitech
Mouse
Logitech
Internet Speed
5MB
Hello Bej,

That's really up to the program developer, and if he or she has the program to run elevated or not when opened. If not, then no UAC prompt. If so, then you get a UAC prompt.
 

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
Thank you for the answer and your time.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home Built
OS
Windows 7 Home Pro SP1 64bit
CPU
Intel Xeon E-3 1240v2
Motherboard
HP
Memory
8GB
Graphics Card(s)
NVIDIA 300
Sound Card
Onboard
Monitor(s) Displays
Hanns G 25"
Screen Resolution
1920x1080
Hard Drives
Hitachi 2GB
PSU
Seasonic 430W
Case
Antec
Cooling
Stock
Keyboard
Logitech
Mouse
Logitech
Internet Speed
5MB
You're most welcome. :)
 

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
UAC doesn't decides what to elevate and what don't, it's up to the program to mark itself as "admin-only", and that mark is put only by the program developer as Brinks says.
When you try to run one of such programs, Windows ask for elevation, but it's after it looks if the particular program requires it.
The other way to elevate is by explicitly asking to elevate (which is done by right click => run as administrator) to run anything as admin.

Now, monitoring system sensors is not so silly as you may think. To access hardware, Windows needs to access low level devices and that is reserved to admins only (because if it was not, anyone would be able to tamper with the hardware). For reading system sensors, it's logical to require administrator rights, otherwise the program would get an error. Don't worry, it's a legitimate need most likely.
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba Sattelite A665-S6092
OS
Windows 7 Ultimate x64
CPU
Intel Core i7-740QM
Memory
8 GB DDR3
Graphics Card(s)
NVIDIA GeForce 330GT
Screen Resolution
1366x768
Hard Drives
Samsung 840 SSD 500GB
1TB USB3 external HD
Cooling
Coolermaster Notepal U3 notebook cooling pad
Internet Speed
3mbps ASDL
Antivirus
ClamWin 0.98.7
Browser
Opera 12.17 x86 (main), Firefox 38 (sec), IE11 (last resort)
It depends on what hardware and what level of access. For example, you do not need elevation for accessing GPU acceleration, but you would for say changing fan speeds manually. I did manage to at one point using a function from the Win32 API get very detailed hardware info which did not need such elevation.
 

My Computer

Computer Manufacturer/Model Number
iBuyPower Chimera X58
OS
Windows 8 Pro x64
CPU
Intel Core i7 920
Motherboard
Asus P6T Deluxe V2
Memory
12GB (2GB x6) Triple Channel DDR3 1333 MHz
Graphics Card(s)
ATI Radeon HD 4870 X2 2GB GDDR5
Sound Card
Integrated Digital HD 7.1 Surround Sound
Monitor(s) Displays
24.6-inch ASUS VW246H 20000:1 Contrast, 2 ms response time,
Screen Resolution
1920x1080
Hard Drives
1 TB 7200 RPM SATA II 3 GBps 16MB cache
PSU
NZXT 800W Gaming Series
Case
Guardian Inferno (Custom Painted NZXT Guardian 921)
Cooling
Thermaltake V1 Fan Cooling System OC Proof
Keyboard
Razer Lycosa
Mouse
iBuyPower Ergonomical Internet Mouse
Internet Speed
11 MBps High-speed Cable
Back
Top