You connect an external USB drive, use it, and then safely remove it. When you reconnect the same drive or another device, Windows 11 may assign a different drive letter. This reassignment can break shortcuts, file paths in applications, and backup routines. The behavior is caused by how Windows 11 manages drive letter assignments in the registry. This article explains the technical reason for the reassignment and shows you how to lock a drive letter permanently.
Key Takeaways: Fixing USB Drive Letter Reassignment on Windows 11
- Disk Management (diskmgmt.msc): Change and persist a drive letter for a specific volume using the built-in MMC snap-in.
- Settings > System > Storage > Advanced storage settings > Disks & volumes: Assign a drive letter through the modern Windows 11 interface.
- USB Device or Volume ID: Windows 11 stores drive letter assignments per volume GUID, not per USB port, which causes reassignment when a new volume is inserted.
Why Windows 11 Reassigns Drive Letters to External USB Disks
Windows 11 stores drive letter mappings in the registry under HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices. Each volume is identified by its unique Volume GUID, not by the USB port or the physical disk serial number alone. When you connect a USB drive for the first time, Windows 11 assigns the next available letter. That mapping is saved with the volume’s GUID.
The problem occurs when you remove the drive and then connect a different USB drive, or even the same drive after the registry entry has been removed or overwritten. If the original drive letter is already taken by another volume the next time you connect, Windows 11 assigns a new letter. The system does not automatically reclaim a letter that was previously assigned to a now-absent volume. The registry entry for the old drive may also be deleted during the Safely Remove Hardware process or when the system cleans up unused volume entries.
Another factor is the order in which Windows 11 enumerates USB devices during boot or on insertion. If two drives with similar volume GUID patterns are connected, the system may assign letters in the order they are detected rather than restoring previous mappings. This is not a bug but a design limitation: Windows 11 does not track drive letters by physical USB port number.
How to Lock a Drive Letter for a USB Disk on Windows 11
You can force Windows 11 to always assign the same letter to a specific USB volume. This requires using the Disk Management tool or the Settings app. The method works for any external disk, including USB flash drives, external hard drives, and SSDs.
Method 1: Disk Management (diskmgmt.msc)
- Connect the USB disk
Insert the external drive into a USB port on your Windows 11 computer. Wait for the system to detect it and assign a drive letter. - Open Disk Management
Press Win + R, type diskmgmt.msc, and press Enter. If prompted by User Account Control, click Yes. - Locate the external disk
In the lower pane, find your external disk. It is typically labeled as Removable or External. Right-click the volume partition and select Change Drive Letter and Paths. - Change the drive letter
Click Change. Select Assign the following drive letter and choose a letter from the dropdown list. Avoid letters already used by system volumes such as C or D. Click OK. - Confirm the change
A warning dialog appears stating that some programs may not work if the drive letter changes. Click Yes. The drive letter updates immediately. - Verify the assignment persists
Safely remove the USB disk using the system tray icon. Reconnect it. Open File Explorer and confirm that the same drive letter appears.
Method 2: Settings App (Disks & Volumes)
- Open Storage settings
Press Win + I to open Settings. Go to System > Storage. - Access advanced storage settings
Scroll down and click Advanced storage settings. Then click Disks & volumes. - Select the external disk
In the list of disks, find your external USB drive. Click the Properties button next to the volume partition. - Change the drive letter
Under Drive letter, click Change. Select a new letter from the dropdown and click OK. - Confirm and test
Close Settings. Safely remove the disk and reconnect it. The drive letter should remain the same.
Both methods write the drive letter mapping to the registry under the volume’s GUID. As long as the registry entry is not manually deleted or corrupted, the letter persists across reconnections.
Common Issues After Assigning a Fixed Drive Letter to a USB Disk
Drive Letter Resets After Restarting Windows 11
If the drive letter reverts after a reboot, the USB disk was likely connected during boot and Windows 11 assigned a letter before the registry mapping was applied. To fix this, disconnect the USB disk before restarting, then reconnect it after Windows 11 has fully loaded. The stored mapping should then take effect.
Another Volume Already Uses the Chosen Drive Letter
If you try to assign a letter that is already in use by another volume, Disk Management shows an error. Choose a different letter that is not occupied. You can check used letters in File Explorer under This PC.
Drive Letter Changes When Plugging Into a Different USB Port
Windows 11 does not store drive letters per USB port. The letter is tied to the volume GUID. Plugging the same disk into a different port should retain the letter because the volume GUID remains unchanged. If the letter changes, the registry entry may have been overwritten by another device. Reapply the letter using Disk Management.
USB Drive Not Detected After Assigning a Letter
If the drive disappears from File Explorer after you change the letter, the volume may have lost its mount point. Open Disk Management, right-click the volume, and select Change Drive Letter and Paths. Click Add and assign a new letter. Do not use the same letter that caused the problem.
Drive Letter Assignment: Registry vs. Settings vs. Group Policy
| Item | Registry (MountedDevices) | Settings / Disk Management | Group Policy |
|---|---|---|---|
| Description | Stores volume GUID-to-letter mappings | User interface to modify registry entries | Administrative policy to restrict drive letter changes |
| Scope | Per machine, all users | Per machine, current user | Per machine or per user domain-wide |
| Persistence | Permanent until deleted or overwritten | Writes to registry, persists across reboots | Enforced at logon, overrides user changes |
| Use case | Manual editing for advanced users | Standard user fixes for one drive | Enterprise environment to prevent letter changes |
| Risk | Registry corruption if edited incorrectly | Low risk, guided by UI | Can block legitimate user changes |
This table compares the three methods of managing drive letter assignments in Windows 11. The registry is the underlying storage, while Settings and Disk Management provide safe editing tools. Group Policy is only relevant in managed networks.
You can now assign and lock a drive letter for any external USB disk on Windows 11 using Disk Management or the Settings app. The registry entry ensures the letter persists across reconnections and restarts. If you frequently swap multiple USB drives, consider labeling each volume with a distinct name to avoid confusion in File Explorer. For advanced control, you can back up the MountedDevices registry key before making changes so you can restore the original mapping if something goes wrong.