DriveLetterView by NirSoft is a lightweight, portable freeware utility for Windows designed to display, modify, and clear drive letter assignments on your computer. While Windows includes a native tool called Disk Management (diskmgmt.msc), it often falls short for system administrators and power users who need to manage ghosted, disconnected, or orphaned storage devices. Core Features
The primary advantage of using this utility is its ability to handle both active and historical storage architecture simultaneously.
Comprehensive Registry Mapping: Displays all alphabet assignments across local hard drives, remote network shares, CD/DVD optical bays, and USB mass storage.
Disconnected Device Visibility: Highlights previously connected USB drives or phantom network connections with a red question mark icon, registering their hardware configurations even when unplugged.
Instant Identifier Reassignment: Allows you to change USB flash drive or network path letters immediately using the F9 hotkey.
Orphaned Record Cleanup: Safely deletes lingering drive letter paths assigned to old or missing flash drives. This frees up letters (such as E, F, or G) for new equipment.
Rich Metadata Reporting: Exposes deeply nested system details including device types, human-readable volume names, and complex hardware Instance IDs. Comparison: Native Windows Tools vs. DriveLetterView Operational Capability Windows Disk Management (diskmgmt.msc) NirSoft DriveLetterView Active Local Drives Supported (View only for OS drives) Disconnected USB History Fully visible and modifiable Orphaned Letter Deletion Not possible without manual Registry editing Single-click removal (Red “X” tool) Command Line Interface Requires complex diskpart scripts Built-in CLI arguments Data Export Formats TXT, CSV, HTML, and XML export options How to Clean Up and Reassign Drive Letters
Because it operates as a portable application, the software requires no installation process—you simply download and run the executable. Step 1: Open with Elevated Privileges
Right-click the executable file and select Run as administrator. Administrative permission is required to directly modify active storage tables in the Windows Registry. Step 2: Purge Disconnected Ghost Drives
Look for line items marked with a No in the Connected column. If you no longer use that specific USB flash drive, select the line item and click the Red X icon in the toolbar (or choose Delete Selected Drive Letter) to wipe its historical memory from the OS. Step 3: Reassign a Selected Drive Letter
Select an active or inactive USB device, press F9, and pick a new target letter from the available dropdown menu. The next time that particular hardware asset is plugged in, the Windows kernel will automatically mount it to your newly targeted letter path. Advanced Operations via Command Line
For automated IT deployments, the utility supports headless automation. You can output system drive mapping data directly to target documents using native parameters:
:: Export an HTML report detailing all system mount points DriveLetterView.exe /shtml “C:\Reports\DriveMapping.html” :: Remotely change a drive assignment via command line DriveLetterView.exe /change_letter U: T: Use code with caution.
If you are trying to deploy this tool across multiple computers, tell me:
Do you need assistance setting up unattended network scripts?
Are you troubleshooting an explicit drive letter conflict or path overlapping error?
I can provide specific command line strings tailored exactly to your architecture goals. www.nirsoft.net
View / Change / Remove drive letters assignment in your system
Leave a Reply