In Windows 10 x64, sometimes when I double-click a folder in Windows Explorer, it opens Visual Studio instead of opening the folder. However, this doesn’t happen consistently and it’s not specific to any particular folder.

The issue usually occurs in the following way: I am working in Windows Explorer and when I double-click a folder, an error message appears saying “An internal error occurred”. If I double-click the folder again, nothing happens. However, if I click off the folder and then click back on it, I can usually open it.

Additionally, if I right-click on the same folder several times in a row, the context menu changes each time.

Sometimes the default action for the folder is 7Zip, other times it’s Visual Studio, and other times there is no default action and just copy and paste options in the context menu.

Askify Moderator Edited question May 2, 2023