[Fixed] Unable to open a mounted drive
Moderators: Hacker, petermad, Stefan2, white
[Fixed] Unable to open a mounted drive
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.
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.
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [10.52] Unable to open a mounted drive
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
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
https://www.ghisler.com
Re: [10.52] Unable to open a mounted drive
No, I run it as a regular user. Will try to run an instance with elevated privileges when it happens and report back.ghisler(Author) wrote: 2023-02-27, 09:54 UTC Does this happen when you run Total Commander with elevated rights (as administrator)?
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [10.52] Unable to open a mounted drive
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
https://www.ghisler.com
Re: [10.52] Unable to open a mounted drive
The issue "resolved itself". No idea what was going on there.arko wrote: 2023-02-27, 11:57 UTCNo, I run it as a regular user. Will try to run an instance with elevated privileges when it happens and report back.ghisler(Author) wrote: 2023-02-27, 09:54 UTC Does this happen when you run Total Commander with elevated rights (as administrator)?
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [10.52] Unable to open a mounted drive
Please keep me informed when it should happen again!
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [10.52] Unable to open a mounted drive
Keeping, please see here: viewtopic.php?t=79856
Re: [Fixed] Unable to open a mounted drive
Updated subject line to indicate this was fixed. Make sure that wincmd.ini contains the following:
Code: Select all
Allowed=abcdefghijklmnopqrstuvwxyz
Re: [Fixed] Unable to open a mounted drive
By default, the wincmd.ini doesn't contain any Allowed=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
So all drives are allowed.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Re: [Fixed] Unable to open a mounted drive
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.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar