Иногда не удается скопировать файлы на флешку или внешний жесткий диск из-за ошибки 0x80070052. Проблема часто возникает при использовании старой файловой системы, в которой есть ограничение на количество файлов в корневой папке. Если с ней сталкиваетесь при копировании зашифрованных данных, то, возможно, ключ шифрование не может быть перенесен.

Копирование в подкаталог

В каждой файловой системе FAT16, FAT32 или NTFS установлено ограничение относительно того, сколько файлов может содержать корневой каталог. Если диск отформатирован в FAT16, то корневой каталог не может содержать больше 128 файлов. Поэтому если лимит будет превышен, то не удастся выполнить копирование.

Проблему можно легко решить путем копирования данных в любую созданную папку на съемном носителе.

Форматирование диска в формате FAT32

Во многих случаях сообщение об ошибке 0x80070052 возникает, когда внешний носитель отформатирован в старой файловой системе, которая не может обработать файлы другого размера. Чаще с проблемой можно столкнуться при использовании устройств с FAT16.

Если не уверены, в какой файловой системе отформатирован съемный носитель, щелкните правой кнопкой мыши на букве диска в Проводнике и выберите Свойства. Ее можно узнать на вкладке «Общие» в разделе Тип.

Если обнаружили, что она имеет более старый формат (отличный от FAT32), то причина в нем. В этом случае, переформатируйте внешний накопитель в один из новых форматов.

Откройте Проводник и найдите внешний носитель, который вызывает ошибку 0x80070052 при попытке скопировать не него данные. Если на нем хранятся важные данные, создайте резервную копию, поскольку форматирование удалит все данные.

Щелкните на нем правой кнопкой мыши и выберите пункт Форматирование.

На экране форматирования проверьте, что в раскрывающемся меню файловой системы установлено значение FAT32. Затем установите размер кластера на 4096 байт.

Установите флажок на быстром способе и нажмите на кнопку «Начать».

После завершения операции попытайтесь скопировать те файлы, которые не удавалось из-за ошибки 0x80070052.

Копирование зашифрованных файлов

Проблема при копировании зашифрованных файлов может возникнуть, когда не передается ключ шифрования. Поэтому если используете встроенный метод шифрования, проверьте, что служба, связанная с менеджером учетных данных настроена на автоматический режим и работает в момент копирования. При использовании сторонней утилиты, она также должна быть запущена.

Если используете встроенное шифрование, откройте системные службы командой services.msc из диалогового окна Win + R.

Найдите в списке Диспетчер учетных данных и дважды кликните для входа в свойства.

На вкладке Общие убедитесь, что в типе запуска установлено значение «Автоматически».

Если служба была остановлена, щелкните на кнопку «Запустить» и примените изменения.

После проверьте, прерывается ли копирование ошибкой 0x80070052.

Восстановление накопителя

Причиной может быть какое-либо повреждение, которое вынуждает съемное устройство выдавать ошибку. Проблема часто возникает после неожиданной перезагрузки компьютера. В этом случае выполните проверку накопителя на наличие несоответствий.

Откройте Проводник, правым щелчком мыши по носителю откройте контекстное меню и выберите Свойства.

На вкладке Сервис выполните проверку диска на наличие ошибок. Затем кликните на сканирование и восстановление диска и дождитесь завершения процесса.

После завершения операции, извлеките и снова вставьте съемный носитель, а затем посмотрите, удалось ли устранить 0x80070052.

На чтение 2 мин Опубликовано Обновлено

В данной статье я расскажу из-за чего возникает ошибка 0x80070052 которая возникает при копировании файлов и папок на диск или съемный носитель. Текст ошибки звучит – Невозможно создать каталог или файл. Давайте разберемся что это за ошибка и как ее решить.

Всем привет! Сегодня при копировании на флешку баз данных 1с с компьютере под операционной системой Windows 7 , но на самом деле ошибка 0x80070052  может возникнуть и на Windows 10 т.к. данная ошибка говорит о том, что носитель на который происходит копирование превысила допустим лимит файлов в одной директории. Данное ограничение относится к старым версиям файловых систем такие как FAT

Ошибка 0x80070052 что это значит

В моем случае проблема была в том, что при копировании баз 1с в папке было около 38 тыс файлов, а если считать от корневой родительской категории то уже был приевышен лимит файлов

Содержание

  1. Сколько может быть максимально файлов в одной директории?
  2. Ограничения для файловой системы FAT32
  3. Ограничения для файловой системы NTFS
  4. Как исправить ошибку 0x80070052?

