Skip to content

Instantly share code, notes, and snippets.

@SandiyosDev
Created July 15, 2023 10:00
Show Gist options
  • Save SandiyosDev/7b5a681b8ddcf274385cb3d3cdc88dfc to your computer and use it in GitHub Desktop.
Save SandiyosDev/7b5a681b8ddcf274385cb3d3cdc88dfc to your computer and use it in GitHub Desktop.
Windows Explorer Freezing due to Unreachable Network File Associations
In certain Windows environments, Windows Explorer slows down significantly. This includes all operations, from opening a program to merely highlighting a file. Long delay times are experienced consistently across the system.
# Cause of the Problem
This issue can be traced back to the file associations on Windows. Here is a brief explanation: When you attempt to open a file type that has no associated default program, Windows prompts you to pick a program. If you select a program that is located on a network disk, and that disk becomes inaccessible or unreachable, Windows Explorer freezes. This behavior occurs not just when you are trying to open a file, but also when you are simply highlighting a file or even when you are at the root directory of a disk.
# Diagnosis and Troubleshooting
The issue can be diagnosed using a utility called FileTypesMan from NirSoft. This tool can help identify file association records that point to unreachable network disks.
# Further Work
I'll be working on creating a script that can automate the process of identifying and removing such problematic file association records. The script will be added to my repository in the future (Or other Windows scripts repos), keep an eye out.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment