Total Commander requesting Administrative elevation upon start

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
BlueBorder
Junior Member
Junior Member
Posts: 4
Joined: 2020-09-30, 20:20 UTC

Total Commander requesting Administrative elevation upon start

Post by *BlueBorder »

Hello,

I use Total Commander 9.21a on a company PC.

I have admin rights on the PC.

Our IT department has set up the PC so that a message is shown whenever an application requests Administrative elevation.

So, whenever I start Total Commander, I am informed that "This application is requesting Administrative elevation".

Is there any way how to configure Total Commander to NOT request Administrative elevation upon Total Commander start? Thanks.

Kind regards

BlueBorder
User avatar
Stefan2
Power Member
Power Member
Posts: 4159
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Total Commander requesting Administrative elevation upon start

Post by *Stefan2 »

Hi and welcome.

It seams you're starting TC from a link where "run as admin" is checked?

Or from an another tool which runs already with administrator rights?
Otherwise TC don't request that elevated rights on its own, only if user wants him to.




 
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3864
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Re: Total Commander requesting Administrative elevation upon start

Post by *sqa_wizard »

By default Total Commander does NOT request Administrative elevation.

How do you start Total Commander?

Do you use an icon on the desktop or an entry at the start menu?
Just open the properties of such item using its context menu.
1. Enable tab "Compatibility" and verify that option "Run as administrator" is disabled (unchecked)
2. Enable tab "Shortcut", click on button "Advanced" and verify that option "Run as administrator" is disabled too.
#5767 Personal license
gdpr deleted 6
Power Member
Power Member
Posts: 872
Joined: 2013-09-04, 14:07 UTC

Re: Total Commander requesting Administrative elevation upon start

Post by *gdpr deleted 6 »

Additionally to a shortcut or a 3rd-party launcher being configured to launch TC elevated, there is also a registry setting that could force TC to start as admin. Check the following registry keys

Code: Select all

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
and

Code: Select all

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
whether they contain an entry for TC (which should appear as the full path to the TC executable) with a value "~ RUNASADMIN".
If there is such an entry in either or both registry keys, remove it to avoid running TC always elevated.
BlueBorder
Junior Member
Junior Member
Posts: 4
Joined: 2020-09-30, 20:20 UTC

Re: Total Commander requesting Administrative elevation upon start

Post by *BlueBorder »

I do not have such TC link where "run as admin" is checked.

Neither I run TC from another too which runs already with administrator rights.

I have installed TC in %USERPROFILE%\programs\totalcmd.

I get "This application is requesting Administrative elevation" even if I start %USERPROFILE%\programs\totalcmd\totalcmd64.exe in "Command prompt" started using right click on the Start button of Windows 10.


Furthermore, total commander is listed in neither in HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers nor in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers.

ADD: It is the same also when I run TC from Start menu or from icon on Desktop.

ADD2: Properties of TC64 in Desktop do NOT have either of the following checked:
1. Enable tab "Compatibility" and verify that option "Run as administrator" is disabled (unchecked)
2. Enable tab "Shortcut", click on button "Advanced" and verify that option "Run as administrator" is disabled too.
gdpr deleted 6
Power Member
Power Member
Posts: 872
Joined: 2013-09-04, 14:07 UTC

Re: Total Commander requesting Administrative elevation upon start

Post by *gdpr deleted 6 »

Well, i guess you will have to talk to your IT guys about what exactly they did with the machine. Afaik, TC itself does not request privilege elevation on startup.
BlueBorder
Junior Member
Junior Member
Posts: 4
Joined: 2020-09-30, 20:20 UTC

Re: Total Commander requesting Administrative elevation upon start

Post by *BlueBorder »

Maybe "This application is requesting Administrative elevation" is not entirely accurate.

Is it possible that TC during start indicates to the system that TC might need the elevation in future TC running? E.g. something in TOTALCMD64.EXE.MANIFEST ?

If so, is it possible to switch this indication off?
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3864
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Re: Total Commander requesting Administrative elevation upon start

Post by *sqa_wizard »

The original reads:

Code: Select all

      <requestedPrivileges>
        <requestedExecutionLevel
          level="asInvoker"
What is written at yours?
#5767 Personal license
BlueBorder
Junior Member
Junior Member
Posts: 4
Joined: 2020-09-30, 20:20 UTC

Re: Total Commander requesting Administrative elevation upon start

Post by *BlueBorder »

<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel
level="asInvoker"
uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
Post Reply