Windows 10: Assign a permanent drive letter to a folder which contains spaces

Discus and support Assign a permanent drive letter to a folder which contains spaces in Windows 10 Gaming to solve the problem; I want to assign a drive letter permanently to a folder. I can use the SUBST command and I have found a Powershell registry update that will do that.... Discussion in 'Windows 10 Gaming' started by dhstein, Apr 11, 2025.

  1. dhstein Win User

    Assign a permanent drive letter to a folder which contains spaces


    I want to assign a drive letter permanently to a folder. I can use the SUBST command and I have found a Powershell registry update that will do that. However my folder path has spaces and that doesn't seem to work. Here is what I have found - but the path I want contains spaces and I can't have spaces with this syntax:Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Run" -Name "H Drive" -Value "subst H: D:\\Data\\Folder1\\Folder2"

    :)
     
    dhstein, Apr 11, 2025
    #1

  2. Drive letters are not available for assigning to unallocated space

    Hello Sjoerd,



    Thank you for writing to Microsoft Community Forums.



    The reason the drive letters are not available to assign are because they might have been assigned to devices which are removed or hidden. I suggest you to check for any hidden devices and remove them to assign the missing drive letters.



    Follow the steps mentioned below to check for the hidden or removed devices.



    1. Press Windows key + R. This will open
      Run. Alternatively, you can go to Start and search for Run.
    2. In Run dialog box, type
      devmgmt.msc
      and hit enter.
    3. Click on the view tab at the top left hand corner.
    4. Now select View hidden devices.
    5. Now look for the hidden devices under storage volumes and
      portable devices.
    6. Right click on the hidden devices and click on
      uninstall
      .
    7. Restart the PC.


    After restarting the PC, try assigning the drive letter to the unallocated drive and check if the drive letters D, E, F, G, and H appears.



    Hope it helps.



    Regards,

    Prakhar Khare

    Microsoft Community – Moderator
     
    Prakhar_Khare, Apr 11, 2025
    #2
  3. Lazzer408 Win User
    help. USB drive isn't assigned a drive letter.

    Any usb flash drive I plug into my computer isn't assigned a drive letter. The physical drive shows in the "safely remove hardware" but it doesnt show up in disk management. I have tried to populate the volume thru the safely remove hardware properties window and it does pop up in the list but it doesn't stay there. This isn't a format or assign a letter problem. It's more complicated then that. Maybe one of the services needed for usb drive management was disabled? Suggestions needed. btw external usb harddrives work fine.
     
    Lazzer408, Apr 11, 2025
    #3
  4. Assign a permanent drive letter to a folder which contains spaces

    Assigning Drive Letter

    I am trying to assign a particular letter to one of my hard drives. None of my other drives are assigned that letter, but it is not listed in the choices. Is there something I can do?
     
    GregCowling, Apr 11, 2025
    #4
Thema:

Assign a permanent drive letter to a folder which contains spaces

Loading...
  1. Assign a permanent drive letter to a folder which contains spaces - Similar Threads - Assign permanent drive

  2. Assign a permanent drive letter to a folder which contains spaces

    in Windows 10 Software and Apps
    Assign a permanent drive letter to a folder which contains spaces: I want to assign a drive letter permanently to a folder. I can use the SUBST command and I have found a Powershell registry update that will do that. However my folder path has spaces and that doesn't seem to work. Here is what I have found - but the path I want contains...
  3. Assign a permanent drive letter

    in Windows 10 Gaming
    Assign a permanent drive letter: I know very well how to assign a drive letter so that's not the question.I've drive cradle/hub connected to my PC running Win 10 x64 Pro.Windows sees it as fixed disk. not as a removable USB disk.As part of my backup strategy I regulary plug in a different HDD.Windows assign...
  4. Assign a permanent drive letter

    in Windows 10 Software and Apps
    Assign a permanent drive letter: I know very well how to assign a drive letter so that's not the question.I've drive cradle/hub connected to my PC running Win 10 x64 Pro.Windows sees it as fixed disk. not as a removable USB disk.As part of my backup strategy I regulary plug in a different HDD.Windows assign...
  5. Assign a permanent drive letter

    in Windows 10 Drivers and Hardware
    Assign a permanent drive letter: I know very well how to assign a drive letter so that's not the question.I've drive cradle/hub connected to my PC running Win 10 x64 Pro.Windows sees it as fixed disk. not as a removable USB disk.As part of my backup strategy I regulary plug in a different HDD.Windows assign...
  6. Assigning Drive Letter

    in Windows 10 Network and Sharing
    Assigning Drive Letter: I am trying to assign a particular letter to one of my hard drives. None of my other drives are assigned that letter, but it is not listed in the choices. Is there something I can do?...
  7. Problem permanently assigning drive letters to flash disks

    in Windows 10 Drivers and Hardware
    Problem permanently assigning drive letters to flash disks: I have two flash disks of the exact same brand and size (128GB each, formatted as exFAT). I have a problem in that when I insert either of them in a USB port, it's assigned a drive letter which may not be what I would like. Ideally I want each flash disk to be always assigned...
  8. Drive letters are not available for assigning to unallocated space

    in Windows 10 Drivers and Hardware
    Drive letters are not available for assigning to unallocated space: Hi, I have the following odd situation... Introduction: I did a clean install of Windows 10 Pro on one of my PC's. I used the iso of v1709 (Windows 10 Fall 2017) because that was the latest iso I had available on CD. In the mean time the PC upgraded to v1803 (Windows 10...
  9. Assign a drive letter

    in Windows 10 BSOD Crashes and Debugging
    Assign a drive letter: When I plug an external hard drive to my PC (Windows 10) via the USB, the computer does not recognize it in Windows Explorer. I have to go into Disk Management to assign the drive a letter before I can see it in Windows Explorer. Is there an option in Windows 10 to...
  10. Permanently assign drive letters for USB drives

    in Windows 10 Drivers and Hardware
    Permanently assign drive letters for USB drives: Hi, I run a backup script to different USB drives at different times. The backup script always needs to see the same drive letter for the USB drive (whichever USB drive is being used). I know you can run compmgmt.msc, select Disk Management and then click 'Change...