Start total commander overriding UAC

English support forum

Moderators: sheep, Hacker, Stefan2, white

Post Reply
twom
New Member
New Member
Posts: 1
Joined: 2019-09-30, 06:32 UTC

Start total commander overriding UAC

Post by *twom » 2019-09-30, 07:31 UTC

There are many questions on internet how to start Total commander overriding Windows UAC.
This python script works for me, and it works as shortcut in Windows Startup folder as well.

Code: Select all

import os
os.startfile("c:\\totalcmd\\totalcmd64.exe")
Best regards,
Peter

User avatar
MVV
Power Member
Power Member
Posts: 8334
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: Start total commander overriding UAC

Post by *MVV » 2019-09-30, 08:50 UTC

As I know, ShellExecute requires "runas" verb for elevation, otherwise it will start application with executor rights, so it will not be elevated from LNK file in Startup folder. And, always using elevated TC it is a safe way of using it.

Post Reply