Even though Windows 10 is the latest and greatest in a long line of Windows Operating Systems, it is far from perfect. There are a lot of known issues with Windows 10, one of which is Windows 10’s file and folder exploration utility, File Explorer, spontaneously crashing on the user as it scans for files and folders in any given directory. Although this File Explorer issue is not the most well known of them all, it has affected tons of users in the past and continues to plague the computers of many Windows 10 users.
While the exact culprit behind an affected user’s File Explorer crashing while scanning a directory for files is yet to be found, a solution has thankfully been uncovered. For some reason, simply running Windows 10’s built-in disk cleaning utility – Disk Cleanup – on an affected user’s C drive fixes the problem. Disk Cleanup is a built-in Windows 10 utility that scans partitions for everything from temporary files to lingering settings files and then allows the user to get rid of whatever data they think they no longer need. If your computer’s File Explorer crashes while scanning a directory for files/folders, here’s how you can run Disk Cleanup on your computer’s C drive and resolve this problem. In addition to running disk cleanup we recommend running Reimage Plus Repair to scan for file integrity, and if any files are modified or corrupt, repair them. You can download Reimage Plus Repair from here.
Open the Start Menu.
Search for “disk cleanup”.
Click on the search result titled Disk Cleanup to launch the utility.
Disk Cleanup will, as soon as it is launched, begin searching your computer’s C drive for all data that you could get rid of to free up space. Let it do so.
Once your C drive has been scanned completely, you will be presented with a list of all the files that your computer will benefit from the deletion of, along with the amount of space on your computer’s C drive that each type of files occupies. Make sure that you select each and every single one of these files by checking the boxes beside them, and then click on OK. All of the selected files will be deleted.
Once all of the selected files have been deleted, your File Explorer should no longer crash when it scans a directory on your computer for files and folders.
Resetting Netsh and Winsock
It is possible that certain internet configurations have been corrupted and are interfering with certain elements of the File Explorer due to which it is crashing. Therefore, it is recommended to reset these through the command prompt. For that:
- Press “Windows” + “X” buttons simultaneously.
- Select “Command Prompt (Admin)” from the list.
- Type in “netsh winsock reset” and press “Enter“.
- Wait for the configurations to be reset and replaced.
- Check to see if the issue persists.