[Fixed] Unable to open a mounted drive

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
arko
Junior Member
Junior Member
Posts: 84
Joined: 2020-04-05, 06:41 UTC

[Fixed] Unable to open a mounted drive

Post by *arko »

At times I am unable to open a mounted drive in TC. The issue never shows-up for local NTFS volumes, only for physical optical drives and manually mounted ISO images. Rarely, the bug can be reproduced with user-mode filesystems.

What would be the best debug strategy here? I don't see anything immediately obvious in procmon and would rather not spend time in olly.
Last edited by arko on 2023-08-13, 09:32 UTC, edited 1 time in total.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48012
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [10.52] Unable to open a mounted drive

Post by *ghisler(Author) »

Does this happen when you run Total Commander with elevated rights (as administrator)?

On Windows Vista and newer, network drives are mapped separately for each user. Some other drives are treated the same way, e.g. when you use SUBST to add a drive pointing to a subdirectory.
Running a program "As admnistrator" is treated like a separate user. To fix it, either run Total Commander as a normal user, or do the following:
1. Run regedit.exe
2. Go to the following key:
HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Policies/System
3. Right click in the right panel, and create a new DWORD entry with the name
EnableLinkedConnections
4. Set the value to 1
5. Restart your computer

Microsoft explains it here:
https://docs.microsoft.com/en-us/troubleshoot/windows-client/networking/mapped-drives-not-available-from-elevated-command
Author of Total Commander
https://www.ghisler.com
arko
Junior Member
Junior Member
Posts: 84
Joined: 2020-04-05, 06:41 UTC

Re: [10.52] Unable to open a mounted drive

Post by *arko »

ghisler(Author) wrote: 2023-02-27, 09:54 UTC Does this happen when you run Total Commander with elevated rights (as administrator)?
No, I run it as a regular user. Will try to run an instance with elevated privileges when it happens and report back.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48012
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [10.52] Unable to open a mounted drive

Post by *ghisler(Author) »

No, the error I know about only occurs when running TC with elevated rights, not when running it with normal rights. It must be something else.
Author of Total Commander
https://www.ghisler.com
arko
Junior Member
Junior Member
Posts: 84
Joined: 2020-04-05, 06:41 UTC

Re: [10.52] Unable to open a mounted drive

Post by *arko »

arko wrote: 2023-02-27, 11:57 UTC
ghisler(Author) wrote: 2023-02-27, 09:54 UTC Does this happen when you run Total Commander with elevated rights (as administrator)?
No, I run it as a regular user. Will try to run an instance with elevated privileges when it happens and report back.
The issue "resolved itself". No idea what was going on there.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48012
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [10.52] Unable to open a mounted drive

Post by *ghisler(Author) »

Please keep me informed when it should happen again!
Author of Total Commander
https://www.ghisler.com
arko
Junior Member
Junior Member
Posts: 84
Joined: 2020-04-05, 06:41 UTC

Re: [10.52] Unable to open a mounted drive

Post by *arko »

ghisler(Author) wrote: 2023-05-02, 16:27 UTC Please keep me informed when it should happen again!
Keeping, please see here: viewtopic.php?t=79856
arko
Junior Member
Junior Member
Posts: 84
Joined: 2020-04-05, 06:41 UTC

Re: [Fixed] Unable to open a mounted drive

Post by *arko »

Updated subject line to indicate this was fixed. Make sure that wincmd.ini contains the following:

Code: Select all

Allowed=abcdefghijklmnopqrstuvwxyz
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6429
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: [Fixed] Unable to open a mounted drive

Post by *Horst.Epp »

arko wrote: 2023-08-13, 09:33 UTC Updated subject line to indicate this was fixed. Make sure that wincmd.ini contains the following:

Code: Select all

Allowed=abcdefghijklmnopqrstuvwxyz
By default, the wincmd.ini doesn't contain any Allowed=
So all drives are allowed.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3296)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
petermad
Power Member
Power Member
Posts: 14700
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [Fixed] Unable to open a mounted drive

Post by *petermad »

Moderator message from: petermad » 2023-08-13, 10:28 UTC

Moved from "TC11.x bug reports (English)" - no bug

See also: viewtopic.php?t=79856
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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply