Search similar:
|
|
uniqs 5832 |
|
|
|
|
[Help] Notepad++ & Messed Up txt iconsWhen I installed Notepad++ months and months ago it screwed up all my txt file icons. This happened both on my home and work PC's, but I've just lived with it. Today I've been digging around trying to figure out what the heck is going on, and have gotten nowhere - other than finding out that I am not aloneYou can see in the screenshots that when I go into the file type and try to change the icon, it's displayed correctly there. I've read in various places about deleting a file or folder in the Windows directory called ShellIconCache (or something like that) but can't find it on my PC (and yes I have "hide system files" unchecked). I tried a couple of the registry hacks suggested in the forum I linked to above but they did nothing to help so I reverted the changes. Has anybody else run into this problem and found a solution? It really drives me crazy... I even tried uninstalling Notepad++ to see if it would revert back to notepad, but the icons were still screwed up. So I've reinstalled - the latest version this time... Any suggestions? | | auggy Mod join:2001-12-24 Brockville, ON |
auggy
Mod
2007-Sep-7 11:47 pm
Can you check the following registry key:
HKEY_CLASSES_ROOT\txtfile\DefaultIcon
In the right-hand window, what is the default value (Default)?
BTW, what Operating System?
Have you ever had installed another Notepad replacement other than Notepad++? | | jmorlanHmm... That's funny. MVM join:2001-02-05 Pacifica, CA ARRIS BGW210-700 Obihai OBi200
|
to DFWDraco76
| | | 2 edits |
to auggy
value is %SystemRoot%\system32\shell32.dll,-152
Sorry, XP Pro here
No other notepad replacement... it was notepad, then notepad++.
Tried repairing icons in TweakUI as you suggested jmorlan, but it didn't affect the .txt file icons. | | jmorlanHmm... That's funny. MVM join:2001-02-05 Pacifica, CA |
Does this help at all?
regsvr32 /i shell32.dll | | auggy Mod join:2001-12-24 Brockville, ON |
to DFWDraco76
Can you also check the default value for the following registry key:
HKEY_CLASSES_ROOT\SystemFileAssociations\text\DefaultIcon | | |
to jmorlan
nope - it came up after several seconds saying it succeeded, but no change wrt to the .txt icons.
auggy the value of that one is also %SystemRoot%\system32\shell32.dll,-152
Thanks for everybody's help! | | auggy Mod join:2001-12-24 Brockville, ON |
auggy
Mod
2007-Sep-8 10:35 am
The %SystemRoot%\system32\shell32.dll,-152 is the default value for XP and at the HKEY_CLASSES_ROOT\txtfile\DefaultIcon registry key should result in the display of the Notepad icon. The problem then may be a registry entry or entries created by Notepad++ blocking the display of the proper icon. In the following link is a utility FileExtInfo.zip. Can you download FileExtInfo.zip, unzip it and run it. Select the .txt extension and the "View file association report": » windowsxp.mvps.org/filee ··· info.htmUpload the generated .txt file and I can see if I can spot where the problem may be. Also, in your "Edit File Type" screen shot the proper icon appears to be showing for Notepad++. Have you tried just hitting the "OK" button and see if that has any effect? Do this prior to running the "FileExtInfo" utility. | | 1 edit |
Yes I've tried that - hitting ok has no effect. Here's the FileExtInfo report: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
File association information for [.TXT] file type
Generated by FileExtInfo v2.0 on 9/8/2007 9:57:34 AM
FileExtInfo © 2005-2007 Ramesh Srinivasan.
Homepage: http://www.winhelponline.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[HKEY_CLASSES_ROOT\.TXT]
@="Notepad++_file"
"PerceivedType"="text"
"Content Type"="text/plain"
"Notepad++_backup"="txtfile"
[HKEY_CLASSES_ROOT\.TXT\PersistentHandler]
@="{5e941d80-bf96-11cd-b579-08002b30bfeb}"
[HKEY_CLASSES_ROOT\.TXT\ShellNew]
"NullFile"=""
[HKEY_CLASSES_ROOT\Notepad++_file]
@="Notepad++ Document"
"EditFlags"=dword:00000000
"BrowserFlags"=dword:00000008
"AlwaysShowExt"=""
[HKEY_CLASSES_ROOT\Notepad++_file\DefaultIcon]
@="C:\\Program Files\\Notepad++\\notepad++.exe,0"
[HKEY_CLASSES_ROOT\Notepad++_file\ScriptHostEncode]
@="{85131631-480C-11D2-B1F9-00C04F86C324}"
[HKEY_CLASSES_ROOT\Notepad++_file\shell]
@=""
[HKEY_CLASSES_ROOT\Notepad++_file\shell\Edit]
@="&Edit"
[HKEY_CLASSES_ROOT\Notepad++_file\shell\Edit\command]
@="\"C:\\Program Files\\Microsoft Office\\OFFICE11\\msohtmed.exe\" %1"
[HKEY_CLASSES_ROOT\Notepad++_file\shell\open]
[HKEY_CLASSES_ROOT\Notepad++_file\shell\open\command]
@="\"C:\\Program Files\\Notepad++\\notepad++.exe\" \"%1\""
[HKEY_CLASSES_ROOT\Notepad++_file\shell\Print]
@="&Print"
[HKEY_CLASSES_ROOT\Notepad++_file\shell\Print\command]
@="\"C:\\Program Files\\Microsoft Office\\OFFICE11\\msohtmed.exe\" /p %1"
[HKEY_CLASSES_ROOT\Notepad++_file\ShellEx]
[HKEY_CLASSES_ROOT\Notepad++_file\ShellEx\IconHandler]
@="{42042206-2D85-11D3-8CFF-005004838597}"
[HKEY_CLASSES_ROOT\SystemFileAssociations\text]
[HKEY_CLASSES_ROOT\SystemFileAssociations\text\DefaultIcon]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,68,00,\
65,00,6c,00,6c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,31,00,35,\
00,32,00,00,00
[HKEY_CLASSES_ROOT\SystemFileAssociations\text\OpenWithList]
[HKEY_CLASSES_ROOT\SystemFileAssociations\text\OpenWithList\Notepad.exe]
[HKEY_CLASSES_ROOT\SystemFileAssociations\text\OpenWithList\WordPad.exe]
@=""
[HKEY_CLASSES_ROOT\SystemFileAssociations\text\shell]
[HKEY_CLASSES_ROOT\SystemFileAssociations\text\shell\edit]
[HKEY_CLASSES_ROOT\SystemFileAssociations\text\shell\edit\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4e,00,4f,00,\
54,00,45,00,50,00,41,00,44,00,2e,00,45,00,58,00,45,00,20,00,25,00,31,00,00,\
00
[HKEY_CLASSES_ROOT\SystemFileAssociations\text\shell\open]
[HKEY_CLASSES_ROOT\SystemFileAssociations\text\shell\open\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4e,00,4f,00,\
54,00,45,00,50,00,41,00,44,00,2e,00,45,00,58,00,45,00,20,00,25,00,31,00,00,\
00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.TXT]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.TXT\OpenWithList]
"a"="NOTEPAD.EXE"
"MRUList"="bac"
"b"="notepad++.exe"
"c"="firefox.exe"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.TXT\OpenWithProgids]
"txtfile"=hex(0):
"Notepad++_file"=hex(0):
| | auggy Mod join:2001-12-24 Brockville, ON |
auggy
Mod
2007-Sep-8 11:37 am
I believe the problem may be with the following registry entry:
[HKEY_CLASSES_ROOT\Notepad++_file\ShellEx\IconHandler] @="{42042206-2D85-11D3-8CFF-005004838597}"
The "42042206-2D85-11D3-8CFF-005004838597" appears to be a CLSID that is not Notepad++.
Have you ever had Adobe GoLIve installed? | | |
yes.... my better half installed it for a while, but it's been removed.
I searched the registry for that CLSID and had numerous hits. It appears to be related to Office somehow...
I've seen this more than once: C:\Program Files\Microsoft Office\OFFICE11\msohev.dll
one place referenced "Microsoft Office HTML Icon Handler" | | auggy Mod join:2001-12-24 Brockville, ON 1 edit |
auggy
Mod
2007-Sep-8 3:37 pm
The "42042206-2D85-11D3-8CFF-005004838597" does appear to be an Office CLSID. The problem with Adobe GoLive is that it can hijack file associations which some times results in the "generic" icon being displayed for some files such as html files and the problem may be at the "HKEY_CLASSES_ROOT\CLSID\{42042206-2D85-11D3-8CFF-005004838597}\Old Icon\htmlfile\DefaultIcon" registry key. Can you check that registry key. The following link gives an idea of what to look for: » www.kingsley-hughes.com/ ··· live.phpAlso, at the HKEY_CLASSES_ROOT\CLSID\{42042206-2D85-11D3-8CFF-005004838597}\Old Icon registry key, what folders exist under "Old Icon"? | | |
It appears the Notepad++_file does not have the DefaultIcon key... I could create it and add c:\program files\notepad++\notepad++.exe - but the other ones have a comma followed by a number - what do those mean? ,1 for example, or ,-32554. | | auggy Mod join:2001-12-24 Brockville, ON |
auggy
Mod
2007-Sep-8 8:48 pm
The numbers, I believe, are icon index numbers which are identifier numbers, and they can be negative.
For Notepad++ you could add C:\Program Files\Notepad++\notepad++.exe,0 as the path to the icon.
Your .reg file seems to be unreadable, but what is the "Default" value for DefaultIcon under FirefoxHTML and the "Default" value for DefaultIcon under mhtmlfile.
Also, as an alternative you could consider deleting the HKEY_CLASSES_ROOT\Notepad++_file\ShellEx\IconHandler registry key as this entry seems to point to a non-existent icon. You can export the key prior to deleting and log off and back on again afterwards or reboot the computer. | | |
odd. Here are the contents of the file: Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\CLSID\{42042206-2D85-11D3-8CFF-005004838597}]
[HKEY_CLASSES_ROOT\CLSID\{42042206-2D85-11D3-8CFF-005004838597}\InprocServer32]
@="C:\\Program Files\\Microsoft Office\\OFFICE11\\msohev.dll"
"ThreadingModel"="Apartment"
[HKEY_CLASSES_ROOT\CLSID\{42042206-2D85-11D3-8CFF-005004838597}\Old Icon]
[HKEY_CLASSES_ROOT\CLSID\{42042206-2D85-11D3-8CFF-005004838597}\Old Icon\FirefoxHTML]
[HKEY_CLASSES_ROOT\CLSID\{42042206-2D85-11D3-8CFF-005004838597}\Old Icon\FirefoxHTML\DefaultIcon]
@="C:\\PROGRA~1\\MOZILL~1\\FIREFOX.EXE,1"
[HKEY_CLASSES_ROOT\CLSID\{42042206-2D85-11D3-8CFF-005004838597}\Old Icon\mhtmlfile]
[HKEY_CLASSES_ROOT\CLSID\{42042206-2D85-11D3-8CFF-005004838597}\Old Icon\mhtmlfile\DefaultIcon]
@="C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE,-32554"
[HKEY_CLASSES_ROOT\CLSID\{42042206-2D85-11D3-8CFF-005004838597}\Old Icon\Notepad++_file]
[HKEY_CLASSES_ROOT\CLSID\{42042206-2D85-11D3-8CFF-005004838597}\Version]
[HKEY_CLASSES_ROOT\CLSID\{42042206-2D85-11D3-8CFF-005004838597}\Version\11]
@="C:\\Program Files\\Microsoft Office\\OFFICE11\\msohtmed.exe"
'bout to walk out the door, but will fiddle with this more later... | | auggy Mod join:2001-12-24 Brockville, ON 1 edit |
auggy
Mod
2007-Sep-8 9:22 pm
Ok, everything looks good except the following:
HKEY_CLASSES_ROOT\CLSID\{42042206-2D85-11D3-8CFF-005004838597}\Old Icon\Notepad++_file
Since that key does not point to any icon you could point it to the Notepad++.exe but you could also consider to delete the HKEY_CLASSES_ROOT\CLSID\{42042206-2D85-11D3-8CFF-005004838597}\Old Icon\Notepad++_file registry key and then delete the HKEY_CLASSES_ROOT\Notepad++_file\ShellEx\IconHandler registry key.
Create a System Restore Point beforehand or export the keys and reboot the computer afterwards.
The IconHandler, which takes precedence, for Notepad++ pointing to a non-existent icon does appear to be the problem.
If you have found that after uninstalling Notepad++ the generic .txt icon still exists then it is most likely an errant IconHandler left in the registry quite possibly this one. | | |
I fixed the problem! I VPN'd into work and found one of my test boxes where Notepad++ was installed and the .txt files were displaying correctly. I then ran FileExtInfo on .txt files, sent it home, and went through each entry I thought was relevant to icons and matched them. After rebooting it started displaying them correctly. Here's my current FileExtInfo: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
File association information for [.TXT] file type
Generated by FileExtInfo v2.0 on 9/9/2007 8:44:45 AM
FileExtInfo © 2005-2007 Ramesh Srinivasan.
Homepage: http://www.winhelponline.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[HKEY_CLASSES_ROOT\.TXT]
@="Notepad++_file"
"PerceivedType"="text"
"Content Type"="text/plain"
"Notepad++_backup"="txtfile"
[HKEY_CLASSES_ROOT\.TXT\PersistentHandler]
@="{5e941d80-bf96-11cd-b579-08002b30bfeb}"
[HKEY_CLASSES_ROOT\.TXT\ShellNew]
"NullFile"=""
[HKEY_CLASSES_ROOT\Notepad++_file]
@="Notepad++ Document"
"EditFlags"=dword:00000000
"BrowserFlags"=dword:00000008
"AlwaysShowExt"=""
[HKEY_CLASSES_ROOT\Notepad++_file\DefaultIcon]
@="\"%1\""
[HKEY_CLASSES_ROOT\Notepad++_file\ScriptHostEncode]
@="{85131631-480C-11D2-B1F9-00C04F86C324}"
[HKEY_CLASSES_ROOT\Notepad++_file\shell]
@=""
[HKEY_CLASSES_ROOT\Notepad++_file\shell\Edit]
@="&Edit"
[HKEY_CLASSES_ROOT\Notepad++_file\shell\Edit\command]
@="\"C:\\Program Files\\Microsoft Office\\OFFICE11\\msohtmed.exe\" %1"
[HKEY_CLASSES_ROOT\Notepad++_file\shell\open]
[HKEY_CLASSES_ROOT\Notepad++_file\shell\open\command]
@="\"C:\\Program Files\\Notepad++\\notepad++.exe\" \"%1\""
[HKEY_CLASSES_ROOT\Notepad++_file\shell\Print]
@="&Print"
[HKEY_CLASSES_ROOT\Notepad++_file\shell\Print\command]
@="\"C:\\Program Files\\Microsoft Office\\OFFICE11\\msohtmed.exe\" /p %1"
[HKEY_CLASSES_ROOT\Notepad++_file\ShellEx]
[HKEY_CLASSES_ROOT\Notepad++_file\ShellEx\IconHandler]
@="{42042206-2D85-11D3-8CFF-005004838597}"
[HKEY_CLASSES_ROOT\SystemFileAssociations\text]
[HKEY_CLASSES_ROOT\SystemFileAssociations\text\DefaultIcon]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,68,00,\
65,00,6c,00,6c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,31,00,35,\
00,32,00,00,00
[HKEY_CLASSES_ROOT\SystemFileAssociations\text\OpenWithList]
[HKEY_CLASSES_ROOT\SystemFileAssociations\text\OpenWithList\Notepad.exe]
[HKEY_CLASSES_ROOT\SystemFileAssociations\text\OpenWithList\WordPad.exe]
@=""
[HKEY_CLASSES_ROOT\SystemFileAssociations\text\shell]
[HKEY_CLASSES_ROOT\SystemFileAssociations\text\shell\edit]
[HKEY_CLASSES_ROOT\SystemFileAssociations\text\shell\edit\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4e,00,4f,00,\
54,00,45,00,50,00,41,00,44,00,2e,00,45,00,58,00,45,00,20,00,25,00,31,00,00,\
00
[HKEY_CLASSES_ROOT\SystemFileAssociations\text\shell\open]
[HKEY_CLASSES_ROOT\SystemFileAssociations\text\shell\open\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4e,00,4f,00,\
54,00,45,00,50,00,41,00,44,00,2e,00,45,00,58,00,45,00,20,00,25,00,31,00,00,\
00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.TXT]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.TXT\OpenWithList]
"a"="NOTEPAD.EXE"
"MRUList"="bac"
"b"="notepad++.exe"
"c"="firefox.exe"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.TXT\OpenWithProgids]
"txtfile"=hex(0):
"Notepad++_file"=hex(0):
| | auggy Mod join:2001-12-24 Brockville, ON |
auggy
Mod
2007-Sep-9 12:28 pm
Glad to see you got it fixed!
It looks like some subtle changes directed to the correct Notepad++ icon.
It was nice you had a similar setup in another computer to compare.
Thanks for posting your resolution. | | |
Thank you for all your help!!! | |
|