{"id":116,"date":"2012-03-21T20:25:56","date_gmt":"2012-03-22T01:25:56","guid":{"rendered":"http:\/\/triplescomputers.com\/blog\/?p=116"},"modified":"2012-07-29T22:18:29","modified_gmt":"2012-07-30T03:18:29","slug":"solution-cant-find-script-engine-vbscript-for-script","status":"publish","type":"post","link":"https:\/\/www.triplescomputers.com\/blog\/casestudies\/solution-cant-find-script-engine-vbscript-for-script\/","title":{"rendered":"Solution: Can&#8217;t find script engine &#8220;VBScript&#8221; for script."},"content":{"rendered":"<p>This is a problem I&#8217;ve run into probably 3 or 4 times, and each time, the solution is the same. \u00a0It&#8217;s a frustrating issue that can drive you nuts if you don&#8217;t know where to look to correct it.<\/p>\n<p>Most solutions on the internet point to a bit of a dead end comprised of general-purpose advice for any sort of library-related problems in Windows. \u00a0They advise that you try the following commands at an elevated Command Prompt:<\/p>\n<blockquote><p>cd %windir%\\system32<br \/>\nregsvr32 vbscript.dll<br \/>\nregsvr32 jscript.dll<\/p><\/blockquote>\n<p>Problem is, this never seems to work&#8230; at least, not on the machines I&#8217;ve worked on.<\/p>\n<p>Fortunately, the real solution is comparably easy. \u00a0Open up <strong>regedit <\/strong>and check the following registry key:<\/p>\n<blockquote><p>HKCR\\CLSID\\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\\InprocServer32<\/p><\/blockquote>\n<p>Within it, there is a registry value called <strong><em>(Default) <\/em><\/strong>which <em>should <\/em>carry a Data value of:<\/p>\n<blockquote><p><em>C:\\Windows\\system32\\vbscript.dll<\/em><\/p><\/blockquote>\n<p><em><\/em>If it says something else, you&#8217;ll need to change it to match the above. \u00a0This should fix your problem!<\/p>\n<p>So what&#8217;s the reason for the bad value? \u00a0Nearly always, it&#8217;s thanks to a broken or partially uninstalled antivirus (the most common culprits are McAfee and avast!, both of which I&#8217;ve seen leave behind values in this key after an attempted uninstall). \u00a0AV programs use this value to redirect script processing through a driver of their own for filtering purposes so that they can check for suspect behavior.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a problem I&#8217;ve run into probably 3 or 4 times, and each time, the solution is the same. \u00a0It&#8217;s a frustrating issue that can drive you nuts if you don&#8217;t know where to look to correct it. Most &hellip; <a href=\"https:\/\/www.triplescomputers.com\/blog\/casestudies\/solution-cant-find-script-engine-vbscript-for-script\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[74,103,8,104],"class_list":["post-116","post","type-post","status-publish","format-standard","hentry","category-casestudies","tag-antivirus","tag-regedit","tag-registry","tag-vbscript-dll"],"_links":{"self":[{"href":"https:\/\/www.triplescomputers.com\/blog\/wp-json\/wp\/v2\/posts\/116","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.triplescomputers.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.triplescomputers.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.triplescomputers.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.triplescomputers.com\/blog\/wp-json\/wp\/v2\/comments?post=116"}],"version-history":[{"count":0,"href":"https:\/\/www.triplescomputers.com\/blog\/wp-json\/wp\/v2\/posts\/116\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.triplescomputers.com\/blog\/wp-json\/wp\/v2\/media?parent=116"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.triplescomputers.com\/blog\/wp-json\/wp\/v2\/categories?post=116"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.triplescomputers.com\/blog\/wp-json\/wp\/v2\/tags?post=116"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}