Total Commander in Admin Mode does NOT see mapped drives

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Thoro
New Member
New Member
Posts: 1
Joined: 2009-07-27, 22:37 UTC

Total Commander in Admin Mode does NOT see mapped drives

Post by *Thoro »

I like to run Total Commander in Administrator mode for various reasons. On connect/disconnet of USB drives, the new drive letter is picked up fine by TC. BUT, if you MAP a network drive OUTSIDE TC, this new drive is NOT picked up. You have to stop and restaret TC! And visa versa for DISCONNECT a Network drive. If you do this connect/disconnect IN TC, there is not a problem.
Could someone look at this?
User avatar
HolgerK
Power Member
Power Member
Posts: 5406
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

Welcome Thoro,

Do you use Vista or Win7?

If yes, this may explain your problem: On Vista, mapped drives are user-specific

Regards
Holger
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Indeed, that's a new "feature" of Windows, not a TC bug.
Author of Total Commander
https://www.ghisler.com
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

Workaround: establish needed connections/drive associations once when starting TC as Administrator.

Either after starting TC:
- simply make a button etc. in TC calling the needed commands (net.exe/subst.exe)

or before/while starting TC:
- start TC using a Shortcut like "TC_Administrator.lnk":

Code: Select all

%windir%\system32\runas.exe /USER:Administrator "C:\Batch\TC_connect_and_start.cmd"
Example content of "C:\Batch\TC_connect_and_start.cmd":

Code: Select all

subst.exe F: E:\subst-host-dir
net.exe use \\1.2.3.4\share * /user:username
start C:\TotalCmd\TOTALCMD.exe
exit
Drives connected this way stay connected within TC (and tasks started from there) until TC is closed.
Tested in XP.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
Post Reply