<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" media="screen" href="/App_Themes/default/rss.xslt"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:evnet="http://www.mscommunities.com/rssmodule/"><channel><title>Comment Feed for VB script issue on Windows 2008 (TechOff on Channel 9)</title><atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/forums/techoff/442047-vb-script-issue-on-windows-2008/rss/default.aspx" /><image><url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url><title>Comment Feed for VB script issue on Windows 2008 (TechOff on Channel 9)</title><link>http://channel9.msdn.com/forums/TechOff/442047-VB-script-issue-on-Windows-2008/</link></image><description>VB script issue on Windows 2008</description><link>http://channel9.msdn.com/forums/TechOff/442047-VB-script-issue-on-Windows-2008/</link><language>en-us</language><pubDate>Mon, 01 Dec 2008 23:40:59 GMT</pubDate><lastBuildDate>Mon, 01 Dec 2008 23:40:59 GMT</lastBuildDate><generator>EvNet (EvNet, Version=1.0.3599.6114, Culture=neutral, PublicKeyToken=null)</generator><item><title>Re: Re: Re: Re: Re: Re: Re: VB script issue on Windows 2008</title><description>A first troubleshooting step is to download &lt;a href="http://support.microsoft.com/kb/259011"&gt;DCOMTest&lt;/a&gt; and get it working.&lt;br&gt;&lt;br&gt;If DCOMTest isn't working, VBScript remote execution won't work.&lt;br&gt;&lt;br&gt;If DCOMTest is working, but VBScript still is failing the .CreateScript call, make sure to set the "allow remote administration exception" group policy under gpedit.msc | computer configuration\administrative templates\network\network connections\standard profile\windows firewall, and set the appropriate IP range (or * if you're just trying to get things to work... remember to lock it down afterwards)&lt;br&gt;&lt;br&gt;Once .CreateScript is working, you can use the objRemoteScript.Error object to troubleshoot issues during the actual running of the script.&lt;br&gt;</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/442047-VB-script-issue-on-Windows-2008/?CommentID=446375</link><pubDate>Mon, 01 Dec 2008 23:40:58 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/442047-VB-script-issue-on-Windows-2008/?CommentID=446375</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/446375/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>A first troubleshooting step is to download DCOMTest and get it working.If DCOMTest isn't working, VBScript remote execution won't work.If DCOMTest is working, but VBScript still is failing the .CreateScript call, make sure to set the "allow remote administration exception" group policy under&amp;#8230;</evnet:previewtext><dc:creator>Matthew van Eerde</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/446375/Trackback.aspx</trackback:ping></item><item><title>Re: Re: Re: Re: Re: Re: VB script issue on Windows 2008</title><description>Matthew, could&amp;nbsp;you please post the solution? I'm having the same problem between two computers on the same domain, regardless of the OS (XP or Win Server). I'm getting "Permission denied" on .CreateScript, although I'm a local admin on both machines and have no problems running a vbscript directly on the "remote" box. I tried to use WMI with "Win32_Process" to run the script, but that failed too with error 8. I can&amp;nbsp;start Notepad on the remote box using either method without any problems.</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/442047-VB-script-issue-on-Windows-2008/?CommentID=446350</link><pubDate>Mon, 01 Dec 2008 21:17:04 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/442047-VB-script-issue-on-Windows-2008/?CommentID=446350</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/446350/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Matthew, could&amp;nbsp;you please post the solution? I'm having the same problem between two computers on the same domain, regardless of the OS (XP or Win Server). I'm getting "Permission denied" on .CreateScript, although I'm a local admin on both machines and have no problems running a vbscript&amp;#8230;</evnet:previewtext><dc:creator>Leo</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/446350/Trackback.aspx</trackback:ping></item><item><title>Re: Re: Re: Re: Re: VB script issue on Windows 2008</title><description>Which line is failing?&lt;br&gt;&lt;br&gt;If you'd like to take this to a more responsive medium you can email me at (mateer at microsoft dot com) or IM me at (mvaneerde at hotmail dot com)&lt;br&gt;</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/442047-VB-script-issue-on-Windows-2008/?CommentID=442778</link><pubDate>Wed, 12 Nov 2008 20:38:30 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/442047-VB-script-issue-on-Windows-2008/?CommentID=442778</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/442778/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Which line is failing?If you'd like to take this to a more responsive medium you can email me at (mateer at microsoft dot com) or IM me at (mvaneerde at hotmail dot com)</evnet:previewtext><dc:creator>Matthew van Eerde</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/442778/Trackback.aspx</trackback:ping></item><item><title>Re: Re: Re: Re: VB script issue on Windows 2008</title><description>&lt;P&gt;by using this script;&lt;BR&gt;&lt;BR&gt;Dim objController, objRemoteScript, objFSO &lt;BR&gt;Dim objTSIn, objTSOut, strComputer &lt;/P&gt;
&lt;P&gt;&lt;BR&gt;'Create objects &lt;BR&gt;Set objController = CreateObject("WshController") &lt;BR&gt;Set objFSO = CreateObject("Scripting.FileSystemObject") &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;'Deploy script to remote computer &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strComputer = "remotemachine" &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WScript.Echo strComputer &amp;amp; ": Deploying at " &amp;amp; Now &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set objRemoteScript = objController.CreateScript( _ &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "C:\test.vbs", strComputer)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WScript.ConnectObject objRemoteScript, "remote_" &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; objRemoteScript.Execute &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Do Until objRemoteScript.Status = 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ' 1 is running, 2 is done. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WScript.Echo "." &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WScript.Sleep 1000 &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Loop &lt;/P&gt;
&lt;P&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; objTSOut.WriteLine strComputer &amp;amp; ": Completed at " &amp;amp; Now &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set objRemoteScript = Nothing &lt;/P&gt;&lt;BR&gt;&lt;BR&gt;</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/442047-VB-script-issue-on-Windows-2008/?CommentID=442763</link><pubDate>Wed, 12 Nov 2008 18:37:10 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/442047-VB-script-issue-on-Windows-2008/?CommentID=442763</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/442763/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>by using this script;Dim objController, objRemoteScript, objFSO Dim objTSIn, objTSOut, strComputer 
'Create objects Set objController = CreateObject("WshController") Set objFSO = CreateObject("Scripting.FileSystemObject") 
&amp;nbsp;&amp;nbsp;'Deploy script to remote computer&amp;#8230;</evnet:previewtext><dc:creator>neopay</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/442763/Trackback.aspx</trackback:ping></item><item><title>Re: Re: Re: VB script issue on Windows 2008</title><description>How are you deploying it?&lt;br&gt;</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/442047-VB-script-issue-on-Windows-2008/?CommentID=442745</link><pubDate>Wed, 12 Nov 2008 16:59:27 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/442047-VB-script-issue-on-Windows-2008/?CommentID=442745</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/442745/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>How are you deploying it?</evnet:previewtext><dc:creator>Matthew van Eerde</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/442745/Trackback.aspx</trackback:ping></item><item><title>Re: Re: VB script issue on Windows 2008</title><description>I am trying to deploy a vbscript on a remote machine running on windows 2008. and i get permission denied, even if i am using administrator account which is the same administrator password in the remote machine. &lt;BR&gt;&lt;BR&gt;does anyone has an idea, or workaround on this?</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/442047-VB-script-issue-on-Windows-2008/?CommentID=442725</link><pubDate>Wed, 12 Nov 2008 15:05:38 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/442047-VB-script-issue-on-Windows-2008/?CommentID=442725</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/442725/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>I am trying to deploy a vbscript on a remote machine running on windows 2008. and i get permission denied, even if i am using administrator account which is the same administrator password in the remote machine. does anyone has an idea, or workaround on this?</evnet:previewtext><dc:creator>neopay</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/442725/Trackback.aspx</trackback:ping></item><item><title>Re: VB script issue on Windows 2008</title><description>Where are you running VBScript - as a scheduled task, in IE, etc.?&lt;br&gt;</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/442047-VB-script-issue-on-Windows-2008/?CommentID=442516</link><pubDate>Tue, 11 Nov 2008 20:46:39 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/442047-VB-script-issue-on-Windows-2008/?CommentID=442516</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/442516/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Where are you running VBScript - as a scheduled task, in IE, etc.?</evnet:previewtext><dc:creator>Matthew van Eerde</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/442516/Trackback.aspx</trackback:ping></item><item><title>Re: VB script issue on Windows 2008</title><description>Try "cscript &amp;lt;yourfile&amp;gt;.vbs"... Or is that you can't get something work?</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/442047-VB-script-issue-on-Windows-2008/?CommentID=442059</link><pubDate>Mon, 10 Nov 2008 03:20:20 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/442047-VB-script-issue-on-Windows-2008/?CommentID=442059</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/442059/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Try "cscript &amp;lt;yourfile&amp;gt;.vbs"... Or is that you can't get something work?</evnet:previewtext><dc:creator>cheong</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/442059/Trackback.aspx</trackback:ping></item></channel></rss>