Files stored on the disc may become corrupted. Corruption can occur when a user moves files from one location to another, saves changes to the file, or tries to edit the file in a different program than the one in which it was created.

Just like files, directories can be corrupted.

Hard disk

Repair the corrupted directory in Windows 10

If the folder is damaged, you can still repair it and restore the files stored in it. There are tools you can use to repair a directory, but often these are paid tools that do not guarantee that the folder and its contents will be restored or that damaged items will be repaired.

Here are some methods you can use to try to repair a corrupted directory in Windows 10.

Run the DISM tool

The DISM tool can repair corrupted directories as long as they are Windows 10-specific directories, or system folders.

  • OpenCommand prompt with administrator privileges.
  • Run the following command:
DISM.exe /Online /Cleanup-image /Restorehealth

Let the command run and try to access the folder.

Perform the scan with SFC

Use the SFC scan tool to check for and repair file corruption.

  • OpenCommand prompt with administrator privileges.
  • Run the following command:
sfc /scannow

Restart the computer after completing the command.

Run the Disk Check tool

Check the disk for errors and correct them. Sometimes the data is not corrupted, but the way the files are stored or used.

  • Open a command prompt with administrator privileges.
  • Run the following command and check the drive with the letter D (replace the letter with the drive letter to be checked):
chkdsk /f D:
  • Switch to the directory after executing the command.
See also  How do I get to the CMD when Windows 10 doesn't start?

Note: If the corrupted directory is on drive C or Windows, you must run Disk Cleanup from outside Windows 10. Start a command prompt from the Windows 10 troubleshooting menu, and then run the C drive scan command.

Format the disc

If this problem occurs when you try to use external storage, such as a drive attached to the system, you may need to format the drive. If there is data on the disc, it will be lost.

  • Press the hot key Windows + X to open the System menu or use a command diskmgmt.msc dialogue Run.
  • Click Disk Management.
  • Right-click the unallocated part of the external drive and select New single.
  • Click To follow and set the volume size.
  • Give it a letter and format it with NTFS.
  • When the process is complete, disconnect the drive and reconnect it.

Start in safe mode

Try accessing the drive or folder in safe mode. It is possible that the applications you are using in normal mode on your system are causing problems with the directory.

  • Open Start menu and click the power button.
  • Hold down the key Upper case and click Restart.
  • Mene Troubleshooting> Advanced> Startup Settings> Startup.
  • choose an option Security mode and restart the system.
  • Try using a folder.

Note : If you access the folder in safe mode, back up its contents.

Create a new user account

Try creating a new user account. Corruption of system files can reach a point where the SFC and DISM scan tools cannot repair it. When you create a new user account, you get a new Windows 10 configuration.

  • Open the application settings with the hot key Windows + I.
  • Mene Account.
  • Select a tab Other users.
  • Click Add another user on this computer.
  • Create a local account.
  • Log in with a local account and open the folder.
See also  Windows 10 File Explorer not responding? Solutions


A damaged file cannot always be repaired. If you don’t have folder backups, you can try using apps that can fix it, but you need to manage your expectations. Data loss can still occur. If you often have problems accessing directories, your hard disk may be at the end of its life. Check it and replace it.

About the author


Leave a Comment