cd \\?\Volume{UUID} doesn't work anymore with Windows 11

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
TCOverDecades
Junior Member
Junior Member
Posts: 4
Joined: 2021-10-23, 23:52 UTC

cd \\?\Volume{UUID} doesn't work anymore with Windows 11

Post by *TCOverDecades »

One advantage of TC is that you can directly open a window for an UNC path, without having a drive letter assigned to the related partition.

I use this function over years with several Windows and TC versions, mainly to open TC windows for partitions which are normally not assigned to drive letters, e.g. EFI Boot or Recovery. The command for opening a window can easily be added to the directory list, e.g. cd \\?\Volume{0005d565-2d45-614f-ce7c-df016be3b00}

Unfortunatly this doesn't work anymore after upgrading from Windows 10 to Windows 11. Nothing else changed. Currently using TC 10.00

Christian, I hope you can help a loyal user. I'm using TC for decades and can not imagine how to do without.

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

Re: cd \\?\Volume{UUID} doesn't work anymore with Windows 11

Post by *ghisler(Author) »

This doesn't work for me on Windows 10 either, I tried with TC run normally and elevated (as administrator). I got the list of volumes via an elevated powershell command:
GWMI -namespace root\cimv2 -class win32_volume | FL -property DriveLetter, DeviceID
Maybe these are the wrong GUIDs? I found this command via Google search.
Author of Total Commander
https://www.ghisler.com
TCOverDecades
Junior Member
Junior Member
Posts: 4
Joined: 2021-10-23, 23:52 UTC

Re: cd \\?\Volume{UUID} doesn't work anymore with Windows 11

Post by *TCOverDecades »

Yes, these UUIDs can be shown via Windows Management Instrumentation, but more easy, they are also shown by typing "mountvol" in a cmd shell, doesn't matter if elevated or not. These output have the format \\?\Volume{UUID}.
Of course, if you change to an EFI or Recovery partition, you have to be sure to run TC elevated.
Doing so, it definitely works on all of mine PC systems with Windows 7 and Windows 10 like described above since years. No changes during the OS updates of the last years, but now after update from Windows 10 to 11 it's not working anymore. Reproduced on 2 different PC systems, updated from 21H1 (19043.1288) to 21H2 (22000.258).

If you like to I can also sent you screenshots how I have instrumented TC for this use case. Don't hesitate to contact me directly under my e-mail.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: cd \\?\Volume{UUID} doesn't work anymore with Windows 11

Post by *Horst.Epp »

TCOverDecades wrote: 2021-10-24, 09:52 UTC Yes, these UUIDs can be shown via Windows Management Instrumentation, but more easy, they are also shown by typing "mountvol" in a cmd shell, doesn't matter if elevated or not. These output have the format \\?\Volume{UUID}.
Of course, if you change to an EFI or Recovery partition, you have to be sure to run TC elevated.
Doing so, it definitely works with Windows 7 and Windows 10 like described above. No changes during the OS updates of the last years, but now after update from Windows 10 to 11 it's not working anymore. Reproduced on 2 different PC systems, updated from 21H1 (19043.1288) to 21H2 (22000.258).

If you like to I can also sent you screenshots how I have instrumented TC for this use case. Don't hesitate to contact me directly under my e-mail.
I have tested with the output of mountvol and the access with CD in the TC command line works fine.
but you can't use the stored entries from the hotlist.
Strange, I can use such entries calling TC from my QAP favorites (not the ones which need admin rights).
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
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
TCOverDecades
Junior Member
Junior Member
Posts: 4
Joined: 2021-10-23, 23:52 UTC

Re: cd \\?\Volume{UUID} doesn't work anymore with Windows 11

Post by *TCOverDecades »

Indeed strange. On my Win7/10 Systems „cd \\?\Volume{UUID}“ works fine from TC command line AND hotlist respektively favorites. Several installations, different hardware, also VMs.
If it would make sense to provide more information, please let me know.
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: cd \\?\Volume{UUID} doesn't work anymore with Windows 11

Post by *DrShark »

2TCOverDecades
2Horst.Epp

Does it work from button/command line/directory hotlist using a command:

Code: Select all

%COMMANDER_EXE% /L=\\?\Volume{GUID_by_mountvol}\
unstead of

Code: Select all

cd \\?\Volume{GUID_by_mountvol}\
in button bar, command line or directory hotlist?

I experienced that on my Vista laptop when it was alive (it has died again unfortunately),
maybe the same is true for other Windows versions? Details are in this and next posts.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: cd \\?\Volume{UUID} doesn't work anymore with Windows 11

Post by *Horst.Epp »

2DrShark
Yes, the following button works for example

Code: Select all

TOTALCMD#BAR#DATA
%COMMANDER_EXE% 
/s /o \\?\Volume{16c2d09e-ca28-4ffe-91e2-c25774619248}
C:\Tools\Wincmd\TCMDX32.EXE



-1

Also in the hotlist this works
%COMMANDER_EXE% /s /o \\?\Volume{16c2d09e-ca28-4ffe-91e2-c25774619248}
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
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
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: cd \\?\Volume{UUID} doesn't work anymore with Windows 11

Post by *MVV »

I can confirm that it works under Windows 7 and doesn't under Windows Server 2019.
TCOverDecades
Junior Member
Junior Member
Posts: 4
Joined: 2021-10-23, 23:52 UTC

Re: cd \\?\Volume{UUID} doesn't work anymore with Windows 11

Post by *TCOverDecades »

YES!

"%COMMANDER_EXE%" /s /o \\?\Volume{UUID}

works perfect, also under Windows 11 and should be used instead of cd \\?\Volume{UUID}.

Thanks very much!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: cd \\?\Volume{UUID} doesn't work anymore with Windows 11

Post by *ghisler(Author) »

I can confirm that a button with
cd \\?\Volume{UUID}
works on Windows 10, but not on Windows 11, but a button with
"%COMMANDER_EXE%" /s /o \\?\Volume{UUID}
works on both.

I will check in the debugger what's wrong.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: cd \\?\Volume{UUID} doesn't work anymore with Windows 11

Post by *ghisler(Author) »

This should be fixed in TC 10.5 beta, please test it!
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: cd \\?\Volume{UUID} doesn't work anymore with Windows 11

Post by *ghisler(Author) »

Could someone test this, please?
Author of Total Commander
https://www.ghisler.com
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: cd \\?\Volume{UUID} doesn't work anymore with Windows 11

Post by *Horst.Epp »

No problem here under Windows 11 using
%COMMANDER_EXE% /s /o \\?\Volume{16c2d09e-ca28-4ffe-91e2-c25774619248}
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
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
white
Power Member
Power Member
Posts: 4594
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: cd \\?\Volume{UUID} doesn't work anymore with Windows 11

Post by *white »

ghisler(Author) wrote: 2022-05-15, 08:35 UTC Could someone test this, please?
Tested mounted drives: SSD drive, hard drive, camera drive, cardreader in my printer/scanner drive.
Tested volume with no mount points: Recovery volume.

Seems to work from command line and button.
Doesn't work in Synchronize dirs, but assume that's not supported.

Tested using Windows 11.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: cd \\?\Volume{UUID} doesn't work anymore with Windows 11

Post by *ghisler(Author) »

Doesn't work in Synchronize dirs, but assume that's not supported.
Indeed that's currently not supported.
Author of Total Commander
https://www.ghisler.com
Post Reply