| Workable Solutions | Step-by-step Troubleshooting |
|---|---|
| Method 1. Change a USB port | You can first try to re-insert or replug the external hard drive, USB, or SD card via another USB port...Full steps |
| Method 2. Check Disk Errors | If changing another USB port or PC doesn't work, try to check and repair disk errors...Full steps |
| Method 3. Update Disk Driver | 'The directory name is invalid' might be caused by an outdated disk driver. Try to update the disk driver...Full steps |
| Recover Data from Storage Device | If the 'The directory name is invalid' problem still exists, perform data recovery to get data off...Full steps |
Some users who upgraded to Windows 10 reported encountering the "directory name is invalid" error when trying to access their USB flash drive, external hard drive, or SD card.
If your device is caught by a problem, you will not be allowed to open the device and access your data there. You can get help to recover data in Windows 10 or fix the problem.
Note: To protect data security on your USB flash drive or other storage devices, use data recovery software to retrieve data when you've resolved the directly name invalid error on your Windows PC.
If Windows 10 reports a 'The directory name is invalid' error, try re-inserting or replugging the external hard drive, USB, or SD card into a different USB port, as some users have found that changing the port can resolve the issue.
If the issue persists, try connecting the device to a different computer to see if it can be accessed. If it can't be accessed, check and repair disk errors in Windows 10. If it can be accessed, it suggests that the 'directory name is invalid' error is not related to disk corruption, and you should explore other solutions to resolve the issue.
If the 'directory name is invalid' error persists after ruling out USB ports and disk issues, it's likely related to the disk driver. Try updating the disk driver to see if it resolves the issue.
Step 1. Press the "Windows + R" Key.
Step 2. Type devmgmt.msc and press "Enter" to open device manager.
Step 3. Expand "Disk Drives".
Step 4. Right-click on the external drive, USB, or SD card driver, then click on "Update Driver Software".
If the issue persists or data is lost during the fix, you can use Qiling disk data recovery software to scan the drive, SD card, or USB and recover your important files.
This data recovery software allows you to easily recover over 1000 types of files and automatically repair corrupted files after recovery. You can free download this file recovery tool and follow the steps to restore your files.
Step 1. Launch Deep Data Recovery, select the desired file types, and click "Next" to initiate the recovery process.
Step 2. To recover lost files, run Deep Data Recovery, select the drive where the files were lost, and start scanning. This software can recover data from various devices, including hard drives, solid-state drives, USB drives, SD cards, pen drives, and cameras.
Step 3. You can browse the full scan results and choose the file type you need by clicking on the file type filter. Qiling data recovery software supports 1000+ file types, including photos, videos, documents, emails, audio files, and many more.
Step 4. Select the files you want to preview, click "Recover", and choose a storage location to save the recovered data.