Can't Rename Drive Label in Windows 10

Page 2 of 3 FirstFirst 123 LastLast

  1. Posts : 5
    Windows 10 Pro 64-bit (1703)
    Thread Starter
       #11

    I changed the device policy on the WinXP system from Better performance to Quick removal to disable caching and was able to write to and successfully eject the flash drive on the WinXP system. But, when I inserted it back into my Win10 laptop, the problem returned ... no label or autorun.inf file. So the failure to eject wasn't the problem. I suspect it's a compatibility issue with WinXP and USB 3.0 flash drives. I've spent more time on this than it's worth ... I'll live with it.

    Thanks for the help,
    Mike
      My Computer


  2. Posts : 24,562
    10 Home x64 (21H2) (10 Pro on 2nd pc)
       #12

    I'm out of ideas, I'm afraid. Never seen anything like this before. @jumanji is a hard drive guru, maybe he can shed some light. Hold back on formatting until he comments.
      My Computers


  3. jlk
    Posts : 2
    Windows 10 Pro 64-bit
       #13

    Sometimes the USB drive may have a line in the autorun.inf file called label which tells the computer to call the drive by this label regardless of what you name it. Simply delete this line or change it to what you want the drive to be called.

    Can't Rename Drive Label in Windows 10-image.png
      My Computer


  4. Posts : 1,054
    Windows 10 Pro (+ Windows 10 Home VMs for testing)
       #14

    This may perhaps be a classic Windows bug (since Vista) whereby regular connects/disconnects of USB devices cause the registry to just stop fully enumerating them (and their properties, including their labels).

    Try Nir Sofer's USBDeview (make sure you download the right 64-bit/32-bit version for your system), unzip then right-click on the USBDeview executable and use Run as administrator.

    Unplug ALL of your removable/mass storage USB drives then, in USBDeview, select their entries in the list and choose Uninstall Selected Devices from the File menu.

    For example:
    Can't Rename Drive Label in Windows 10-usbdeview_uninstall_selected_devices1.png

    All this does is remove the build-up of historical entries in the registry. Rebooting and re-connecting the USB devices creates fresh registry entries which, in my experience, often solves enumeration issues... (although, sometimes, I've had to uninstall all disconnected devices and let the list build again).

    Hope this helps...
      My Computer


  5. Posts : 504
    Windows 10
       #15

    Hello

    The only way ive found to make the naming of a drive stick, is when formatting the drive.

    Diskpart

    FORMAT FS=NTFS LABEL=WINDOWS1064 QUICK

    Then the drive naming works
      My Computer


  6. Posts : 1,054
    Windows 10 Pro (+ Windows 10 Home VMs for testing)
       #16

    Try using an elevated PowerShell console. Note that you cannot just set the label property for the drive, you need to use Set-CimInstance for the label change to be permanent.

    For example, to use your drive letter/label combination of G: SAMSUNG32GB, open an elevated PowerShell console and enter this:
    Code:
    $Drive = Get-CimInstance -ClassName Win32_Volume -Filter "DriveLetter = 'G:'"
    This way you know you are pointing at the right drive letter (G:).

    Next, enter this:
    Code:
    $Drive | Set-CimInstance -Property @{Label='SAMSUNG32GB'}
    This will use WMI to change the drive label on the $Drive device (previously identified with the drive letter G:) and make it permanent. (Note: It's not really permanent... it just means that the drive label will persist, unlike if you just change the label property without using Set-CimInstance.)

    Can't Rename Drive Label in Windows 10-powershell_drive_label.png

    Hope this helps...
      My Computer


  7. Posts : 15,997
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #17

    Hello @RickC,

    As this thread is marked as Solved, I thought I would post mine, because I often have to remove a USB and then re-insert it as it does NOT show up. Sometimes, I have to do this a couple of times. It happens on a couple of USBs of varying sizes, ages, and generations . . .

    Can't Rename Drive Label in Windows 10-usb_devices.jpg

    I will be uninstalling these later to see if it has ANY affect.
      My Computer


  8. Posts : 1,054
    Windows 10 Pro (+ Windows 10 Home VMs for testing)
       #18

    Hi @Paul - As this thread is about issues with drive labels, I thought I would add what I think may show a bug.

    If you use something like Nir Sofer's RegScanner and search for USBSTOR then sort on the Name column for FriendlyName you'll probably see what I see... mostly drive labels but with several drive letters included (even when the device has a drive label):

    Can't Rename Drive Label in Windows 10-usbstor_friendly_name.png

    I don't know what triggers it but I first noticed it years ago when I had to configure ~150 SatNavs. As I progressed through them I started having difficulties getting them recognised, hence why I believe that it may be related to the total number of USB device enumerations stored in the registry.

    Hope this helps...
      My Computer


  9. Posts : 15,997
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #19

    Hello @RickC, thanks for the reply.

    RickC said:
    If you use something like Nir Sofer's RegScanner and search for USBSTOR then sort on the Name column for FriendlyName you'll probably see what I see... mostly drive labels but with several drive letters included (even when the device has a drive label):
    Surprisingly NOT . . .

    Can't Rename Drive Label in Windows 10-reg_scanner_usbstor.jpg
    Last edited by Paul Black; 17 Feb 2022 at 04:36.
      My Computer


  10. Posts : 1,054
    Windows 10 Pro (+ Windows 10 Home VMs for testing)
       #20

    Paul Black said:
    Surprisingly NOT . . .
    IME the anomaly (bug) only happens when the number of stored USB enumerations in the registry grows above a certain number... but I don't know what the number is.

    I'm going to start looking at whether it may be connected to enumerations buried within a ControlSet and stored under either of these two subkeys:
    Code:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USBSTOR

    or the number of portable devices (and their FriendlyNames) stored under this subkey:
    Code:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Portable Devices\Devices

    For example, I'm showing drive letters within the list of drive labels but you aren't. So I did a count...

    In an elevated PowerShell console I set the registry start location:
    Code:
    Set-Location "HKLM:\SOFTWARE\Microsoft\Windows Portable Devices\Devices\"

    Next, I told PowerShell to count the number of entries... and came up with 75:
    Code:
    (Get-ChildItem | Measure-Object).Count
    Can't Rename Drive Label in Windows 10-usb_portable_device_count.png

    I have a gut feeling the answer is to do with the total number of stored portable devices (i.e. currently 75) because I used USBDeview previously to clear out the USB and USBSTOR subkeys under CurrentControlSet (now showing counts of 32 and 33 respectively) yet still show drive letters buried within what I think should be solely a list of FriendlyName drive labels.

    I'm going to have to experiment... ultimately to test a hypothesis and see if I can deliberately trigger what I believe to be a bug, i.e. to reach a point that any new insertions of USB devices are NOT recognised by the OS.

    As this thread is now marked as 'Solved' (yet without a clear resolution) I may create a new thread... but where? General Support? Drivers and Hardware? Performance & Maintenance? Chillout Room? VIP? Decisions, decisions...
    Last edited by RickC; 17 Feb 2022 at 00:04.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 09:58.
Find Us




Windows 10 Forums