Skip to Content

How to Fix Error 0x80070052 directory or file cannot be created when Copy or Move File?

Some Windows users are encountering error 0x80070052 with a detailed message “The directory or file cannot be created.” when copy or move files to removable drives such as flash drive or external HDD. The detail error message as below:

An unexpected error is preventing the operation. Make a note of this error code, which might be useful if you get additional help to resolve this problem:
Error 0x80070052: The directory or file cannot be created.

[Solved] How to Fix "Error 0x80070052: The directory or file cannot be created." when Copy

Solution 1: Reconnect removable drive to other USB port

Windows unable to detect the USB device if the connection between the USB port and the motherboard is loose. You just need to reconnect the USB device or connect it to other USB ports on the computer.

Solution 2: Copy or move the files into a subfolder

Reminder: Perform below steps only when your destination folder is the root folder of the removable drive.

  1. Open the destination drive, right-click on a space and choose New > Folder.Create new sub folder
  2. Paste the files into the new folder.

Solution 3: Rename the folder or file

Change the name of the file or folder on the computer to avoid using special characters such as & and then copy to the removable drive.

Solution 4: Free up more space in removable drive

Only copy or move the files with a capacity that removable drive able to hold or you can delete unused files on the drive to free up some space.

Solution 5: Change files permission

  1. Right-click the file or folder for which you want to set permissions, choose Properties option.
  2. Click the Security tab.
  3. Click on the Edit… button to open the Permission dialog box.
  4. Perform the below actions:
    • Click Add button to set permissions for a group or user that does not appear in the Group or User Name field, then enter the name of the group or user for whom you want to set permissions.
    • Click on the name of the group or user to change or delete permissions for an existing group or user.
    • Select the Allow or deny checkbox for the type of authorization.
    • Click the Remove button to remove the group or user from the Group or user name field.
  5. Click the OK button.

Solution 6: Perform Windows clean boot

  1. Press Windows key + R to open the Run box.
  2. Type msconfig and press Enter to open the System Configuration. If the UAC (User Account Control) prompted then click Yes to grant administrative access.
  3. Click the Services tab, check the Hide all Microsoft services check box, then click Disable all button.
  4. Click the OK button.
  5. Restart your PC.

Solution 7: Format the destination drive to the FAT32 or NTFS file system

Reminder: Perform below steps only when your destination driver’s file system is FAT16.

  1. Open File Explorer, right-click on the destination drive and choose the Format option from the context menu.Format drive
  2. Ensure that File System drop-down menu set to FAT32 (Default) or NTFS, Allocation unit size set to 4096 bytes and uncheck the Quick Format.Format destination drive to FAT32
  3. Click the Start button to launch the drive format operation.

Solution 8: Copy encrypted files

Make sure the 3rd party program such as McAfee Drive Encryption is running. Ignore this step if you’ve only used the built-in Windows encryption.

  1. Press Windows key + R to open the Run box.
  2. Type service.msc and press Enter to open the Services console.
  3. Scroll down through the list of locally installed services to find the Credential Manager service.
  4. Right-click on Credential Manager service and choose Properties option from the context menu.
  5. Select the General tab and ensure that the Startup type is set to Automatic.
  6. Click on the Start button to ensure that the service is currently running and click the Apply button to save the changes.

Start Credential Manager service.

Solution 9: Repair the destination drive for corruption

  1. Open File Explorer, right-click on the destination drive and choose Properties option from the context menu.Drive properties
  2. Go to Tools tab then click on the Check button under the Error checking section. If the UAC (User Account Control) prompted then click Yes to grant administrative access.
  3. Click on Scan and repair drive link and wait for the process to complete.