Do not force a drive letter while the disk disconnects when its cable moves or read operations begin; replace the cable first, then assign a letter only after the drive remains continuously connected.
1. Protect the files before doing anything else
Until the connection is stable:
- Do not format, initialize, delete, recreate, or clean any partition.
- Do not run CHKDSK again. Repair operations modify file-system metadata, and an interrupted repair can worsen data loss. Microsoft Q&A similarly recommends avoiding CHKDSK while an external drive repeatedly disconnects.^1^
- Do not use
diskpart clean; it removes partition or volume formatting information.^2^
- “Online” and “Healthy” are encouraging statuses, but they do not rule out an intermittent cable, enclosure, controller, or disk problem.
The fact that bumping the cable disconnects the drive makes a replacement cable the next actionable test, not another Windows configuration change. Microsoft’s Disk Management troubleshooting specifically notes that cables fail often and recommends trying another cable.^3^
If the enclosure has a separate power adapter, use it. Keep the laptop connected to AC power and disconnect other unnecessary USB devices; insufficient USB power can make a device unstable.^4^
2. Assign a letter after the connection is stable
Because list volume did not show a recognizable capacity, identify the device by physical disk size, then its partition, rather than guessing from the volume list.
Open Command Prompt as administrator, then run:
diskpart
list disk
select disk <external-disk-number>
detail disk
list partition
select partition <large-data-partition-number>
detail partition
assign letter=G
exit
Replace the placeholders only after matching the external disk’s expected capacity and model. Use an unused letter such as G: rather than F: in case F: is reserved or still associated with another volume. DiskPart commands act on the object currently in focus, so selecting the correct disk and partition is essential.^2^
The assign operation can succeed only when the selected partition maps to an assignable volume. Windows cannot assign letters to system, boot, paging-file, OEM, EFI System, Recovery, or non-basic-data GPT partitions.^5^ Do not modify small EFI, System, Reserved, OEM, or Recovery partitions; select the large data partition that previously contained the files.
If detail partition shows no associated volume, an unexpected partition type, RAW, an incorrect capacity, or the device disconnects during these commands, stop. A drive letter cannot safely fix an unreadable volume or unstable hardware connection.
You can also retry through Win+X → Disk Management → right-click the large data partition → Change Drive Letter and Paths → Add once the disk stays connected. Disk Management supports changing drive letters on Windows 10.^6^
3. Recover the files before repairing the disk
Once the volume opens, copy the irreplaceable files first, in small batches, to another storage device. Do not reformat until those copies have been opened and verified.
If a new cable does not stabilize it:
- Test the drive on another computer when one becomes available.
- If it disconnects there as well, stop ordinary repair attempts and contact the drive manufacturer or a professional data-recovery service.
- If it works normally elsewhere, copy the files there immediately; the original laptop’s USB controller or power delivery then becomes the remaining path to investigate.
Microsoft’s troubleshooting guidance says failure on another PC points toward the disk or its hardware, while important data on an unstable disk may require recovery software or a recovery lab.^3^
The repeated physical disconnection must be resolved before the separate drive-letter problem can be addressed safely. A Windows update is not required to perform the cable test or the supported letter-assignment procedure.
References
- External drive not connecting properly - Microsoft Q&A
- diskpart
- Troubleshoot Disk Management
- [Windows 10](https://support.microsoft.com/windows/hardware/usb/fix-usb-c-problems-in-windows)
- assign
- Disk Management in Windows | Microsoft Support