Start total commander overriding UAC

English support forum

Moderators: white, Hacker, petermad, Stefan2

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

Start total commander overriding UAC

Post by *twom »

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: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: Start total commander overriding UAC

Post by *MVV »

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