{"id":323,"date":"2009-05-12T00:20:03","date_gmt":"2009-05-11T16:20:03","guid":{"rendered":"http:\/\/www.jhouseconsulting.com\/?p=323"},"modified":"2009-05-12T10:41:03","modified_gmt":"2009-05-12T02:41:03","slug":"http-default-icon-issue","status":"publish","type":"post","link":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2009\/05\/12\/http-default-icon-issue-323","title":{"rendered":"HTTP Default Icon issue"},"content":{"rendered":"<p>Sometimes you may find that the HTTP URL shortcut icon is &#8220;broken&#8221;; referencing %SystemRoot%\\system32\\SHELL32.dll,0 instead of %SystemRoot%\\system32\\url.dll,0. This is due to a bug that does not consistently set the default type and data for the HKEY_CLASSES_ROOT\\HTTP\\DefaultIcon value. When the icons are not displaying correctly, it will have a default value of type REG_SZ with Data &#8220;%1&#8221; when it should be of type REG_EXPAND_SZ with Data &#8220;%SystemRoot%\\system32\\url.dll,0&#8221;. Strangely, the DefaultIcon for the HTTPS (HKEY_CLASSES_ROOT\\HTTPS\\DefaultIcon) URL shortcut does not suffer from the same problem. I hope you find this information of value.<!--more--><\/p>\n<figure id=\"attachment_324\" aria-describedby=\"caption-attachment-324\" style=\"width: 614px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2009\/05\/http_default_icon1.png\"><img fetchpriority=\"high\" decoding=\"async\" class=\"size-full wp-image-324 \" title=\"http_default_icon1\" src=\"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2009\/05\/http_default_icon1.png\" alt=\"Incorrect registry entry\" width=\"624\" height=\"191\" srcset=\"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2009\/05\/http_default_icon1.png 624w, https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2009\/05\/http_default_icon1-300x92.png 300w\" sizes=\"(max-width: 624px) 100vw, 624px\" \/><\/a><figcaption id=\"caption-attachment-324\" class=\"wp-caption-text\">Incorrect registry entry<\/figcaption><\/figure>\n<figure id=\"attachment_325\" aria-describedby=\"caption-attachment-325\" style=\"width: 212px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2009\/05\/http_default_icon2.png\"><img decoding=\"async\" class=\"size-full wp-image-325\" title=\"http_default_icon2\" src=\"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2009\/05\/http_default_icon2.png\" alt=\"Icon displayed incorrectly in Internet Explorer 6\" width=\"222\" height=\"110\" \/><\/a><figcaption id=\"caption-attachment-325\" class=\"wp-caption-text\">Icon displayed incorrectly in Internet Explorer 6<\/figcaption><\/figure>\n<figure id=\"attachment_326\" aria-describedby=\"caption-attachment-326\" style=\"width: 67px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2009\/05\/http_default_icon3.png\"><img decoding=\"async\" class=\"size-full wp-image-326\" title=\"http_default_icon3\" src=\"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2009\/05\/http_default_icon3.png\" alt=\"Icon for URL shortcut displayed incorrectly\" width=\"77\" height=\"84\" \/><\/a><figcaption id=\"caption-attachment-326\" class=\"wp-caption-text\">Icon for URL shortcut displayed incorrectly<\/figcaption><\/figure>\n<div class=\"mceTemp\">This registry setting will fix the DefaultIcon for the HTTP URL.<\/div>\n<div class=\"mceTemp\">\n<figure id=\"attachment_327\" aria-describedby=\"caption-attachment-327\" style=\"width: 614px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2009\/05\/http_default_icon4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-327 \" title=\"http_default_icon4\" src=\"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2009\/05\/http_default_icon4.png\" alt=\"Correct registry entry\" width=\"624\" height=\"189\" srcset=\"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2009\/05\/http_default_icon4.png 624w, https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2009\/05\/http_default_icon4-300x91.png 300w\" sizes=\"(max-width: 624px) 100vw, 624px\" \/><\/a><figcaption id=\"caption-attachment-327\" class=\"wp-caption-text\">Correct registry entry<\/figcaption><\/figure>\n<\/div>\n<figure id=\"attachment_328\" aria-describedby=\"caption-attachment-328\" style=\"width: 215px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2009\/05\/http_default_icon5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-328\" title=\"http_default_icon5\" src=\"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2009\/05\/http_default_icon5.png\" alt=\"Icon displayed correctly in Internet Explorer 6\" width=\"225\" height=\"104\" \/><\/a><figcaption id=\"caption-attachment-328\" class=\"wp-caption-text\">Icon displayed correctly in Internet Explorer 6<\/figcaption><\/figure>\n<figure id=\"attachment_329\" aria-describedby=\"caption-attachment-329\" style=\"width: 73px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2009\/05\/http_default_icon6.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-329\" title=\"http_default_icon6\" src=\"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2009\/05\/http_default_icon6.png\" alt=\"Icon for URL shortcut displayed correctly\" width=\"83\" height=\"81\" \/><\/a><figcaption id=\"caption-attachment-329\" class=\"wp-caption-text\">Icon for URL shortcut displayed correctly<\/figcaption><\/figure>\n<p><strong>How to fix this?<br \/>\n<\/strong><br \/>\nUse a registry import&#8230;<\/p>\n<p><code lang=\"text\">Windows Registry Editor Version 5.00<br \/>\n[HKEY_CLASSES_ROOT\\http\\DefaultIcon]<br \/>\n@=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,\\<br \/>\n  00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,75,00,72,00,\\<br \/>\n  6c,00,2e,00,64,00,6c,00,6c,00,2c,00,30,00,00,00<\/code><\/p>\n<p>&#8230;or an ADM template&#8230;<\/p>\n<p><code lang=\"text\">CLASS MACHINE<br \/>\n  CATEGORY \"MACHINE Custom Settings\"<br \/>\n    Policy \"Fix the DefaultIcon for HTTP URL's\"<br \/>\n    Explain \"This registry setting will fix the DefaultIcon for HTTP URL's so that they display correctly. More Information: Sometimes you find that the ICON for HTTP URL shortcuts have a broken icon that references %SystemRoot%\\system32\\SHELL32.dll,0 instead of %SystemRoot%\\system32\\url.dll,0. This is due to a bug that does not consistently set the default type and data for the HKEY_CLASSES_ROOT\\HTTP\\DefaultIcon value. When the icons are not displaying correctly, it will have a default value of type REG_SZ with Data ''%1'' when it should be of type REG_EXPAND_SZ with Data ''%SystemRoot%\\system32\\url.dll,0''\"<br \/>\n    KEYNAME \"SOFTWARE\\Classes\\HTTP\\DefaultIcon\"<br \/>\n      PART \"Enter the Default Icon location\" EDITTEXT EXPANDABLETEXT<br \/>\n        DEFAULT \"%SystemRoot%\\system32\\url.dll,0\"<br \/>\n        VALUENAME \"\"<br \/>\n      END PART<br \/>\n    END POLICY<br \/>\n  END CATEGORY<\/code><\/p>\n<p>The following screenshot shows the policy setting once the ADM has been added to the Group Policy Object.<\/p>\n<figure id=\"attachment_330\" aria-describedby=\"caption-attachment-330\" style=\"width: 395px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2009\/05\/http_default_icon7.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-330\" title=\"http_default_icon7\" src=\"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2009\/05\/http_default_icon7.png\" alt=\"Custom Group Policy Setting\" width=\"405\" height=\"449\" srcset=\"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2009\/05\/http_default_icon7.png 405w, https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2009\/05\/http_default_icon7-271x300.png 271w, https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2009\/05\/http_default_icon7-300x333.png 300w\" sizes=\"(max-width: 405px) 100vw, 405px\" \/><\/a><figcaption id=\"caption-attachment-330\" class=\"wp-caption-text\">Custom Group Policy Setting<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes you may find that the HTTP URL shortcut icon is &#8220;broken&#8221;; referencing %SystemRoot%\\system32\\SHELL32.dll,0 instead of %SystemRoot%\\system32\\url.dll,0. This is due to a bug that does not consistently set the default type and data for the HKEY_CLASSES_ROOT\\HTTP\\DefaultIcon value. When the icons are not displaying correctly, it will have a default value of type REG_SZ with Data &#8230; <a title=\"HTTP Default Icon issue\" class=\"read-more\" href=\"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2009\/05\/12\/http-default-icon-issue-323\" aria-label=\"Read more about HTTP Default Icon issue\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[35,38],"tags":[142,141,143],"class_list":["post-323","post","type-post","status-publish","format-standard","hentry","category-os-tuning","category-xenapp","tag-default","tag-http","tag-icon"],"aioseo_notices":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-json\/wp\/v2\/posts\/323","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-json\/wp\/v2\/comments?post=323"}],"version-history":[{"count":9,"href":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-json\/wp\/v2\/posts\/323\/revisions"}],"predecessor-version":[{"id":332,"href":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-json\/wp\/v2\/posts\/323\/revisions\/332"}],"wp:attachment":[{"href":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-json\/wp\/v2\/media?parent=323"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-json\/wp\/v2\/categories?post=323"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-json\/wp\/v2\/tags?post=323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}