Table of Contents
About the Author
Reviews and Awards
- Video Recovery
- SD Card Recovery
- Recycle Bin Recovery
- Recover Data from USB
- Recover Deleted Emails
- Hard Drive Not Showing Up in Windows
- Recover Unsaved Word Documents
- Recover Deleted Files
- Recover Files from Virus Infected Hard Drive
- Best Free Photo Recovery Software
- Recover Files from Formatted Hard Drive
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 |
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 a PC.
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.
Note: To protect data security on your USB flash drive or other storage devices, do remember to use EaseUS Data Recovery Wizard to get data off when you've removed the directly name invalid error from your Windows PC.
Method 1. Change USB Port to Fix The Directory Name Is Invalid error
When it reports a '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. Fix The Directory Name Is Invalid by Checking 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 run disk repair in Windows 10. Otherwise, it suggests that the '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 to Fix Directory Name Is Invalid
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 the disk driver. In this case, we recommend you try to update the disk driver and check if it helps.
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 and click on "Update Driver Software".
Recover Data from"The Directory Name Is Invalid" Error in Windows 10/11
If 'the directory name is invalid' error still persists or any data loss happens during the fixing process, you can try EaseUS EaseUS Data Recovery Wizard to scan the external hard drive, USB, or SD card to find and retrieve your important files.
This data recovery software allows you to recover 1000+ types of files with ease. What's more, it can repair corrupted files automatically after data recovery. Now, free download this file recovery tool and restore your files step by step.
Step 1. Run EaseUS Data Recovery Wizard. Choose the drive where you lost files and start scanning. This software allows you to recover lost data from all devices, including HDD, SSD, USB drive, SD card, pen drive, camera, etc.
![select a location to scan](/images/en/data-recovery/drw-pro/screenshots/recover-lost-data-step1.png)
Step 2. Browse the full scan results. You can choose the file type you need by clicking on the file type filter. EaseUS data recovery software supports 1000+ file types like photos, videos, documents, emails, audio files, and many more.
![Choose files to recover](/images/en/data-recovery/drw-pro/screenshots/recover-lost-data-step2.png)
Step 3. Select the files you want to preview. Click "Recover" and set a storage location to save the recovered data.
![Recover lost data](/images/en/data-recovery/drw-pro/screenshots/recover-lost-data-step3.png)
Was This Page Helpful?
![](/images/en/icon/grantham.jpg)
Cedric Grantham is a senior editor and data recovery specialist of EaseUS. He mainly writes articles and how-to tips about data recovery on PC and Mac. He has handled 10,000+ data recovery cases and is good at data recovery of NTFS, FAT (FAT32 and ExFAT) file systems, and RAID structure reorganization.
![](/images/en/icon/evan-galasso.png)
Approved by Evan Galasso
Evan Galasso is a digital forensics and data recovery engineer with over 10 years of experience in the field. He presents opinions on the current state of storage media, reverse engineering of storage systems and firmware, and electro-mechanical systems of SSDs and HDDs.
-
EaseUS Data Recovery Wizard is a powerful system recovery software, designed to enable you to recover files you’ve deleted accidentally, potentially lost to malware or an entire hard drive partition.
Read More -
EaseUS Data Recovery Wizard is the best we have seen. It's far from perfect, partly because today's advanced disk technology makes data-recovery more difficult than it was with the simpler technology of the past.
Read More -
EaseUS Data Recovery Wizard Pro has a reputation as one of the best data recovery software programs on the market. It comes with a selection of advanced features, including partition recovery, formatted drive restoration, and corrupted file repair.
Read More
Related Articles
-
Top 10 Best Free Data Recovery Software [Data Recovery Experts Reviewed]
Brithny/2023/10/19
-
Recover Deleted Files from SD Card Without Software | How-to
Dany/2023/11/17
-
How to Recover Black Box Recordings (FDR/CVR) from a Flight/Plane
Brithny/2023/12/15
-
How to Recover Files from a Formatted Hard Drive (2023)
Jean/2023/11/27