<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Offer Remote Assistance in Windows XP Professional</title>
	<atom:link href="http://www.lewisroberts.com/2006/02/15/offer-remote-assistance-in-windows-xp-professional/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lewisroberts.com/2006/02/15/offer-remote-assistance-in-windows-xp-professional/</link>
	<description>me, on scripting, trance and other subjects i enjoy</description>
	<lastBuildDate>Thu, 26 Aug 2010 18:44:55 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Mark</title>
		<link>http://www.lewisroberts.com/2006/02/15/offer-remote-assistance-in-windows-xp-professional/comment-page-1/#comment-21716</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Tue, 02 Feb 2010 10:46:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.lewisroberts.com/?p=40#comment-21716</guid>
		<description>Rob, your link is broken. I would love to take a look if you could update the link.

Thanks</description>
		<content:encoded><![CDATA[<p>Rob, your link is broken. I would love to take a look if you could update the link.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luis Caldeira</title>
		<link>http://www.lewisroberts.com/2006/02/15/offer-remote-assistance-in-windows-xp-professional/comment-page-1/#comment-21236</link>
		<dc:creator>Luis Caldeira</dc:creator>
		<pubDate>Tue, 06 May 2008 15:32:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.lewisroberts.com/?p=40#comment-21236</guid>
		<description>Hello, thanks to the OP  :)

Josh Goldberg you have already a tool to login when a user is not around. it is called remote desktop.</description>
		<content:encoded><![CDATA[<p>Hello, thanks to the OP  <img src='http://www.lewisroberts.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Josh Goldberg you have already a tool to login when a user is not around. it is called remote desktop.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lewis</title>
		<link>http://www.lewisroberts.com/2006/02/15/offer-remote-assistance-in-windows-xp-professional/comment-page-1/#comment-17659</link>
		<dc:creator>Lewis</dc:creator>
		<pubDate>Thu, 06 Dec 2007 15:36:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.lewisroberts.com/?p=40#comment-17659</guid>
		<description>Good stuff this Rob. Thanks for the credit!</description>
		<content:encoded><![CDATA[<p>Good stuff this Rob. Thanks for the credit!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob Dunn</title>
		<link>http://www.lewisroberts.com/2006/02/15/offer-remote-assistance-in-windows-xp-professional/comment-page-1/#comment-17641</link>
		<dc:creator>Rob Dunn</dc:creator>
		<pubDate>Wed, 05 Dec 2007 22:55:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.lewisroberts.com/?p=40#comment-17641</guid>
		<description>I&#039;ve taken the code that you and Daniel have put together and made it available as a download here:

http://www.vbshf.com/vbshf/forum/forums/thread-view.asp?tid=323&amp;start=1&amp;posts=1

This will allow you to enter a computer name and then connect to a remote computer (pending it is not logged out) and open up a remote assistance connection, allowing you to take control with no user intervention on the remote end.

Thanks again to both of you for your great work!

Rob</description>
		<content:encoded><![CDATA[<p>I&#8217;ve taken the code that you and Daniel have put together and made it available as a download here:</p>
<p><a href="http://www.vbshf.com/vbshf/forum/forums/thread-view.asp?tid=323&amp;start=1&amp;posts=1" rel="nofollow">http://www.vbshf.com/vbshf/forum/forums/thread-view.asp?tid=323&amp;start=1&amp;posts=1</a></p>
<p>This will allow you to enter a computer name and then connect to a remote computer (pending it is not logged out) and open up a remote assistance connection, allowing you to take control with no user intervention on the remote end.</p>
<p>Thanks again to both of you for your great work!</p>
<p>Rob</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Grundel</title>
		<link>http://www.lewisroberts.com/2006/02/15/offer-remote-assistance-in-windows-xp-professional/comment-page-1/#comment-15495</link>
		<dc:creator>Daniel Grundel</dc:creator>
		<pubDate>Thu, 04 Oct 2007 02:27:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.lewisroberts.com/?p=40#comment-15495</guid>
		<description>Lewis, your post inspired me to create what I believe is an excellent remote assistance solution that gets about as close to VNC as possible.  Have a look:
http://dgrundel.wordpress.com/2007/10/04/unsolicited-remote-assistance/

I&#039;m new to this whole blogging thing, so give me a break on the posted code. :P</description>
		<content:encoded><![CDATA[<p>Lewis, your post inspired me to create what I believe is an excellent remote assistance solution that gets about as close to VNC as possible.  Have a look:<br />
<a href="http://dgrundel.wordpress.com/2007/10/04/unsolicited-remote-assistance/" rel="nofollow">http://dgrundel.wordpress.com/2007/10/04/unsolicited-remote-assistance/</a></p>
<p>I&#8217;m new to this whole blogging thing, so give me a break on the posted code. <img src='http://www.lewisroberts.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Unsolicited Remote Assistance &#171; what i do when i&#8217;m supposed to be working</title>
		<link>http://www.lewisroberts.com/2006/02/15/offer-remote-assistance-in-windows-xp-professional/comment-page-1/#comment-15494</link>
		<dc:creator>Unsolicited Remote Assistance &#171; what i do when i&#8217;m supposed to be working</dc:creator>
		<pubDate>Thu, 04 Oct 2007 02:25:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.lewisroberts.com/?p=40#comment-15494</guid>
		<description>[...] gentleman I worked with sent me a link to an interesting article on Lewis Roberts&#8217; blog about offering remote assistance.Â The article shows Lewis&#8217; method for tweaking a couple files on theÂ client PC that will [...]</description>
		<content:encoded><![CDATA[<p>[...] gentleman I worked with sent me a link to an interesting article on Lewis Roberts&#8217; blog about offering remote assistance.Â The article shows Lewis&#8217; method for tweaking a couple files on theÂ client PC that will [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Meg</title>
		<link>http://www.lewisroberts.com/2006/02/15/offer-remote-assistance-in-windows-xp-professional/comment-page-1/#comment-13836</link>
		<dc:creator>Meg</dc:creator>
		<pubDate>Wed, 15 Aug 2007 10:46:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.lewisroberts.com/?p=40#comment-13836</guid>
		<description>I got hold of Modified RA files that someone else created. Thanks, now I know how to create my own modified remote assistance files. 
Here are two working scripts that copy modified files to a remote machine and initiates a remote assistance session and then removes those files. http://www.visualbasicscript.com/m_50614/tm.htm</description>
		<content:encoded><![CDATA[<p>I got hold of Modified RA files that someone else created. Thanks, now I know how to create my own modified remote assistance files.<br />
Here are two working scripts that copy modified files to a remote machine and initiates a remote assistance session and then removes those files. <a href="http://www.visualbasicscript.com/m_50614/tm.htm" rel="nofollow">http://www.visualbasicscript.com/m_50614/tm.htm</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob Dunn</title>
		<link>http://www.lewisroberts.com/2006/02/15/offer-remote-assistance-in-windows-xp-professional/comment-page-1/#comment-10843</link>
		<dc:creator>Rob Dunn</dc:creator>
		<pubDate>Fri, 25 May 2007 19:31:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.lewisroberts.com/?p=40#comment-10843</guid>
		<description>I&#039;ve been thinking of doing this, so I&#039;ll probably modify Doug&#039;s code and release something in the near term.

Upon pondering the issue of writing the entires to the file, why not just back up the whole html file and write a known good file to the remote system?  Without looking into this in-depth at the moment, I can&#039;t see any reason why not to do that (the files seem small enough), instead of writing a few lines here and there.  Unless someone can give me a good reason?</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been thinking of doing this, so I&#8217;ll probably modify Doug&#8217;s code and release something in the near term.</p>
<p>Upon pondering the issue of writing the entires to the file, why not just back up the whole html file and write a known good file to the remote system?  Without looking into this in-depth at the moment, I can&#8217;t see any reason why not to do that (the files seem small enough), instead of writing a few lines here and there.  Unless someone can give me a good reason?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lewis</title>
		<link>http://www.lewisroberts.com/2006/02/15/offer-remote-assistance-in-windows-xp-professional/comment-page-1/#comment-10695</link>
		<dc:creator>Lewis</dc:creator>
		<pubDate>Mon, 21 May 2007 17:38:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.lewisroberts.com/?p=40#comment-10695</guid>
		<description>Hi Josh, I am not aware of there being any facility to do this for a machine that isn&#039;t currently logged on. Sorry.</description>
		<content:encoded><![CDATA[<p>Hi Josh, I am not aware of there being any facility to do this for a machine that isn&#8217;t currently logged on. Sorry.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Goldberg</title>
		<link>http://www.lewisroberts.com/2006/02/15/offer-remote-assistance-in-windows-xp-professional/comment-page-1/#comment-10580</link>
		<dc:creator>Josh Goldberg</dc:creator>
		<pubDate>Fri, 18 May 2007 16:13:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.lewisroberts.com/?p=40#comment-10580</guid>
		<description>Very useful. One more thing, do you know how to send a ctrl-alt-del so I can login to the users machine remotely even if he is not there?</description>
		<content:encoded><![CDATA[<p>Very useful. One more thing, do you know how to send a ctrl-alt-del so I can login to the users machine remotely even if he is not there?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lukas Kucera</title>
		<link>http://www.lewisroberts.com/2006/02/15/offer-remote-assistance-in-windows-xp-professional/comment-page-1/#comment-7466</link>
		<dc:creator>Lukas Kucera</dc:creator>
		<pubDate>Wed, 14 Mar 2007 14:16:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.lewisroberts.com/?p=40#comment-7466</guid>
		<description>Hello,
U may find useful this article: http://msdn2.microsoft.com/en-us/library/ms811079.aspx
Compleate description of how to make appliaction that work with Remote Help</description>
		<content:encoded><![CDATA[<p>Hello,<br />
U may find useful this article: <a href="http://msdn2.microsoft.com/en-us/library/ms811079.aspx" rel="nofollow">http://msdn2.microsoft.com/en-us/library/ms811079.aspx</a><br />
Compleate description of how to make appliaction that work with Remote Help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lukas Kucera</title>
		<link>http://www.lewisroberts.com/2006/02/15/offer-remote-assistance-in-windows-xp-professional/comment-page-1/#comment-7448</link>
		<dc:creator>Lukas Kucera</dc:creator>
		<pubDate>Tue, 13 Mar 2007 09:14:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.lewisroberts.com/?p=40#comment-7448</guid>
		<description>Hello, greate article, but, i will be complaing about taking control of clients machine. Especialy in enterprise enviroment, i&#039;ll be aware of it. I will highly recomand to left some user interaction, at least accepting the initial request. If you rip of this functionaly &quot;security guys&quot; can blame you about spying on customers/users. In other hand, there is realy no need to conform of overiding control of targeted machine, especialy when user can in any time cancel the connection by pressing ESC.</description>
		<content:encoded><![CDATA[<p>Hello, greate article, but, i will be complaing about taking control of clients machine. Especialy in enterprise enviroment, i&#8217;ll be aware of it. I will highly recomand to left some user interaction, at least accepting the initial request. If you rip of this functionaly &#8220;security guys&#8221; can blame you about spying on customers/users. In other hand, there is realy no need to conform of overiding control of targeted machine, especialy when user can in any time cancel the connection by pressing ESC.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lewis</title>
		<link>http://www.lewisroberts.com/2006/02/15/offer-remote-assistance-in-windows-xp-professional/comment-page-1/#comment-4514</link>
		<dc:creator>Lewis</dc:creator>
		<pubDate>Fri, 12 Jan 2007 23:14:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.lewisroberts.com/?p=40#comment-4514</guid>
		<description>Hi Doug, I&#039;m afraid I didn&#039;t finish it. Though a usable idea, it didn&#039;t warrant the time spending on it to complete the script. Sorry.</description>
		<content:encoded><![CDATA[<p>Hi Doug, I&#8217;m afraid I didn&#8217;t finish it. Though a usable idea, it didn&#8217;t warrant the time spending on it to complete the script. Sorry.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://www.lewisroberts.com/2006/02/15/offer-remote-assistance-in-windows-xp-professional/comment-page-1/#comment-4495</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Fri, 12 Jan 2007 19:51:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.lewisroberts.com/?p=40#comment-4495</guid>
		<description>Did you complete this script? Please post it if you did.

Thanks,

Doug</description>
		<content:encoded><![CDATA[<p>Did you complete this script? Please post it if you did.</p>
<p>Thanks,</p>
<p>Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lewis</title>
		<link>http://www.lewisroberts.com/2006/02/15/offer-remote-assistance-in-windows-xp-professional/comment-page-1/#comment-79</link>
		<dc:creator>Lewis</dc:creator>
		<pubDate>Wed, 22 Feb 2006 23:42:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.lewisroberts.com/?p=40#comment-79</guid>
		<description>I made a start (that means I&#039;ve not finished) on the connection script.

So far it checks for the machine on the network, connects to it, backs up the existing files, edits the originals, opens offer remote assistance and bobs yer uncle... importantly it doesn&#039;t change the changes back so don&#039;t say I didn&#039;t warn you!

Here you go:

&lt;code&gt;
Const ForReading = 1, ForWriting = 2, ForAppending = 8

Set oSh = CreateObject(&quot;WScript.Shell&quot;)
Set oFs = CreateObject(&quot;Scripting.FileSystemObject&quot;)

sComputerName = InputBox (&quot;Type the computer name of the user you wish to offer assistance to...&quot;, &quot;Offer Assistance&quot;)
sTargetPath = &quot;\C$\WINDOWS\pchealth\helpctr\System\Remote~1\&quot;

If sComputerName = &quot;&quot; Then
	oSh.Popup &quot;No name entered.&quot;, 2, &quot;Warning&quot;, 0 + 4096
	WScript.Quit
End If

If Ping(sComputerName) = False Then
	oSh.Popup  UCase(sComputerName) &amp; &quot; is not responding to pings.&quot; &amp; vbLf &amp; &quot;Ensure you have typed the name correctly.&quot;, 0, &quot;Error&quot;, 0 + 48 + 4096
	WScript.Quit
Else
	&#039; Make backups of files being edited...
	oFs.CopyFile &quot;\\&quot; &amp; sComputerName &amp; sTargetPath &amp; &quot;helpeeaccept.htm&quot;, _
				 &quot;\\&quot; &amp; sComputerName &amp; sTargetPath &amp; &quot;helpeeaccept.htm.bak&quot;, True
				 
	oFs.CopyFile &quot;\\&quot; &amp; sComputerName &amp; sTargetPath &amp; &quot;Interaction\Server\TakeControlMsgs.htm&quot;, _
				 &quot;\\&quot; &amp; sComputerName &amp; sTargetPath &amp; &quot;Interaction\Server\TakeControlMsgs.htm.bak&quot;, True
	
	Set oAccessFileBak = oFs.OpenTextFile _
						(&quot;\\&quot; &amp; sComputerName &amp; sTargetPath &amp; &quot;helpeeaccept.htm.bak&quot;, ForReading)
	Set oAccessFile = oFs.OpenTextFile _
					 (&quot;\\&quot; &amp; sComputerName &amp; sTargetPath &amp; &quot;helpeeaccept.htm&quot;, ForWriting, True)
	
	Set oTakeControlFileBak = oFs.OpenTextFile _
						  (&quot;\\&quot; &amp; sComputerName &amp; sTargetPath &amp; &quot;Interaction\Server\TakeControlMsgs.htm.bak&quot;, ForReading)
	Set oTakeControlFile = oFs.OpenTextFile _
						  (&quot;\\&quot; &amp; sComputerName &amp; sTargetPath &amp; &quot;Interaction\Server\TakeControlMsgs.htm&quot;, ForWriting)
	
	&#039; Edit the access file to auto accept assistance offers
	i = 0
	While Not oAccessFileBak.AtEndOfStream
		sLine = oAccessFileBak.ReadLine
		If i = 158 Then
			oAccessFile.WriteLine(&quot;DoAccept(); // This line was added by an automation script.&quot; &amp; vbLf &amp; sLine)
		Else
			oAccessFile.WriteLine(sLine)
		End If
		i = i + 1
	Wend
	
	&#039; Edit the take control file to auto accept take control requests.
	i = 0
	While Not oTakeControlFileBak.AtEndOfStream
		sLine = oTakeControlFileBak.ReadLine
		If i = 43 Then
			oTakeControlFile.WriteLine _
			(&quot;&lt;body id=&quot;&quot;idBody&quot;&quot; class=&quot;&quot;sys-inlineform-bgcolor1&quot;&quot; onload=InitiateMsg();onClickHandler(0);&gt; &lt;!-- This line was added by an automation script. --&gt;&quot;)
		Else
			oTakeControlFile.WriteLine(sLine)
		End If
		i = i + 1
	Wend

&#039; 	oSh.Run &quot;hcp://CN=Microsoft%20Corporation,L=Redmond,S=Washington,C=US/Remote%20Assistance/Escalation/unsolicited/unsolicitedrcui.htm&quot;, 3, False
&#039; 	WScript.Sleep 2000
&#039; 	
&#039; 	oSh.AppActivate &quot;Help and Support Center&quot;
&#039; 	 
&#039; 	oSh.SendKeys sComputerName
&#039; 	WScript.Sleep 500
&#039; 	oSh.SendKeys &quot;{TAB}{ENTER}&quot;
	
	
End If


Function Ping(strTarget)

	Set objWMIPinger = GetObject(&quot;winmgmts:\\.\root\cimv2&quot;)
	Set objWMIPingStatus = objWMIPinger.ExecQuery(&quot;Select * from Win32_PingStatus where Address=&#039;&quot; &amp; strTarget &amp; &quot;&#039;&quot;)
	
	For Each oPing In objWMIPingStatus
		If IsNull(oPing.StatusCode) Or oPing.StatusCode &lt;&gt; 0 Then
			Ping = False
		Else
			Ping = True
		End If
	Next
End Function
&lt;/body&gt;&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>I made a start (that means I&#8217;ve not finished) on the connection script.</p>
<p>So far it checks for the machine on the network, connects to it, backs up the existing files, edits the originals, opens offer remote assistance and bobs yer uncle&#8230; importantly it doesn&#8217;t change the changes back so don&#8217;t say I didn&#8217;t warn you!</p>
<p>Here you go:</p>
<p><pre><code>
Const ForReading = 1, ForWriting = 2, ForAppending = 8

Set oSh = CreateObject(&quot;WScript.Shell&quot;)
Set oFs = CreateObject(&quot;Scripting.FileSystemObject&quot;)

sComputerName = InputBox (&quot;Type the computer name of the user you wish to offer assistance to...&quot;, &quot;Offer Assistance&quot;)
sTargetPath = &quot;\C$\WINDOWS\pchealth\helpctr\System\Remote~1\&quot;

If sComputerName = &quot;&quot; Then
&nbsp;&nbsp;oSh.Popup &quot;No name entered.&quot;, 2, &quot;Warning&quot;, 0 + 4096
&nbsp;&nbsp;WScript.Quit
End If

If Ping(sComputerName) = False Then
&nbsp;&nbsp;oSh.Popup&nbsp;&nbsp;UCase(sComputerName) &amp; &quot; is not responding to pings.&quot; &amp; vbLf &amp; &quot;Ensure you have typed the name correctly.&quot;, 0, &quot;Error&quot;, 0 + 48 + 4096
&nbsp;&nbsp;WScript.Quit
Else
&nbsp;&nbsp;&#039; Make backups of files being edited...
&nbsp;&nbsp;oFs.CopyFile &quot;\\&quot; &amp; sComputerName &amp; sTargetPath &amp; &quot;helpeeaccept.htm&quot;, _
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;\\&quot; &amp; sComputerName &amp; sTargetPath &amp; &quot;helpeeaccept.htm.bak&quot;, True
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;oFs.CopyFile &quot;\\&quot; &amp; sComputerName &amp; sTargetPath &amp; &quot;Interaction\Server\TakeControlMsgs.htm&quot;, _
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;\\&quot; &amp; sComputerName &amp; sTargetPath &amp; &quot;Interaction\Server\TakeControlMsgs.htm.bak&quot;, True
&nbsp;&nbsp;
&nbsp;&nbsp;Set oAccessFileBak = oFs.OpenTextFile _
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(&quot;\\&quot; &amp; sComputerName &amp; sTargetPath &amp; &quot;helpeeaccept.htm.bak&quot;, ForReading)
&nbsp;&nbsp;Set oAccessFile = oFs.OpenTextFile _
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (&quot;\\&quot; &amp; sComputerName &amp; sTargetPath &amp; &quot;helpeeaccept.htm&quot;, ForWriting, True)
&nbsp;&nbsp;
&nbsp;&nbsp;Set oTakeControlFileBak = oFs.OpenTextFile _
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(&quot;\\&quot; &amp; sComputerName &amp; sTargetPath &amp; &quot;Interaction\Server\TakeControlMsgs.htm.bak&quot;, ForReading)
&nbsp;&nbsp;Set oTakeControlFile = oFs.OpenTextFile _
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(&quot;\\&quot; &amp; sComputerName &amp; sTargetPath &amp; &quot;Interaction\Server\TakeControlMsgs.htm&quot;, ForWriting)
&nbsp;&nbsp;
&nbsp;&nbsp;&#039; Edit the access file to auto accept assistance offers
&nbsp;&nbsp;i = 0
&nbsp;&nbsp;While Not oAccessFileBak.AtEndOfStream
&nbsp;&nbsp;&nbsp;&nbsp;sLine = oAccessFileBak.ReadLine
&nbsp;&nbsp;&nbsp;&nbsp;If i = 158 Then
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;oAccessFile.WriteLine(&quot;DoAccept(); // This line was added by an automation script.&quot; &amp; vbLf &amp; sLine)
&nbsp;&nbsp;&nbsp;&nbsp;Else
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;oAccessFile.WriteLine(sLine)
&nbsp;&nbsp;&nbsp;&nbsp;End If
&nbsp;&nbsp;&nbsp;&nbsp;i = i + 1
&nbsp;&nbsp;Wend
&nbsp;&nbsp;
&nbsp;&nbsp;&#039; Edit the take control file to auto accept take control requests.
&nbsp;&nbsp;i = 0
&nbsp;&nbsp;While Not oTakeControlFileBak.AtEndOfStream
&nbsp;&nbsp;&nbsp;&nbsp;sLine = oTakeControlFileBak.ReadLine
&nbsp;&nbsp;&nbsp;&nbsp;If i = 43 Then
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;oTakeControlFile.WriteLine _
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(&quot;&lt;body id=&quot;&quot;idBody&quot;&quot; class=&quot;&quot;sys-inlineform-bgcolor1&quot;&quot; onload=InitiateMsg();onClickHandler(0);&gt; &lt;!-- This line was added by an automation script. --&gt;&quot;)
&nbsp;&nbsp;&nbsp;&nbsp;Else
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;oTakeControlFile.WriteLine(sLine)
&nbsp;&nbsp;&nbsp;&nbsp;End If
&nbsp;&nbsp;&nbsp;&nbsp;i = i + 1
&nbsp;&nbsp;Wend

&#039;&nbsp;&nbsp; oSh.Run &quot;hcp://CN=Microsoft%20Corporation,L=Redmond,S=Washington,C=US/Remote%20Assistance/Escalation/unsolicited/unsolicitedrcui.htm&quot;, 3, False
&#039;&nbsp;&nbsp; WScript.Sleep 2000
&#039;&nbsp;&nbsp; 
&#039;&nbsp;&nbsp; oSh.AppActivate &quot;Help and Support Center&quot;
&#039;&nbsp;&nbsp;&nbsp;&nbsp;
&#039;&nbsp;&nbsp; oSh.SendKeys sComputerName
&#039;&nbsp;&nbsp; WScript.Sleep 500
&#039;&nbsp;&nbsp; oSh.SendKeys &quot;{TAB}{ENTER}&quot;
&nbsp;&nbsp;
&nbsp;&nbsp;
End If

Function Ping(strTarget)

&nbsp;&nbsp;Set objWMIPinger = GetObject(&quot;winmgmts:\\.\root\cimv2&quot;)
&nbsp;&nbsp;Set objWMIPingStatus = objWMIPinger.ExecQuery(&quot;Select * from Win32_PingStatus where Address=&#039;&quot; &amp; strTarget &amp; &quot;&#039;&quot;)
&nbsp;&nbsp;
&nbsp;&nbsp;For Each oPing In objWMIPingStatus
&nbsp;&nbsp;&nbsp;&nbsp;If IsNull(oPing.StatusCode) Or oPing.StatusCode &lt;&gt; 0 Then
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ping = False
&nbsp;&nbsp;&nbsp;&nbsp;Else
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ping = True
&nbsp;&nbsp;&nbsp;&nbsp;End If
&nbsp;&nbsp;Next
End Function
&lt;/body&gt;</code></pre></p>
]]></content:encoded>
	</item>
</channel>
</rss>