Сколько может быть максимально файлов в одной директории?

Ограничения для файловой системы FAT32

Файловая система FAT32 – пришла на смену устаревшей FAT16. Ее также разработали специалисты Microsoft, но, в отличие от NTFS, она распространяется в виде открытого исходного кода. Поэтому разработчики любого софта могут беспрепятственно компилировать и внедрять драйвер в свое ПО. Например, поддержка FAT32 есть не только в «родной» операционной системе, но и в любой другой — linux, MacOS, Android, даже в таких проприетарных системах, как iOS.

  • Максимальный размер диска: 2 терабайта
  • Максимальный размер файла: 4 гигабайта
  • Максимальное количество файлов на диске: 268,435,437
  • Максимальное количество файлов в одной папке: 65,534

Ограничения для файловой системы NTFS

Файловая система NTFS – фирменная файловая система Microsoft, которую разработчики начали внедрять в операционную систему Windows, начиная с версии NT 3.1. Несмотря на байки о ненадежности и низкой отказоустойчивости этой системы, NTFS считается самым лучшим и удачным решением для работы актуальных операционных систем Windows.

  • Максимальный размер диска: 256 терабайт
  • Максимальный размер файла: 256 терабайт
  • Максимальное количество файлов на диске: 4 294 967 295
  • Максимальное количество файлов в одной папке: 4 294 967 295

Как исправить ошибку 0x80070052?

Для того чтобы исправить ошибку 0x80070052 вам нужно следующие действия:

  1. сохранить на компьютер или другое устройство все файлы с флеш накопителя или съемного диска
  2. произвести форматирование диска
    Ошибка 0x80070052
  3. после пытаетесь сохранить данные снова на флешку.

Видео инструкция 

When the error 0x80070052 occurs, no new files or folders can be created or copied to disk. If you need to copy files to portable devices urgently, this will bring much inconvenience. MiniTool will provide you with several solutions.

The error 0x80070052 bothers plenty of users and probably you are one of them. When browsing Windows-based forums, I find many people are discussing Windows error 0x80070052. People who suffer from the error used the solution offered by other users but still receive it.

Here is a true example from Howtogeek.com.

When I try to put some pictures onto my SD card, I get 0x80070052 error and the picture will not go onto the card. I found on the internet that it’s a registry error and if you run Regcure that should fix it. I ran Regcure and fixed all the errors it found but I still get the 0x80070052 error when I try to put a picture on the card. Does anyone know how to fix this error?https://www.howtogeek.com/forum/topic/error-0x80070052-1

Why the error code 0x80070052 happens? What factors can cause the error? You will find the answer in the next section, so please keep reading.

What Causes Error 0x80070052

As it known to all, the directory or file cannot be created error message may appear when trying to copy files to removable devices such as USB flash drive, TF card, external HDD, or memory stick. It mostly occurs with photos and videos, especially those with a name exceed 20 characters.

Several factors can result in the error message 0x80070052. In summary, the following elements can lead to the error 0x80070052.

  • The directory or file name already exists on your USB.
  • The directory path could not be found on the drive.
  • There is no enough disk space on the USB.
  • The file or the directory name contains unacceptable characters.
  • The USB drive may not be formatted properly.
  • Windows system files are damaged.

Fix 1: Create a New Folder on the USB Drive

If the directory or file name you are copying already exists on your USB, the error 0x80070052 will appear. If so, you can create a new folder on your USB drive. Right click the blank space of your portable device, and then select New > Folder option from the prompted menu. After that, copy the directory or files to the newly created folder.

Fix 2: Reconnect USB Drive or Try Different USB Ports

If the connection between the USB and motherboard is loose, the system cannot detect the USB device. Under this circumstance, the 0x80070052 will occur to you. In this case, you just need to reconnect the USB device or connect it other USB ports on the computer.

Fix 3: Free USB Space

If there is no sufficient available disk space on the USB for the file or directory to be copied, you will encounter this copy error 0x80070052 too. To fix the problem, you can only copy the files with a capacity that your USB device can hold.

Alternatively, you can delete useless but space-consuming files on the USB device to free some space. If you don’t know what is taking up your USB drive, you can utilize a space analyzer tool to obtain the detailed information.

MiniTool Partition Wizard is such a tool. Its Space Analyzer feature will help you find what is taking up your USB space. Actually, this software enables you to check SSD health, recover missing data, clean up your computer, migrate OS and other operations related to hard disk besides analyze disk space usage. 

