TotalCmd 1103 can not auto start from Start Menu\Programs\Startup

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
jjou
Junior Member
Junior Member
Posts: 47
Joined: 2006-04-22, 04:53 UTC
Location: Xin-Zhu Taiwan

TotalCmd 1103 can not auto start from Start Menu\Programs\Startup

Post by *jjou »

TotalCmd 1103 can not auto start from Microsoft\Windows\Start Menu\Programs\Startup

Before TotalCmd 1102 power on auto start worked well.
After I installed TotalCmd 1103 it does not work any more.

I have a power on auto start from Microsoft\Windows\Start Menu\Programs\Startup
It is a link in c:\Users\Josh\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\Total-Cmd64.lnk
and the link is C:\!Josh\TotalCmd\TOTALCMD64.EXE
Joshua Jou
User avatar
beb
Senior Member
Senior Member
Posts: 435
Joined: 2009-09-20, 08:03 UTC
Location: Odesa, Ukraine

Re: TotalCmd 1103 can not auto start from Start Menu\Programs\Startup

Post by *beb »

2jjou
Cannot confirm.
I made two fresh copies of TC 11.03 with the exes:
C:\Josh\TotalCmd\TOTALCMD64.EXE
C:\!Josh\TotalCmd\TOTALCMD64.EXE
Placed their shortcuts into the %AppData%:
%AppData%\Microsoft\Windows\Start Menu\Programs\Startup\TOTALCMD64.lnk
%AppData%\Microsoft\Windows\Start Menu\Programs\Startup\TOTALCMD64-exclamation.lnk
Both Total Commander copies are successfully being launched upon restarts.
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10
User avatar
beb
Senior Member
Senior Member
Posts: 435
Joined: 2009-09-20, 08:03 UTC
Location: Odesa, Ukraine

Re: TotalCmd 1103 can not auto start from Start Menu\Programs\Startup

Post by *beb »

I made another fresh copy of TC 11.03 with the exe:
C:\Josh-admin\TotalCmd\TOTALCMD64.EXE
Placed its shortcut into the %AppData%:
%AppData%\Microsoft\Windows\Start Menu\Programs\Startup\TOTALCMD64-admin.lnk
Set up the advanced properties to run the program as administrator.

Results:
1. TOTALCMD64.lnk, and TOTALCMD64-exclamation.lnk : keep auto-running upon restart as intended.
2. TOTALCMD64-admin.lnk : won't auto-run upon restart.

TOTALCMD64-admin.lnk : would auto-run upon restart only if the 'run as administrator' option gets removed.

Apparently, this is the key to the answer to the question (the Run as administrator option).
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10
User avatar
jjou
Junior Member
Junior Member
Posts: 47
Joined: 2006-04-22, 04:53 UTC
Location: Xin-Zhu Taiwan

Re: TotalCmd 1103 can not auto start from Start Menu\Programs\Startup

Post by *jjou »

Thanks !
Let me try it out more.
Joshua Jou
User avatar
beb
Senior Member
Senior Member
Posts: 435
Joined: 2009-09-20, 08:03 UTC
Location: Odesa, Ukraine

Re: TotalCmd 1103 can not auto start from Start Menu\Programs\Startup

Post by *beb »

2jjou
Please, keep in mind, that the 'Run as administrator' option can be set/removed by modifying an application shortcut (.lnk) and/or directly its exe properties [via compatibility tab].
If the 'Run as administrator' option was configured via exe properties you cannot remove elevation via .lnk, and should use exe properties for that again.
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10
User avatar
petermad
Power Member
Power Member
Posts: 14809
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: TotalCmd 1103 can not auto start from Start Menu\Programs\Startup

Post by *petermad »

I testet with TC 11.02 and 11.03 both 32bit and 64bit with .lnk files in %AppData%\Microsoft\Windows\Start Menu\Programs\Startup\ for both starting TC normal and with administrator rights - it is only the normal instances of TC that is auto opened at startup - so no difference in that respect between TC 11.02 and 11.03

It is obviously Windows that refuses to start TC via a .lnk file with admin rights at startup.

If you want to autostart TC at boot you will ned to make a Sheduled Task (run taskschd.msc to set it up).
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
jjou
Junior Member
Junior Member
Posts: 47
Joined: 2006-04-22, 04:53 UTC
Location: Xin-Zhu Taiwan

Re: TotalCmd 1103 can not auto start from Start Menu\Programs\Startup

Post by *jjou »

Thanks all !
I tested it again under Windows10:

The link works well with or without the admin rights alone.
The link does not work with or without the admin rights when startup.

Sheduled Task (run taskschd.msc to set it up): works well with 1 minute delay.
Sheduled Task (run taskschd.msc to set it up): does not work with no delay.
Joshua Jou
User avatar
beb
Senior Member
Senior Member
Posts: 435
Joined: 2009-09-20, 08:03 UTC
Location: Odesa, Ukraine

Re: TotalCmd 1103 can not auto start from Start Menu\Programs\Startup

Post by *beb »

Anyway, as shown above, this is not a Total Commander (including version 11.03) specific issue.
If an app won't start in Startup (AutoRun) mode a user should check the relevant system settings on their machine (e.g. if the Startup is disabled for the app).
There are a few standard ways how to disable Startup apps on Windows.
For example,
How to Disable Startup Programs in Windows 11 (the title says 11, but it's the same for Windows 10 as well):
https://techcommunity.microsoft.com/t5/windows-11/how-to-disable-startup-programs-in-windows-11-3-ways/m-p/3249863
A user can also use the Autoruns tool:
https://learn.microsoft.com/en-us/sysinternals/downloads/autoruns
https://live.sysinternals.com/autoruns.exe
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10
User avatar
Dalai
Power Member
Power Member
Posts: 9393
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: TotalCmd 1103 can not auto start from Start Menu\Programs\Startup

Post by *Dalai »

TC shouldn't be run as administrator all the time anyway. All programs launched from such an instance inherit the privileges, they also run as administrator. This includes programs launched via doube-click on an associated file like .doc, .txt, .png and so on.

Regards
Dalai
#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
Horst.Epp
Power Member
Power Member
Posts: 6497
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: TotalCmd 1103 can not auto start from Start Menu\Programs\Startup

Post by *Horst.Epp »

As Dalai said.
Also, it's only a button click in a normal running TC to get into the same dirs with enhanced rights.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
TC 11.03 x64 / x86
Everything 1.5.0.1373a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
Post Reply