{"id":3,"date":"2009-10-30T12:44:43","date_gmt":"2009-10-30T18:44:43","guid":{"rendered":"https:\/\/fixes.rebelcomputing.com\/?p=3"},"modified":"2009-10-30T13:06:37","modified_gmt":"2009-10-30T19:06:37","slug":"every-exe-file-generates-a-bad-image-error","status":"publish","type":"post","link":"https:\/\/fixes.rebelcomputing.com\/?p=3","title":{"rendered":"Every .exe file generates a &#8220;Bad Image&#8221; error"},"content":{"rendered":"<p>The error looks something like:<\/p>\n<p><em>program.exe &#8211; Bad Image<br \/>\nThe <a style=\"border-bottom: 0.07em solid darkgreen; background-image: none; padding-bottom: 1px ! important; background-color: transparent ! important; padding-left: 0px; padding-right: 0px; color: darkgreen ! important; font-size: 100% ! important; font-weight: normal ! important; text-decoration: underline ! important; padding-top: 0px;\" href=\"#\" target=\"_blank\">application<\/a> or DLL  C::\\WINDOWS\\system32\\hakumano.dll is not a valid Windows Image<\/em><\/p>\n<p>The error message pops up while the computer is booting into windows and every single time you try to open an application. Every. Single. Time.<\/p>\n<p>You click &#8220;OK&#8221; whenever it comes and continue about your business. The error doesn&#8217;t seem to cause any issues it is just annoying that it pops up all the time.<\/p>\n<p>I came across this problem after I removed some malware from a customer&#8217;s computer. In this particular case, I used the free version of <a href=\"http:\/\/www.malwarebytes.org\" target=\"_blank\">MalwareBytes Anti-Malware<\/a>. MalwareBytes successfully removed all of the malware but left a registry entry was left over that caused windows to attempt to load <em>hakumano.dll <\/em>every time anything executable ran (including .com files).<\/p>\n<p><strong>Solution:<\/strong><\/p>\n<ol>\n<li>Click Start.<\/li>\n<li>Choose Run.<\/li>\n<li>Type <strong>regedit.exe<\/strong> and press enter.<\/li>\n<li>Navigate to [HKEY_LOCAL_MACHINE\\software\\microsoft\\windows nt\\currentversion\\windows]<\/li>\n<li>Right-click <strong>AppInit_DLLs<\/strong> and choose <strong>Modify<\/strong>.<\/li>\n<li>Delete anything in the <strong>Value Data<\/strong> field and click <strong>OK<\/strong>.<\/li>\n<li>Verify you can run a program without generating the error message.<\/li>\n<li>Close the Registry Editor. Problem solved.<\/li>\n<\/ol>\n<p><strong>Alternate Solution <\/strong>(found at <a href=\"http:\/\/www.techsupportforum.com\/security-center\/virus-trojan-spyware-help\/363929-every-programname-exe-bad-image-error-pops-up-full-logs-inside.html\">techsupportforum.com<\/a>):<\/p>\n<p>Launch Notepad, (Start &gt; Run, type in: notepad) copy and paste the text in blue below in it:(don&#8217;t forget to copy and paste REGEDIT4)<\/p>\n<blockquote><p>REGEDIT4<br \/>\n[HKEY_LOCAL_MACHINE\\software\\microsoft\\windows nt\\currentversion\\windows]<br \/>\n&#8220;AppInit_DLLs&#8221;=&#8221;&#8221;<\/p><\/blockquote>\n<p>Save this as fix.reg and change the &#8220;Save as type&#8221; to &#8220;All Files&#8221; and place it on your desktop. It should look like A REG FILE.<\/p>\n<p>Double-click on it and when it asks you if you want to merge the contents to the registry, click &#8220;Yes&#8221; or &#8220;OK&#8221;. You should receive a message that it was successful. You may delete the file afterward.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The error looks something like: program.exe &#8211; Bad Image The application or DLL C::\\WINDOWS\\system32\\hakumano.dll is not a valid Windows Image The error message pops up while the computer is booting into windows and every single time you try to open an application. Every. Single. Time. You click &#8220;OK&#8221; whenever it comes and continue about your [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,4,3],"tags":[],"class_list":["post-3","post","type-post","status-publish","format-standard","hentry","category-fixes","category-malware","category-windows"],"_links":{"self":[{"href":"https:\/\/fixes.rebelcomputing.com\/index.php?rest_route=\/wp\/v2\/posts\/3","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fixes.rebelcomputing.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fixes.rebelcomputing.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fixes.rebelcomputing.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fixes.rebelcomputing.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3"}],"version-history":[{"count":8,"href":"https:\/\/fixes.rebelcomputing.com\/index.php?rest_route=\/wp\/v2\/posts\/3\/revisions"}],"predecessor-version":[{"id":13,"href":"https:\/\/fixes.rebelcomputing.com\/index.php?rest_route=\/wp\/v2\/posts\/3\/revisions\/13"}],"wp:attachment":[{"href":"https:\/\/fixes.rebelcomputing.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fixes.rebelcomputing.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fixes.rebelcomputing.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}