Translate into English

Workable Solutions Step-by-step Troubleshooting
Method 1. Change a USB Port Firstly, try re-inserting or re-plugging the external hard drive, USB, or SD card into a different USB port...Full steps
Method 2. Check Disk Errors If changing ports or computers doesn't help, attempt to check and repair disk errors...Full steps
Method 3. Update Disk Driver The issue 'The directory name is invalid' might result from an outdated disk driver. Try updating the disk driver...Full steps
Recover Data from Storage Device If the issue persists, perform data recovery to retrieve your data...Full steps

Numerous users who performed a Windows 10 upgrade have reported encountering the 'directory name is invalid' error when connecting their USB flash drive, external hard drive, or SD card to a computer.

The Directory Name Is Invalid Error in Windows 10

遇上这个问题,他们就无法打开设备并访问其中的数据。在这里,无论你想要在Windows 10中恢复数据还是解决问题,都能获得帮助。

Note: To safeguard the data security on your USB flash drive or other storage devices, make sure to utilize Data Recovery Wizard to retrieve your data when you have resolved the directly name invalid error on your Windows PC.

Method 1: Fix the "Directory Name is Invalid" Error by Changing the USB Port

When encountering a 'The directory name is invalid' error in Windows 10, your first troubleshooting step is to尝试重新插入或通过另一个端口重新连接外部硬盘、USB设备或SD卡。有些用户表示,更换USB端口可以解决这个问题。

Method 2: Resolve the "Directory Name is Invalid" Error by Checking Disk Errors

If that doesn't work, connect the device to another computer to see if it can be opened. If the device is inaccessible, try to check and run disk repair in Windows 10. Otherwise, it indicates that the 'the directory name is invalid' error is unrelated to disk corruption, and you'll need to explore other methods to resolve the issue.

Method 3: Update Disk Driver to Resolve "Directory Name Is Invalid" Error

After eliminating the possibilities that the 'directory name is invalid' error is caused by USB port issues or disk errors, we can speculate that the problem might originate from the disk driver. In this scenario, it's recommended to attempt updating the disk driver and see if that resolves the issue.

Step 1. Press the "Windows + R" key.

Step 2. Type devmgmt.msc and press "Enter" to open Device Manager.

Fix the directory is invalid error.

Step 3. Expand "Disk Drives".

Fix for The directory is invalid error

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

Fix Windows 10 with the directory is invalid error.

Recover Data from "The Directory Name Is Invalid" Error in Windows 10/11

If the "directory name is invalid" error persists or if any data loss occurs during the fixing process, you can try using tools like Data Recovery Wizard to scan the external hard drive, USB, or SD card to locate and recover your important files.

This data recovery software enables you to effortlessly recover over 1000 types of files. Additionally, it can automatically repair corrupted files following data recovery. Download this file recovery tool for free now and restore your files step by step.

Step 1. Launch the Data Recovery Wizard tool. Select the drive where you lost your files and initiate the scanning process. This software enables you to retrieve lost data from various devices, including HDD, SSD, USB drive, SD card, pen drive, camera, and so on.

Select a location to scan

Step 2. Browse the full scan results. You can select the file type you need by clicking on the file type filter. The data recovery software supports over 1000 file types, including photos, videos, documents, emails, audio files, and many more.

Select files to recover

Step 3. Select the files you wish to preview. Click "Recover" and specify a storage location to save the retrieved data.

Recover lost data