<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Restoring .vbs (VBScript Script File) File Associations</title>
	<link>http://www.nilpo.com/2009/07/windows-xp/restoring-vbs-vbscript-script-file-file-associations/</link>
	<description>Ask the Windows Guru!</description>
	<pubDate>Sat, 04 Feb 2012 12:18:29 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: Jim</title>
		<link>http://www.nilpo.com/2009/07/windows-xp/restoring-vbs-vbscript-script-file-file-associations/#comment-186528</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Tue, 08 Nov 2011 20:36:04 +0000</pubDate>
		<guid>http://www.nilpo.com/2009/07/windows-xp/restoring-vbs-vbscript-script-file-file-associations/#comment-186528</guid>
		<description>@Asa,

Hey, you may found my problem as well!  My .vbs association keeps getting "lost" even after I fix it, and I use (and love) Notepad++ as well, and used the interface setup options to set .vbs to be edited w/ Notepad++ instead of the default of Notepad.  I won't know for sure for a few days, but thanks for the heads-up!

Thanks for the help Nilpo, the good posters here, and the folks over @ http://kiranpatils.wordpress.com/2009/08/13/there-is-no-script-engine-for-file-extension-vbs/ !  (look there for an easy way to reset the defaults using the %windir%\inf\wsh.inf  file! -  thanks to kiranpatils)</description>
		<content:encoded><![CDATA[<p>@Asa,</p>
<p>Hey, you may found my problem as well!  My .vbs association keeps getting &#8220;lost&#8221; even after I fix it, and I use (and love) Notepad++ as well, and used the interface setup options to set .vbs to be edited w/ Notepad++ instead of the default of Notepad.  I won&#8217;t know for sure for a few days, but thanks for the heads-up!</p>
<p>Thanks for the help Nilpo, the good posters here, and the folks over @ <a href="http://kiranpatils.wordpress.com/2009/08/13/there-is-no-script-engine-for-file-extension-vbs/" rel="nofollow">http://kiranpatils.wordpress.com/2009/08/13/there-is-no-script-engine-for-file-extension-vbs/</a> !  (look there for an easy way to reset the defaults using the %windir%\inf\wsh.inf  file! -  thanks to kiranpatils)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nilpo</title>
		<link>http://www.nilpo.com/2009/07/windows-xp/restoring-vbs-vbscript-script-file-file-associations/#comment-185811</link>
		<dc:creator>Nilpo</dc:creator>
		<pubDate>Sat, 05 Nov 2011 21:58:28 +0000</pubDate>
		<guid>http://www.nilpo.com/2009/07/windows-xp/restoring-vbs-vbscript-script-file-file-associations/#comment-185811</guid>
		<description>@Nathan,

Of course I remember you.  Thanks for stopping by.  I'm glad you found it useful.

Nilpo</description>
		<content:encoded><![CDATA[<p>@Nathan,</p>
<p>Of course I remember you.  Thanks for stopping by.  I&#8217;m glad you found it useful.</p>
<p>Nilpo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan Kulas</title>
		<link>http://www.nilpo.com/2009/07/windows-xp/restoring-vbs-vbscript-script-file-file-associations/#comment-185319</link>
		<dc:creator>Nathan Kulas</dc:creator>
		<pubDate>Thu, 03 Nov 2011 22:35:05 +0000</pubDate>
		<guid>http://www.nilpo.com/2009/07/windows-xp/restoring-vbs-vbscript-script-file-file-associations/#comment-185319</guid>
		<description>Hey Nilpo,
You may remember me (omrsafetyo) as the BATCH guru from devhardware
I happened across this article trying to fix a wsf file association issue for a client - I was trying to determine where "windows script host" was kept - wasn't sure if it was vbscript.exe or wscript.exe, or something else entirely.  I did my google search "how to associate a file type with windows script host" and this was the first page that caught my eye as relevant.  Just wanted to say hi, and thanks for the assist!</description>
		<content:encoded><![CDATA[<p>Hey Nilpo,<br />
You may remember me (omrsafetyo) as the BATCH guru from devhardware<br />
I happened across this article trying to fix a wsf file association issue for a client - I was trying to determine where &#8220;windows script host&#8221; was kept - wasn&#8217;t sure if it was vbscript.exe or wscript.exe, or something else entirely.  I did my google search &#8220;how to associate a file type with windows script host&#8221; and this was the first page that caught my eye as relevant.  Just wanted to say hi, and thanks for the assist!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bart</title>
		<link>http://www.nilpo.com/2009/07/windows-xp/restoring-vbs-vbscript-script-file-file-associations/#comment-177933</link>
		<dc:creator>Bart</dc:creator>
		<pubDate>Tue, 27 Sep 2011 20:26:22 +0000</pubDate>
		<guid>http://www.nilpo.com/2009/07/windows-xp/restoring-vbs-vbscript-script-file-file-associations/#comment-177933</guid>
		<description>[HKEY_CLASSES_ROOT\.vbs]
@="VBSFile"

Already solved it for me.</description>
		<content:encoded><![CDATA[<p>[HKEY_CLASSES_ROOT\.vbs]<br />
@=&#8221;VBSFile&#8221;</p>
<p>Already solved it for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin</title>
		<link>http://www.nilpo.com/2009/07/windows-xp/restoring-vbs-vbscript-script-file-file-associations/#comment-163628</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Tue, 19 Jul 2011 22:34:17 +0000</pubDate>
		<guid>http://www.nilpo.com/2009/07/windows-xp/restoring-vbs-vbscript-script-file-file-associations/#comment-163628</guid>
		<description>I received this error when trying to run this script on a Windows 7 machine that won't let me associate .vbs with either cscript or wscript.  The default box is greyed out

Cannot import FixVBSFileAssociationsVista.reg:  Not all data was successfully written to the registry.  Some keys are open by the system or other processes.</description>
		<content:encoded><![CDATA[<p>I received this error when trying to run this script on a Windows 7 machine that won&#8217;t let me associate .vbs with either cscript or wscript.  The default box is greyed out</p>
<p>Cannot import FixVBSFileAssociationsVista.reg:  Not all data was successfully written to the registry.  Some keys are open by the system or other processes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lord Nutsack</title>
		<link>http://www.nilpo.com/2009/07/windows-xp/restoring-vbs-vbscript-script-file-file-associations/#comment-156806</link>
		<dc:creator>Lord Nutsack</dc:creator>
		<pubDate>Wed, 22 Jun 2011 09:55:18 +0000</pubDate>
		<guid>http://www.nilpo.com/2009/07/windows-xp/restoring-vbs-vbscript-script-file-file-associations/#comment-156806</guid>
		<description>Your vista reg key works in Windows 7, thanks.</description>
		<content:encoded><![CDATA[<p>Your vista reg key works in Windows 7, thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Asa</title>
		<link>http://www.nilpo.com/2009/07/windows-xp/restoring-vbs-vbscript-script-file-file-associations/#comment-151738</link>
		<dc:creator>Asa</dc:creator>
		<pubDate>Sun, 29 May 2011 06:26:20 +0000</pubDate>
		<guid>http://www.nilpo.com/2009/07/windows-xp/restoring-vbs-vbscript-script-file-file-associations/#comment-151738</guid>
		<description>Thanks!
I got the 'There is no script engine for file extension ".VBS"' error, and spent about 30 minutes searching online for a solution.  No one else seemed to have the right solution for anyone (that I found), going back 10 years of advice!

Your registry entries solved it for me on Windows 7.  MSDN describes the issue ("This file extension is not mapped to a script engine.") and how to solve it: "Check your file extension and also the spelling of your scripting language designation." or "Use //E to designate a script engine." At last the last item is a workaround, from the command prompt, to get a script to run.

Pretty sure setting Notepad++ to associate with VBS files caused the problem for me (from the NP++ interface).  I should probably let them know...

Your real solution is much appreciated :)</description>
		<content:encoded><![CDATA[<p>Thanks!<br />
I got the &#8216;There is no script engine for file extension &#8220;.VBS&#8221;&#8216; error, and spent about 30 minutes searching online for a solution.  No one else seemed to have the right solution for anyone (that I found), going back 10 years of advice!</p>
<p>Your registry entries solved it for me on Windows 7.  MSDN describes the issue (&#8221;This file extension is not mapped to a script engine.&#8221;) and how to solve it: &#8220;Check your file extension and also the spelling of your scripting language designation.&#8221; or &#8220;Use //E to designate a script engine.&#8221; At last the last item is a workaround, from the command prompt, to get a script to run.</p>
<p>Pretty sure setting Notepad++ to associate with VBS files caused the problem for me (from the NP++ interface).  I should probably let them know&#8230;</p>
<p>Your real solution is much appreciated <img src='http://www.nilpo.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://www.nilpo.com/2009/07/windows-xp/restoring-vbs-vbscript-script-file-file-associations/#comment-115226</link>
		<dc:creator>James</dc:creator>
		<pubDate>Sat, 06 Nov 2010 02:38:49 +0000</pubDate>
		<guid>http://www.nilpo.com/2009/07/windows-xp/restoring-vbs-vbscript-script-file-file-associations/#comment-115226</guid>
		<description>Thanks so much!  This finally fixed my 4-month broken cscript .vbs issue on Windows 7!</description>
		<content:encoded><![CDATA[<p>Thanks so much!  This finally fixed my 4-month broken cscript .vbs issue on Windows 7!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://www.nilpo.com/2009/07/windows-xp/restoring-vbs-vbscript-script-file-file-associations/#comment-114646</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Mon, 01 Nov 2010 15:51:00 +0000</pubDate>
		<guid>http://www.nilpo.com/2009/07/windows-xp/restoring-vbs-vbscript-script-file-file-associations/#comment-114646</guid>
		<description>THANK YOU!</description>
		<content:encoded><![CDATA[<p>THANK YOU!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Souza</title>
		<link>http://www.nilpo.com/2009/07/windows-xp/restoring-vbs-vbscript-script-file-file-associations/#comment-110946</link>
		<dc:creator>Tom Souza</dc:creator>
		<pubDate>Wed, 06 Oct 2010 00:25:17 +0000</pubDate>
		<guid>http://www.nilpo.com/2009/07/windows-xp/restoring-vbs-vbscript-script-file-file-associations/#comment-110946</guid>
		<description>You saved me a lot of headache...

Keep up the good work.</description>
		<content:encoded><![CDATA[<p>You saved me a lot of headache&#8230;</p>
<p>Keep up the good work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ravi</title>
		<link>http://www.nilpo.com/2009/07/windows-xp/restoring-vbs-vbscript-script-file-file-associations/#comment-89763</link>
		<dc:creator>Ravi</dc:creator>
		<pubDate>Wed, 26 May 2010 17:32:00 +0000</pubDate>
		<guid>http://www.nilpo.com/2009/07/windows-xp/restoring-vbs-vbscript-script-file-file-associations/#comment-89763</guid>
		<description>Thank you. It was really helpful</description>
		<content:encoded><![CDATA[<p>Thank you. It was really helpful</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Structed</title>
		<link>http://www.nilpo.com/2009/07/windows-xp/restoring-vbs-vbscript-script-file-file-associations/#comment-50471</link>
		<dc:creator>Structed</dc:creator>
		<pubDate>Wed, 22 Jul 2009 07:34:38 +0000</pubDate>
		<guid>http://www.nilpo.com/2009/07/windows-xp/restoring-vbs-vbscript-script-file-file-associations/#comment-50471</guid>
		<description>Worked like a charms! Thank you very much!</description>
		<content:encoded><![CDATA[<p>Worked like a charms! Thank you very much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nilpo</title>
		<link>http://www.nilpo.com/2009/07/windows-xp/restoring-vbs-vbscript-script-file-file-associations/#comment-47318</link>
		<dc:creator>Nilpo</dc:creator>
		<pubDate>Fri, 10 Jul 2009 01:12:28 +0000</pubDate>
		<guid>http://www.nilpo.com/2009/07/windows-xp/restoring-vbs-vbscript-script-file-file-associations/#comment-47318</guid>
		<description>Hello Peter.

It sounds as though your .reg file type has been changed as well.  This is somewhat common since some administrators will disable the ability to import registry changes.

You can try importing the registry file from the command line and see if that works.  Open a Command Prompt window and navigate to the folder where you saved the .reg file that you downloaded.  It can be imported using REGEDIT from the command line.

&lt;pre lang="DOS"&gt;regedit FixVBSFileAssociationsXP.reg&lt;/pre&gt;

You can repair your .reg file associations with one of the files below.  You'll likely need to import it as I've shown you above.

&lt;a href="http://www.nilpo.com/pub/scripts/FixREGFileAssociationsXP.reg" title="Download FixREGFileAssociationsXP.reg from Nilpo.com" rel="follow" rel="nofollow"&gt;FixREGFileAssociationsXP.reg&lt;/a&gt;
&lt;a href="http://www.nilpo.com/pub/scripts/FixREGFileAssociationsVista.reg" title="Download FixREGFileAssociationsVista.reg from Nilpo.com" rel="follow" rel="nofollow"&gt;FixREGFileAssociationsVista.reg&lt;/a&gt;

As for your error message, see my post &lt;a href="http://www.nilpo.com/2009/07/windows-xp/error-there-is-no-script-engine-for-file-extension/" rel="follow" rel="nofollow"&gt;“There is no script engine for file extension” error when opening .vbs files&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>Hello Peter.</p>
<p>It sounds as though your .reg file type has been changed as well.  This is somewhat common since some administrators will disable the ability to import registry changes.</p>
<p>You can try importing the registry file from the command line and see if that works.  Open a Command Prompt window and navigate to the folder where you saved the .reg file that you downloaded.  It can be imported using REGEDIT from the command line.</p>

<div class="wp_syntax"><div class="code"><pre class="dos">regedit FixVBSFileAssociationsXP.reg</pre></div></div>

<p>You can repair your .reg file associations with one of the files below.  You&#8217;ll likely need to import it as I&#8217;ve shown you above.</p>
<p><a href="http://www.nilpo.com/pub/scripts/FixREGFileAssociationsXP.reg" title="Download FixREGFileAssociationsXP.reg from Nilpo.com" rel="follow" rel="nofollow">FixREGFileAssociationsXP.reg</a><br />
<a href="http://www.nilpo.com/pub/scripts/FixREGFileAssociationsVista.reg" title="Download FixREGFileAssociationsVista.reg from Nilpo.com" rel="follow" rel="nofollow">FixREGFileAssociationsVista.reg</a></p>
<p>As for your error message, see my post <a href="http://www.nilpo.com/2009/07/windows-xp/error-there-is-no-script-engine-for-file-extension/" rel="follow" rel="nofollow">“There is no script engine for file extension” error when opening .vbs files</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter A</title>
		<link>http://www.nilpo.com/2009/07/windows-xp/restoring-vbs-vbscript-script-file-file-associations/#comment-47300</link>
		<dc:creator>Peter A</dc:creator>
		<pubDate>Thu, 09 Jul 2009 23:36:58 +0000</pubDate>
		<guid>http://www.nilpo.com/2009/07/windows-xp/restoring-vbs-vbscript-script-file-file-associations/#comment-47300</guid>
		<description>Followed instructions. Tried to run a VBS Script and got the following error message:  

Windows Script Host

   There is no script engine for file extension ".vbs""

The clicked to download the fix for XP that you provided but when I ran it, I just got a few lines of code in Notepad and the reg file didn't run.

Help</description>
		<content:encoded><![CDATA[<p>Followed instructions. Tried to run a VBS Script and got the following error message:  </p>
<p>Windows Script Host</p>
<p>   There is no script engine for file extension &#8220;.vbs&#8221;"</p>
<p>The clicked to download the fix for XP that you provided but when I ran it, I just got a few lines of code in Notepad and the reg file didn&#8217;t run.</p>
<p>Help</p>
]]></content:encoded>
	</item>
</channel>
</rss>

