> How to > Data Recovery > How to Fix The Directory Name Is Invalid in Windows 10

How to Fix The Directory Name Is Invalid in Windows 10

Updated on May 18, 2018 by Abby Haines to Data Recovery

Summary

Get 'the directory name is invalid' error in Windows 10? This page tells you how to get the problem fixed and regain access to your data on USB flash drive, external hard drive or SD card.

Many users who did a Windows 10 upgrade reported that they have encountered 'the directory name is invalid' error while plugging their USB flash drive, external hard drive or SD card into PC. 

The Directory Name Is Invalid Error in Windows 10

Being caught by this problem, they will not be allowed to open the device and access your data there. Here, you can get help no matter you want to recover data in Windows 10 or get the problem fixed with next two parts:

Notice: To protect data security on your USB flash drive or other storage devices, do remember to follow Part 2 for a data recovery assistance when you've removed the directly name invalid error from your Windows PC.

Part 1. Fix the Directory Name Is Invalid Error in Windows 10

Method 1 - Change USB Port

When it reports 'the directory name is invalid' error in Windows 10, the first thing you can try is to re-insert or replug the external hard drive, USB or SD card via another port. Some users said changing the USB port solved the problem. 

Method 2 - Check Disk Errors

If this does not work, connect the device to another computer to check if can be opened or not. If the device can not be accessed, try to check and repair disk errors in Windows 10. Otherwise, it suggests that 'the directory name is invalid' error has nothing to do with disk corruption and you have to try other ways to get the error fixed.

Method 3 - Update Disk Driver

After ruling out the possibility that 'the directory name is invalid' error appears because of USB ports issue or disk errors, we can guess that the problem might stem from disk driver. In this case, we recommend you to try to update the disk driver and check if it helps.

1) Press Windows + R Key.
2) Type devmgmt.msc and press Enter to open device manager.

Fix the directory is invalid error.

3) Expand Disk Drives.

The directory is invalid error fix.

4) Right-click on the external drive, USB or SD card driver and click on Update Driver Software.

Fix Windows 10 with the directory is invalid error.

Part 2. Recover Data When The Directory Name Is Invalid Error Occurs in Windows 10

If 'the directory name is invalid' error still persists or any data loss happens during the fixing process, you can try EaseUS data recovery software to scan the external hard drive, USB or SD card to find and retrieve your important files.  

1. Connect the external hard drive, USB or SD card to PC, launch the software, select the device and click "Scan" button.

Recover Data from The Directory Name Is Invalid Error in Windows 10 - Choose to Scan Specific Disk

2.A quick scan and deep scan will start successively to search for all the lost and existing data on the selected device.

Recover Data from The Directory Name Is Invalid Error in Windows 10 - Run a Quick Scan and Deep Scan

3. After the scan, preview and choose the files you want. Finally, click "Recover" button to retrieve them back from the external hard drive, USB or SD card.

Selectively Recover Data from The Directory Name Is Invalid Error in Windows 10 -