You can get this fantastic program by click the button below. After downloading and installing MiniTool Partition Wizard to your computer, follow the steps below.

MiniTool Partition Wizard FreeClick to Download100%Clean & Safe

Step 1: Connect the USB device to your computer. Launch MiniTool Partition Wizard to enter its main interface.

Step 2: Click on the Space Analyzer feature on the top of the main page to go on.

click on space analyzer on the top of the main interface

Step 3: In the Space Usage Analyzer window, choose your USB drive and click on Scan. After that, right click the file that takes much of your USB space and choose Delete (permanently).

delete files permanently

You may also be interested in this: What Is Taking up Space on Windows 10? Disk Space Analyzer Helps!

Fix 4: Format USB Drive to FAT32 or NTFS

The number of files on the root folder varies according to the file formats. If your portable device utilizes an old file system like FAT16, the root folder can only support a very limited number of files (not more than 128 files). Besides, the old file system cannot use this type of magnitude.

Note: FAT16 is the most possible file system that leads to the error 0x80070052.

You can know your USB device or external hard drive file system by right clicking the drive letter in File Explorer and select Properties. If your device is utilizing FAT16, you need to format your USB drive to a new file system like FAT32 or NTFS.

In addition to the limited file number, you are also required to format your removable device if it is formatted correctly before. What does formatting a hard drive do? Here are answers. If you have any important files on your removable device, please back up before formatting.

Though here are multiple ways to format your device to FAT32 or NTFS, a professional formatter is recommended to you.

MiniTool Partition Wizard is a secure and reliable software, which enables you to format your device with ease. It supports multiple file systems such as FAT32, NTFS, EXT2/3/4, etc.

MiniTool Partition Wizard FreeClick to Download100%Clean & Safe

Step 1: Connect your removable media to your computer, and then launch MiniTool Partition Wizard to enter the main page.

Step 2: Right click your device and choose the Format feature from the pop-up menu.

choose the Format feature

Step 3: In the Format Partition window, choose the file system that you want to format to (FAT32 for example), and then click OK to save the changes. Then, click Apply in the main page to execute the operation.

choose the file system you want to format to and apply it

Fix 5: Change the Name of the Directory or File

If the files or directory you are copying carry special characters like “&”, your USB drive will generate error 0x80070052 on Windows. In this case, you should change the name of the file or directory on the computer and then copy to the external device.

Fix 6: Copy Encrypted Files

When you receive the Windows error 0x80070052 during the process of copying encrypted files, you should do some extra work to make sure that the encryption key is also transferred.

If you utilize the built-in encryption method, you need to ensure that the service related to Credential Manager is in Automatic status and running simultaneously when copying the file.

What’s more, you should also ensure that the program (like McAfee) used for encrypting files is running when copying the encrypted files. If you would like to copy encrypted files to external device smoothly, you can refer to the following steps.

Step 1: Keep your third-party encryption program running.

Tip: If you utilize Windows built-in encryption utility, you can ignore this and jump to the next steps.

Step 2: After opening the Run window by pressing Win and R keys, type services.msc and press the Enter key to go on.

type the command and press enter

Step 3: In the Services screen, scroll down the service list to find Credential Manager. Right click it and click on Properties from the pop-up menu. 

open the properties of credential manager

Step 4: Set the Startup type of Credential Manager to Automatic, and then click on Start under the Service status tab. Finally, select Apply.

set the startup type and service status and then apply

Step 5: Copy the encrypted files that previously caused the directory or file cannot be created error to see if the error is fixed.

Fix 7: Repair Corrupted Drive

Due to corruption with the portable storage device, the error message 0x80070052 will appear. According to user report, the error usually occurs after an unexpected machine interruption.

The error is 0x80070052 rather common with SD cards that are used on cameras when you copy files from SD card to hard drives of your PC. To fix the error 0x80070052, you can repair your hard drive for corruption with these steps.

Step 1: After opening File Explorer, right click on the removable drive that triggers the error and select Properties from the menu.

Step 2: In the Properties window, choose Tools on the top of the window. After that, click Check button under Error-checking.

Step 3: If you are prompted with the UAC (User Account Control) window, just click on Yes to obtain the administrative access.

Step 4: Click on Scan and repair drive in the next window. Then, you need to wait for some time until the process finishes.

Step 5: After the process ends, unplug and re-plug the removable device to see if the error is fixed.

Are you bothered by the error 0x80070052? I solved the error with the solutions offered by this post. You can choose one to fix this annoying issue. Click to Tweet

