Run as administrator fails

Moderators: Hacker, petermad, Stefan2, white

Post Reply
KiLa
Junior Member
Junior Member
Posts: 2
Joined: 2025-03-24, 10:34 UTC

Run as administrator fails

Post by *KiLa »

Hi, I'm using TC on my company laptop, and it looks like the Run as administrator doesn't seem to work in all situations.

I was trying to start Process Monitor (Procmon64.exe), from SysInternals, and I received 'lovely' message from our IT department, saying that this application has been blocked by your administrator. When I do the same via Windows File Explorer, application starts just fine.

If I first start TC as administrator, and then Process Monitor, it starts just fine.

This is the first time, to my knowledge, that TC behaves differently than Windows File Explorer.

I'm using TC 11.51 64bit on Windows 11.

-k
User avatar
Dalai
Power Member
Power Member
Posts: 9943
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Run as administrator fails

Post by *Dalai »

How did you (in TC) start Process Monitor as administrator?
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
KiLa
Junior Member
Junior Member
Posts: 2
Joined: 2025-03-24, 10:34 UTC

Re: Run as administrator fails

Post by *KiLa »

With right click and Run as Administrator

-k
User avatar
Dalai
Power Member
Power Member
Posts: 9943
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Run as administrator fails

Post by *Dalai »

OK. TC requests the context menu from the shell/system, it doesn't have influence on what the context menu items do. Do other programs run as administrator when launching them this way?
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Run as administrator fails

Post by *ghisler(Author) »

When you use the context menu, this is handled by Windows and not by Total Commander itself.

As an alternative launch method, you can try adding Process Monitor to the Total Commander button bar (with full path), and then put an asterisk at the start. Then Total Commander starts it with verb "RunAs", which would also open the program as administrator.
Author of Total Commander
https://www.ghisler.com
Post Reply