Wednesday, February 15, 2012

Restoring default icon for .dll files

I opened some .dll and .pdb files in Notepad, and now their icons was changed, and the recommended program is now Notepad. Not something that I want :)

To fix this, I did these steps. I think the combination of these steps worked

1) Opened regedit and browsed to HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\filetype\OpenWithList
     > Removed all values under the OpenWithList key. Retained only the (Default) value
     > Removed the UserChoice key

2) Lastly, opened up command prompt as an Administrator, and ran "assoc .dll=dllfile"

References: http://technet.microsoft.com/en-us/magazine/ee851670.aspx http://answers.microsoft.com/en-us/windows/forum/windows_vista-files/restore-default-file-icon-of-file-types-dll-and/6917a74b-2f99-44ed-86a3-7bd52d240b7e


*joychua97

2 comments:

  1. AWESOME! Easy fix. Wasted a lot of time watching youtube videos
    THANKs!

    ReplyDelete