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: How does consent.exe function in Win 7

03 Feb 2011   #1
vmanral

Win 7 Professional 32 bit
 
 
How does consent.exe function in Win 7

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 System SpecsSystem Spec
.
03 Feb 2011   #2
logicearth

Windows 10 Pro (x64)
 
 

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 System SpecsSystem Spec
03 Feb 2011   #3
vmanral

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?
My System SpecsSystem Spec
.

03 Feb 2011   #4
EzioAuditore

Winbdows 7 ultimate x64 | Ubuntu 12.04 x64 LTS
 
 

Quote   Quote: Originally Posted by vmanral View Post
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 System SpecsSystem Spec
04 Feb 2011   #5
vmanral

Win 7 Professional 32 bit
 
 

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 System SpecsSystem Spec
Reply

 How does consent.exe function in Win 7




Thread Tools




Similar help and support threads
Thread Forum
Update Happened w/o My Consent
Recently I had to do a sys restore and noticed that one of the 'points' was for a date that an update was installed. I have my system set for non-automatic, always ask before installing. Why/How could this happen? -thnx
Windows Updates & Activation
Something might be going on with Windows 7 UAC. (consent.exe)
My problem started about 2-3 months ago on my Gaming PC when i noticed that certain programs won't open. When i try running them nothing happens. After looking through my PC, i noticed in the task manager there was this process called "consent.exe" just sitting there. This would stop if i...
System Security
Consent.exe
There was another thread, from last year, that went like this: - I have 10 consent.exe in my task manager ( I think one extra comes up everytime i try to run an exe file ) - When I try to end the process (consent.exe) in task manager, It shows up with the message " THE OPERATION COULD NOT BE...
Performance & Maintenance
consent.exe -- suspect, not flagged by NIS or MBAM
My new i5 Win7 system was assembled in November 2011 and has been stable since then. Windows Security Essentials was installed and worked normally. It has two identical HDD in RAID 0 mirror volume (intel RST systray applet), cached onto 120 GB SSD using Intel Smart Response Technology (SRT) A...
System Security
Consent.exe popping up
I have comodo firewall installed and I have now received an alert for the second time wanting to grant access to 'consent.exe'. It seems consent.exe is related to UAC but when I opened the taskmgr and right clicked to go to file location it wouldn't open it. Usually it takes me to the exe location...
General Discussion
Consent.exe and exe problems
I regularly hibernate my Windows 7 Ultimate Laptop to increase my boot speed. All of a suddent, my .exe files won't open. .REG files wont open and other executable files (except .com) won't open. :( I normally use firefox but that wouldn't open up anymire, even my Microsoft Office 2010 setup...
System Security


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 19:32.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App