Make Your Own Decision

There are 7 available methods to help you fix the troublesome Windows error 0x80070052. You can pick one from the given solutions based on your demand. Welcome any ideas or thought on the error 0x80070052. If you have any question about MiniTool software, please send us by writing an email via [email protected]

Error 0x80070052 FAQ

What is error 0x80070052?

The error 0x80070052 is a Windows error code, which can appear when you are copying files from computer to a USB flash drive, external hard drive, as well as other removable storage devices. It is very common and troublesome.

What does error code 0x80070052 mean?

When you encounter the error 0x80070052, you are unable to create any new files or folders and copy files to the disk. Hence, you have to solve it if you need to create or copy your files.

How do I fix error 0x80070052?

You can fix the error by 7 methods.

  1. Create a new folder on your USB drive
  2. Try reconnecting USB drive or different USB ports
  3. Free USB space
  4. Format your USB drive to FAT32 or NTFS
  5. Modify the name of the file or directory
  6. Copy encrypted files
  7. Repair corrupted removable drive

How many files can a FAT32 folder hold?

A FAT 32 directory can hold 65536 32bits entries at most. Each file needs 2 entries at least depending on the filename length. Generally speaking, long filenames are saved in 16bit Unicode characters.

Попытка копирования многих файлов на флеш-накопители может прерываться уведомлением об ошибке с кодом 0x80070052. Это связано с:

  • ограничениями производителя флешки на работу с файлами в корневой папке накопителя;
  • сбоями файловой системы накопителя.

0x80070052

Для решения ошибки пробуйте следующие способы:

  1. Измените файловую систему флешки. К примеру, если она была NTFS, то отформатируйте ее в FAT32. Испробуйте все возможные вариации переформатирования.
  2. Копируйте файлы не в корневую папку накопителя. Чтобы ошибка 0x80070052 не беспокоила, создайте отдельную директорию для требуемых файлов.

Some users are encountering the 0x80070052 (The directory or file cannot be created) when attempting to copy files to a removable media like a flash drive or external HDD. In most cases, the issue is reported to occur with photos, videos (particularly those with a name over 20 characters).

0x80070052 – The directory or file cannot be created an error message

If you’re using an older File System for your removable drive (like FAT16) the root folder can only support a limited number of files on the root folder. In this case, you can avoid the error entirely by pasting the files in a subfolder. But if you’re using an older system file format, you might consider formatting your drive and moving towards a newer iteration to avoid problems of this kind.

If you’re encountering the issue while attempting to copy encrypted files, it’s most likely because the encryption key cannot be moved alongside the file. To fix this, ensure that the Credential Manager and/or the 3rd party utility you used to encrypt the files are running at the time when you attempt to copy the file/s.

However, in some instances, the 0x80070052 error can also be caused by some type of system file corruption. To fix it, simply run the Error-checking tool and reconnect the media once the process is complete.

Copy the Files in a Subfolder

If you get this error while trying to copy the files on the root folder, you might be able to avoid the issue entirely by copying the files to a different location (from the root folder).

Keep in mind that regardless of the file system that you are using (FAT16, FAT32, NTFS), each one of them has a limitation regarding how many files can the root folder contains. For example, if you’re using FAT16, the root folder can’t contain more than 128 files.

A lot of users that we’re struggling to resolve the 0x80070052 error have confirmed that the issue no longer occurred once they attempted to create a folder on the removable drive (instead of pasting the file directly onto the root folder).

If you think this scenario might apply to your current situation, simply open your removable drive, right-click on space and choose New > Folder. Next, name the newly created folder however you want, then paste the files that you want to copy directly into it (not the root folder)

Creating a folder to copy the files away from the root folder

See if you’re still encountering the same 0x80070052 (The directory or file cannot be created) even when copying the files away from the root folder.

In case the same issue is persisting, move down to the next potential fix below.

Format the Drive to FAT32

In most cases, the 0x80070052 (The directory or file cannot be created) error will occur if the file system you’re trying to copy files to is formatted to an older file system that can’t handle files of this magnitude – FAT16 is the most common file system format that is reported to cause this issue.

If you’re not sure what File system you’re using for your external HDD or flash drive, you can find out by right-clicking on your drive letter in File Explorer and choose Properties from the context menu. Inside the Properties screen, select the General tab and check the File system (under Type).

Discovering the File System used for the removable drive

