Notepad missing from "Open WIth" program list; Double-click on .TXT gives "Access Denied"
Posted on 2008-09-29
I recently noticed that, after creating a .TXT file in Notepad, the saved file can no longer be opened in Notepad simply by double-clicking it in Windows Explorer. Dialog box with error "Access Denied" pops up. I can, however, choose to open with Wordpad with no problem. Also, selecting the .TXT file from within Notepad after Notepad has already been launched works fine.
I checked file associations and found that .TXT files no longer had an associated program. Tried to set it back to Notepad.exe and found that Notepad is no longer even listed in the "Open With" program list for file associations. Then I checked to see if Notepad shows up in the "Open With" list from the context menu within Windows Explorer. Missing there too!
Notepad.exe is in my C:\Windows and C:\Windows\System32 folders, as it should be. It works fine by itself. Somehow it has been removed from "Open With" and therefore can no longer be associated with .TXT. So, I really need two things, to get my association back and to make sure Notepad is once again always an option in "Open With." I am guessing this is a registry issue, but I am not certain which keys to update -- or if there may be another fix for this. (FYI, platform is Windows Server 2003 SP2.)
Please let me know your insights! Thanks!