XP Remote Assistance - Auto Login
Author: jason
Date: 2004-11-07
Category: Technical

Set Remote Assistance to auto login a remote user, and auto take control of the machine. The below steps must be done on the machine you wish to remote control.

Remote Assistance is a little different then Remote Desktop. They both use the same protocal (RDP, port 3389). But RA lets you interact with the logged on user.

Step 1. Modify the helpeeaccept.htm file
Code

Location: WINDOWS\PCHEALTH\HELPCTR\System\Remote Assistance
File: helpeeaccept.htm
Line: 156
Change:
btnAccept.disabled = false;
btnDecline.disabled = false;
btnDecline.focus();

To:
btnAccept.disabled = false;
btnDecline.disabled = false;
btnDecline.focus();
DoAccept();

Add DoAccept(); beneath the three button lines.


Step 2. Modify the TakeControlMsgs.htm file
Code

Location: WINDOWS\PCHEALTH\HELPCTR\System\Remote Assistance\Interaction\Server
File: TakeControlMsgs.htm
Line: 44
Change:
<BODY id="idBody" class="sys-inlineform-bgcolor1" onload=InitiateMsg()>

To:
<BODY id="idBody" class="sys-inlineform-bgcolor1" onload=onClickHandler(0)>


Step 3. Modify the Global Policy Settings
Code

This part may not be applicable in XP Home. I'm not sure gpedit is available for Home Edition. It should be in XP Pro and Media Center though.
Start > Run > gpedit.msc
Local Computer Policy > Computer Configuration > Administrative Templates > System > Remote Assistance

Solicited Remote Assistance - Enabled
Permit Remote Control of this Machine - Allow helpers to remotely control the computer
Maximum Ticket Time (value) - 99
Maximum Ticket Time (units) - Days

Offer Remote Assistance - Enabled
Permit Remote Control of this Machine - Allow helpers to remotely control the computer
Helpers > Show > Add (add name of helper, I just use the local user name)


Step 4. Create a file for the Remote Assistance Invitation
Code

From the Desktop > F1 > Ask for Assistance > Invite a friend to connect to your computer with Remote Assistance
Remote Assistance > Invite someone to help you > Save invitation as a file (Advanced) <
Set the invitation to expire 99 Days > Continue
Uncheck Require the recipient to use a password > Save Invitation
Pick a place to put the file


Your invitation is now good for 99 days and you will be able to log into the distant computer without remote intervention.



jason @ jasonthomasfrance.com - www.masterstationlog.com - copyright 2009