If you discovered that the file system is of an older format (different from FAT32), there’s a high chance that you will be able to fix the issue by formatting the drive to a modern file system like FAT32. Follow the instructions below for instructions on how to do this:

  1. Open File Explorer and identify the removable media that is triggering the 0x80070052 when you attempt to copy files on it. Once you see it, right-click on it and choose Format from the newly appeared context menu.
    Formatting the removable drive

    Note: If you have important files stored on that drive, back them up before initiating a formatting procedure – This operation (even if you go for a Quick Format) will remove any data from the drive).

  2. Inside the Format screen, ensure that the drop-down menu associated with File System is set to FAT32. Next, set the Allocation unit size to 4096 bytes.
    Configuring the formatting utility

    Note: If you had other corruption-related issues with this removable drive, you might need to consider unchecking the box associated with Quick Format. But keep in mind that unless you go for a Quick Format, the operation might end up taking several hours.

  3. Hit Start to launch the operation and wait for the process to complete.
  4. After the operation is finished, attempt to copy the same files that were previously triggering the 0x80070052 error again and see if the issue is now resolved.

In case the same problem is still occurring or this scenario wasn’t applicable, move down to the next potential fix below.

Copy Encrypted Files

If you’re encountering this issue while attempting to move encrypted files, you will need to take additional precautions to ensure that the encryption key is also transferred.

In case you used the built-in encryption method, all you need to do is ensure that the service associated with the Credential Manager is set to Automatic and running at the time when the file copying is taking place.

However, if you encrypted the files externally (with a service like McAfee encryption or a different 3rd party utility), you’ll need to ensure that the program is running when you are copying the encrypted files.

Here’s a generic step-by-step guide that will allow you to copy encrypted files on a flash drive without encountering 0x80070052 (The directory or file cannot be created):

  1. Ensure that the 3rd party program you used to encrypt the files is running.
    Enabling Encryption

    Note: Ignore this step if you’ve only used the built-in Windows encryption.

  2. Press Windows key + R to open up a Run dialog box. When you see the Run box, type ‘service.msc’ inside the text box and press Enter to open up the Services screen.
    Opening services by typing “services.msc” in the RUN command.
  3. Once you’re inside the Service screen, move over to the right-hand section and scroll down through the list of locally installed services until you find the Credential Manager.
  4. After you manage to locate it, right-click on it and choose Properties from the newly appeared context menu.
    Accessing the Properties screen of Credential Manager
  5. Inside the Properties screen of Credential Manager, select the General tab and ensure that the Startup type is set to Automatic. Then, click on the Start button to ensure that the service is currently running and click Apply to save the changes.
    Configuring the Credential Manager
  6. Copy the encrypted files that were previously triggering the 0x80070052 (The directory or file cannot be created).

In case the same issue is persisting, move down to the next potential fix below.

Repair the Drive for Corruption

As it turns out, this particular issue can also occur due to some type of corruption that is forcing the removable storage device to throw this error. In most cases that we looked at, the issue has started occurring after an unexpected machine interruption.

The problem is fairly common with SD cards that are being used on cameras (they work fine there) but throw this error while the user tries to copy the files from the SD card on their computer HDD / SSD.

If this scenario is applicable, be advised that some affected users have managed to fix the issue by triggering a drive repair from the Properties menu.

Here is a quick guide on scanning & repairing the drive from any corruption that might end up causing the 0x80070052 error:

  1. Open File Explorer, right-click on the removable drive that you’re encountering issues with, and choose Properties from the context menu.
    Repairing the drive
  2. Inside the Properties screen, select Tools from the horizontal tab at the top. Then, click on the Check button under Error-checking.
  3. When you’re prompted by the UAC (User Account Control), click Yes to grant administrative access.
  4. Once you get to the next screen, click on Scan and repair drive and wait for the process to complete.
    Scanning and Repairing removable drive
  5. After the operation is complete, remove & reinsert the removable drive, then see if the issue is resolved when you attempt to copy the files again.

Photo of Kevin Arrows

Kevin Arrows

Kevin Arrows is a highly experienced and knowledgeable technology specialist with over a decade of industry experience. He holds a Microsoft Certified Technology Specialist (MCTS) certification and has a deep passion for staying up-to-date on the latest tech developments. Kevin has written extensively on a wide range of tech-related topics, showcasing his expertise and knowledge in areas such as software development, cybersecurity, and cloud computing. His contributions to the tech field have been widely recognized and respected by his peers, and he is highly regarded for his ability to explain complex technical concepts in a clear and concise manner.

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *