{"id":235,"date":"2008-04-27T15:27:50","date_gmt":"2008-04-27T09:57:50","guid":{"rendered":"http:\/\/198.58.113.91\/blog\/?p=235"},"modified":"2020-11-29T10:57:52","modified_gmt":"2020-11-29T10:57:52","slug":"error-there-is-no-script-engine-for-file-extension-when-running-vbs-files","status":"publish","type":"post","link":"https:\/\/www.winhelponline.com\/blog\/error-there-is-no-script-engine-for-file-extension-when-running-vbs-files\/","title":{"rendered":"[Fix] Can&#8217;t find Script Engine Vbscript, and &#8220;no script engine for .vbs&#8221;"},"content":{"rendered":"<p>When you run a VBScript or .msi setup file that runs a VBScript, you may receive one of the following errors:<\/p>\n<pre class=\"err\">Can't find script engine \"VBScript\" for script C:\\ProgramData\\Microsoft\\Windows\\OFFICEICON.vbs\r\n\r\nThere is no script engine for file extension \".vbs\".\r\n<\/pre>\n<p>This happens if the vbscript.dll module is not registered correctly or the .VBS file association settings are broken. This error can be fixed using the steps listed below, applies to Windows Vista, 7, 8, 8.1, and 10.<\/p>\n<h2>[Fix] Can&#8217;t find Script Engine Vbscript<\/h2>\n<h3>Step 1: Fix .VBS file association settings<\/h3>\n<p>Download and apply the <b><i>.vbs<\/i><\/b> association fix from the following link.<\/p>\n<ul>\n<li><a href=\"https:\/\/www.winhelponline.com\/blog\/file-asso-fixes-for-windows-7\/\">Windows Vista<\/a> | <a href=\"https:\/\/www.winhelponline.com\/blog\/file-asso-fixes-for-windows-7\/\">Windows 7<\/a> | <a href=\"https:\/\/www.winhelponline.com\/blog\/file-asso-fixes-for-windows-8\/\">Windows 8<\/a> | <a href=\"https:\/\/www.winhelponline.com\/blog\/file-association-fixes-windows-10\/\">Windows 10<\/a><\/li>\n<\/ul>\n<h3>Step 2: Register Vbscript.dll from admin Command Prompt<\/h3>\n<p>For Windows 8 and earlier only:<\/p>\n<p>Open an <a href=\"https:\/\/www.winhelponline.com\/blog\/how-to-open-an-elevated-command-prompt-windows-vista\/\" target=\"_blank\" rel=\"noopener noreferrer\">elevated Command Prompt<\/a> window.<\/p>\n<pre>regsvr32 %systemroot%\\system32\\vbscript.dll<\/pre>\n<p>You should see the <i><b>DllRegisterServer in vbscript.dll succeeded.<\/b><\/i><\/p>\n<p>If you&#8217;re using Windows 64-bit, run the following command in addition:<\/p>\n<pre>%systemroot%\\SysWOW64\\regsvr32.exe %systemroot%\\SysWOW64\\vbscript.dll<\/pre>\n<h3>Step 3: Download the Vbscript.dll Registration Entries<\/h3>\n<p>If Steps 1 &amp; 2 don&#8217;t resolve the problem, download the VBScript.dll registration entries.<\/p>\n<ul>\n<li>vbscript.reg for 32-bit (<a href=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/w10\/vbscript.zip\">download<\/a>)<\/li>\n<li>vbscript.reg for 64-bit (<a href=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/w10\/vbscript_x64.zip\">download<\/a>)<\/li>\n<\/ul>\n<p>Unzip and run the enclosed REG file.<\/p>\n<p>Note that the paths are coded for <code>C:\\<\/code>. If the system drive letter is different than <code>C:\\<\/code> in your case, edit the REG file using notepad, and update the correct path.<\/p>\n<p>The REG files fix the VBScript DLL CLSID key in the following registry path:<\/p>\n<pre>HKEY_CLASSES_ROOT\\CLSID\\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}<\/pre>\n<h4>See also<\/h4>\n<p><a href=\"https:\/\/www.winhelponline.com\/blog\/error-there-is-no-script-engine-for-file-extension-when-running-js-files\/\">Error &#8220;There is no script engine for file extension&#8221; when running .js files<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you run a VBScript or .msi setup file that runs a VBScript, you may receive one of the following errors: Can&#8217;t find script engine &#8220;VBScript&#8221; for script C:\\ProgramData\\Microsoft\\Windows\\OFFICEICON.vbs There is no script engine for file extension &#8220;.vbs&#8221;. This happens if the vbscript.dll module is not registered correctly or the .VBS file association settings are &#8230; <a title=\"[Fix] Can&#8217;t find Script Engine Vbscript, and &#8220;no script engine for .vbs&#8221;\" class=\"read-more\" href=\"https:\/\/www.winhelponline.com\/blog\/error-there-is-no-script-engine-for-file-extension-when-running-vbs-files\/\" aria-label=\"Read more about [Fix] Can&#8217;t find Script Engine Vbscript, and &#8220;no script engine for .vbs&#8221;\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[7],"tags":[191],"class_list":["post-235","post","type-post","status-publish","format-standard","hentry","category-windows","tag-error-messages"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":1541,"url":"https:\/\/www.winhelponline.com\/blog\/error-there-is-no-script-engine-for-file-extension-when-running-js-files\/","url_meta":{"origin":235,"position":0},"title":"[Fix] There is no script engine for file extension .JS &#8211; Error","author":"Ramesh","date":"January 15, 2007","format":false,"excerpt":"When you attempt to run a .js (JScript Script File) file, one of the following errors may occur: Can't find script engine \"JScript\" for script \"filename.js\". There is no script engine for file extension \".js\". RELATED: [Fix] Can't find Script Engine Vbscript, and \"no script engine for .vbs\" [Fix] There\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"There is no script engine for file extension","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2007\/01\/js-engine-error.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2007\/01\/js-engine-error.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2007\/01\/js-engine-error.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2007\/01\/js-engine-error.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":185,"url":"https:\/\/www.winhelponline.com\/blog\/vbscript-files-open-with-notepad\/","url_meta":{"origin":235,"position":1},"title":"[Fix] VBScript Files Open With Notepad","author":"Ramesh","date":"April 16, 2008","format":false,"excerpt":"When you try to run a VBScript by double-clicking it, the script may open in Notepad. This happens if the user has set Notepad as the default (instead of wscript.exe) program for .vbs files, using Open with or through any other methods.. [Fix] VBScript Files Open With Notepad Running VBScript\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"vbs files open in notepad","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2008\/04\/vbsopen.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2008\/04\/vbsopen.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2008\/04\/vbsopen.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":347,"url":"https:\/\/www.winhelponline.com\/blog\/windows-installer-errors-2738-and-2739\/","url_meta":{"origin":235,"position":2},"title":"Fix for Windows Installer errors 2738 and 2739","author":"Ramesh","date":"June 28, 2008","format":false,"excerpt":"When you try to install a program using Windows Installer (.msi) Setup package, you may encounter error 2738 or 2739 and the setup fails. Errors 2738, 2739 occur if the Windows Installer Setup uses Windows Script (.vbs or .js) custom actions, and the VBScript or JScript runtimes are not registered\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"vbscript and jscript error 2738 and 2739","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2008\/06\/vbscript-jscript-2738-2739-errors.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2008\/06\/vbscript-jscript-2738-2739-errors.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2008\/06\/vbscript-jscript-2738-2739-errors.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":127,"url":"https:\/\/www.winhelponline.com\/blog\/adding-the-run-as-administrator-option-for-vbs-and-js-files\/","url_meta":{"origin":235,"position":3},"title":"Add Run as Administrator Context Menu Item for VBS and JS files","author":"Ramesh","date":"March 27, 2008","format":false,"excerpt":"By default, Windows does not include the Run as Administrator option in the context menu for Vbscript (.VBS) and JScript (.JS) files. So, to run a script elevated, you either need to launch the script from elevated Command Prompt window, or use the VBScript self-elevation method as described in article\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"add run as administrator context menu for vbs files","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/script_runas.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":18205,"url":"https:\/\/www.winhelponline.com\/blog\/script-error-maintenance-vbs-at-startup\/","url_meta":{"origin":235,"position":4},"title":"[Fix] Script Error C:\\Windows\\system32 Maintenance.vbs at Startup","author":"Ramesh","date":"August 31, 2020","format":false,"excerpt":"Whenever you start your computer, the following error may popup: Windows Script Host Script: C:\\WINDOWS\\system32\\Maintenance.vbs Line: 10 Char: 2 Error: Type mismatch 'CInt' Code: 800A000D Source: Microsoft VBScript runtime error However, you may find no reference to this file in MSConfig or the Task Manager Startup tab. You may be\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"installwinsat maintenance.vbs error","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2020\/08\/installwinsat-maintenance-error-1.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2020\/08\/installwinsat-maintenance-error-1.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2020\/08\/installwinsat-maintenance-error-1.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2020\/08\/installwinsat-maintenance-error-1.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":1666,"url":"https:\/\/www.winhelponline.com\/blog\/cannot-find-script-run-vbs-logon\/","url_meta":{"origin":235,"position":5},"title":"Fix &#8220;Can not find script file C:\\WINDOWS\\run.vbs&#8221; at Logon","author":"Ramesh","date":"February 20, 2016","format":false,"excerpt":"When you log on to your computer, the error \"Can not find script file C:\\WINDOWS\\run.vbs\" with Windows Script Host in the title is shown on a blank screen with a black background. This happens if malware has modified the Userinit registry value, replacing the Windows default value data with a\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/w10\/run_vbs_err-1.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/w10\/run_vbs_err-1.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/w10\/run_vbs_err-1.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/235","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/comments?post=235"}],"version-history":[{"count":0,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/235\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/media?parent=235"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/categories?post=235"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/tags?post=235"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}