How does consent.exe function in Win 7

vmanral

New member
Local time
1:41 PM
Messages
3
Hi,

I noticed that on Win 7 a process called consent.exe runs when i try to install any application. From the consent.exe description i understood that it is the consent UI for administrative apps and i believe it is related to the UAC since when UAC is disabled, this process does not run. Does anyone know what this exe exactly do in the background? I mean what checks does it perform? Does it connect to the internet to validate something?
I have a 1.8 GB setup and it takes almost 2 mins for it to reach the UAC screen when i start installing it.

Thanks,

Vijay
 

My Computer

OS
Win 7 Professional 32 bit
You cannot disable UAC you only set it up to do its work behind the scenes without issuing a dialog to you. It still needs to switch your security tokens when you do an administrative task. The only difference it does not ask for permission or confirmation.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Alienware Aurora ALX R4
OS
Windows 10 Pro (x64)
CPU
Intel Core i7-3930K (3.2GHz - 4.5GHz)
Motherboard
Alienware Aurora-R4 x79
Memory
4x Samsung 4GB PC3-12800 DDR3 (16GB 1600MHz)
Graphics Card(s)
Nvidia Geforce GTX 690
Sound Card
SteelSeries Siberia Elite
Monitor(s) Displays
Dell UltraSharp U3011
Screen Resolution
2560x1600
Hard Drives
Samsung 850 Pro 256 GB, Seagate 1TB Desktop Hybrid HDD, 2x Western Digital 4TB Green HDD
PSU
875W Some Dell PSU <.<
Case
Alienware Aurora ALX
Cooling
Custom Liquid Cooling (EK CPU & GPU blocks) dual EK 480RAD
Keyboard
Logitech G710+ Mechanical
Mouse
Logitech G700s
Internet Speed
Verizon Fios (50 mbps average)
Other Info
Server: Intel NUC D54250WYK: i5-4250U, 16GB, 256 GB mSATA, Windows Server 2012 R2
Does this mean, in a UAC enabled scenario, the switching of the security token from Protected Administrator to Elevated Administrator consume a lot of time for bigger setups?
The 1.8 GB setup i am referring to is a self extracting EXE and it basically starts extraction only after a consent is given in the UAC consent UI. But the time to reach the consent UI dialog is about 2 mins in Win 7 but in Win XP or with UAC disabled in Win 7, the extration starts immediately.
Also the time to reach the UAC consent UI for smaller setups (200-300 MB) is much less. So it appears that the time to switch the security token is directly proportional to the size of the setup.
Is my understanding correct?
 

My Computer

OS
Win 7 Professional 32 bit
Does this mean, in a UAC enabled scenario, the switching of the security token from Protected Administrator to Elevated Administrator consume a lot of time for bigger setups?
The 1.8 GB setup i am referring to is a self extracting EXE and it basically starts extraction only after a consent is given in the UAC consent UI. But the time to reach the consent UI dialog is about 2 mins in Win 7 but in Win XP or with UAC disabled in Win 7, the extration starts immediately.
Also the time to reach the UAC consent UI for smaller setups (200-300 MB) is much less. So it appears that the time to switch the security token is directly proportional to the size of the setup.
Is my understanding correct?

Well, it seems so. I don't have any that large sfx/setup so can't say much. Does it make any difference if you choose the 3rd UAC option i.e. not to dim the screen, only display the prompt?
In my case this option does make the UAC appear a little faster.
 

My Computer

Computer Manufacturer/Model Number
HCL
OS
Winbdows 7 ultimate x64 | Ubuntu 12.04 x64 LTS
CPU
Core 2 Duo e7400 @ 2.90GHz
Motherboard
Gigabyte G31M-ES2L
Memory
3GB DDR2
Graphics Card(s)
Asus Nvidia GTX 560Ti 1GB
Sound Card
On-board
Monitor(s) Displays
HCL eZeeBee 18.5" LCD
Screen Resolution
1366x768 @ 60Hz
Hard Drives
Western Digital 320GB
PSU
Corsair CX500 V2 500W
Cooling
Stock
Keyboard
Stock
Mouse
Stock
Internet Speed
15-25kBps D/L | 10kBps U/L | Hey Don't laugh
The UAC option to not to dim the screen does not help.

Another data point is that if i digitally sign this setup, the time to reach the UAC consent UI is almost half.

After reading various articles i understood that the UAC tries to determine whether the setup requires elevated (Administrative) privileges or not and then opens the UAC Consent UI dialog. During this process it also reads the embedded application manifest file to determine the execution level of the application. And it also determines whether the setup is signed or not. Probably these steps to read a huge setup are leading to the increased time for the consent UI.

Could someone share any more information on this topic?
 

My Computer

OS
Win 7 Professional 32 bit
Back
Top