Forum Discussion
ODmvQIT
May 18, 2024Copper Contributor
subst disks cause stalling for diskpart and diskmgmt.msc
run diskpart.exe
enter "list vol" to check listing time
Import registry file
reboot
run diskpart.exe
enter "list vol" - there is stalling
REGEDIT4
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices]
"Z:"="\\??\\C:\\Windows"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{6603B7A0-ED77-4927-BB71-D25DE52BB9D7}]
"RelativePath"="Z:\\"
"Category"=dword:00000004
"Name"="Z_"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\BitBucket\KnownFolder\{6603B7A0-ED77-4927-BB71-D25DE52BB9D7}]
"MaxCapacity"=dword:0000c7eb
"NukeOnDelete"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{6603B7A0-ED77-4927-BB71-D25DE52BB9D7}]
"RelativePath"="Z:\\"
"Category"=dword:00000004
"Name"="Z_"
[HKEY_CURRENT_USER\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\BitBucket\KnownFolder\{6603B7A0-ED77-4927-BB71-D25DE52BB9D7}]
"MaxCapacity"=dword:0000c7eb
"NukeOnDelete"=dword:00000000
This is for subst disks with a working trash bin.
- HolawayIron Contributor
Try to remove Subst Drives:
- Open Command Prompt as Administrator and type subst to list all current subst drives.
- To remove a subst drive, type subst [drive letter]: /d. For example, if your subst drive is Z:, you would type subst Z: /d.
- After removing subst drives, check if diskpart and diskmgmt.msc work normally.
- EommyIron ContributorRemove subst Drives:
Before launching Disk Management or Diskpart, remove any subst drives using the command:
subst [drive_letter]: /d
For instance, if you created a virtual drive Z:, you would use:
subst Z: /d
2. Use Disk Management/ Diskpart:
After removing the subst drives, try launching Disk Management or Diskpart again.
3. Restart Required Services:
Sometimes, restarting the relevant services can help resolve issues:
Open Task Manager (Ctrl + Shift + Esc).
In the "Services" tab, look for services related to disks or storage (like Virtual Disk service), right-click, and select Restart. - vkeeganCopper ContributorAre you trying to create a virtual disk on Windows 10? Using the subst command to create virtual drives on your system can sometimes cause issues with tools like DiskPart and Disk Management (diskmgmt.msc). This is because subst creates virtual drives that can confuse these tools, which expect to interact with physical or properly mounted logical drives. When DiskPart or Disk Management encounters these subst drives, they may try to query or interact with them in ways that can lead to stalling or unresponsiveness.
- KiantorCopper ContributorDrive Letter Conflicts: When you use subst to map a drive letter to a directory or volume, it can cause conflicts with existing drive letters or volumes. This can lead to stalling or delays when trying to list volumes.
Registry Corruption: If the registry is corrupted or contains incorrect information, it can cause issues with DiskPart and Disk Management. Importing a registry file can sometimes resolve these issues. - PoppysannaCopper ContributorThis command maps a folder path to a virtual drive letter. While it's useful for quick access, it can cause confusion for disk management utilities that may not handle these virtual drives well.
- NoahiinCopper ContributorHigh CPU or Disk usage can slow down disk operations. Open Task Manager (Ctrl + Shift + Esc) and check if any process is using a lot of resources.