Jump to content

Remote Assistance - Win XP


kater
 Share

Recommended Posts

The link to the screen which prompts to save the Invitation:

C:\WINDOWS\pchealth\helpctr\Vendors\CN=Microsoft Corporation,L=Redmond,S=Washington,C=US\Remote Assistance\Escalation\Email\rcscreen8.htm

I am attempting to automate it but the dropdown for hours is empty, most likely due to an activex warning which needs to be bypassed.

try this: Start > Run > Helpctr.exe C:\WINDOWS\pchealth\helpctr\Vendors\CN=Microsoft Corporation,L=Redmond,S=Washington,C=US\Remote Assistance\Escalation\Email\rcscreen8.htm

it worked for me.

"To the well orgainized mind, Death is but the nextGreat Adventure" - Professor Dumbledore, Hogwarts Head Master(Excerpted from "Harry Potter and the Sorcers Stone" by J.K. Rowling)"Technology has a Life, Like Humans, and should be treated with respect. When You abuse it, You get abused!" - CRS Chairman of the Board of Directors (me)=================================================I will personally hand pick autoit scripters to join the CRS Corp Scripting Team.=================================================

Link to comment
Share on other sites

try this: Start > Run > Helpctr.exe C:\WINDOWS\pchealth\helpctr\Vendors\CN=Microsoft Corporation,L=Redmond,S=Washington,C=US\Remote Assistance\Escalation\Email\rcscreen8.htm

it worked for me.

For me it opens help center to the default page.

Link to comment
Share on other sites

  • 1 year later...

I know this thread is old, but it was a great help to me coming up with my ultimate solution for windows xp (haven't attempted anything on Vista yet). I thought I would share my findings.

I have always wanted a one click - login solution for remote assistance, I didn't want to have the customer or myself open any ports, nor did I want to walk them through configuring anything.

The things you will need:

A PPTP VPN capable network (Any router hacked with dd-wrt works great for this)

UltraVNC http://prdownloads.sourceforge.net/ultravn...32.exe?download

The following scripts

AutoIT 3 (of course)

Download and install UltraVNC. Start up the server after install and configure a password in the admin settings.

Create a working directory on your desktop (any new folder)

Navigate over to C:\Program Files\UltraVNC and copy "winvnc.exe" and "ultravnc.ini" over to your working directory.

Open ultravnc.ini in notepad and change the path to \

Save it and edit the following script to your liking

The following includes a few scripts I found on the forums smashed together and updated to work with the new ultravnc.

This files needs to be named vpn.pbk and saved into your working directory. Please note that you will need to ONLY change the phone number entry listed below to your VPN server's ip address. I know it's long, but leave every other entry alone.

[VPN]
Encoding=1
Type=2
AutoLogon=0
UseRasCredentials=1
DialParamsUID=194593
Guid=F707C18E0BE93A4F9E547A15A96F89F2
BaseProtocol=1
VpnStrategy=2
ExcludedProtocols=0
LcpExtensions=1
DataEncryption=256
SwCompression=1
NegotiateMultilinkAlways=0
SkipNwcWarning=0
SkipDownLevelDialog=0
SkipDoubleDialDialog=0
DialMode=1
DialPercent=75
DialSeconds=120
HangUpPercent=10
HangUpSeconds=120
OverridePref=15
RedialAttempts=3
RedialSeconds=60
IdleDisconnectSeconds=0
RedialOnLinkFailure=0
CallbackMode=0
CustomDialDll=
CustomDialFunc=
CustomRasDialDll=
AuthenticateServer=0
ShareMsFilePrint=1
BindMsNetClient=1
SharedPhoneNumbers=0
GlobalDeviceSettings=0
PrerequisiteEntry=
PrerequisitePbk=
PreferredPort=VPN3-0
PreferredDevice=WAN-minipoort (L2TP)
PreferredBps=0
PreferredHwFlow=1
PreferredProtocol=1
PreferredCompression=1
PreferredSpeaker=1
PreferredMdmProtocol=0
PreviewUserPw=1
PreviewDomain=0
PreviewPhoneNumber=0
ShowDialingProgress=1
ShowMonitorIconInTaskBar=1
CustomAuthKey=-1
AuthRestrictions=608
TypicalAuth=2
IpPrioritizeRemote=1
IpHeaderCompression=0
IpAddress=0.0.0.0
IpDnsAddress=0.0.0.0
IpDns2Address=0.0.0.0
IpWinsAddress=0.0.0.0
IpWins2Address=0.0.0.0
IpAssign=1
IpNameAssign=1
IpFrameSize=1006
IpDnsFlags=0
IpNBTFlags=1
TcpWindowSize=0
UseFlags=0
IpSecFlags=0
IpDnsSuffix=

NETCOMPONENTS=
ms_server=1
ms_msclient=1

MEDIA=rastapi
Port=VPN4-0
Device=WAN Miniport (L2TP)

DEVICE=vpn
PhoneNumber=YOUR VPN SERVER'S IP WRITTEN WITHOUT THE QUOTES "76.11.22.33"
AreaCode=
CountryCode=1
CountryID=1
UseDialingRules=0
Comment=
LastSelectedPhone=0
PromoteAlternates=0
TryNextAlternateOnFail=1

The next chunk of code will need a few more places edited. It will establish the VPN connection, start the UltraVNC server and establish the connection to your viewer. Name it uvnc.pu3 Please note that you will need to change the Internal IP address to suit your computer, you do not have to edit anything else.

#include <GUIConstants.au3>
Global $GUIWidth
Global $GUIHeight

$GUIWidth = 220
$GUIHeight = 150
; install necessary files into temp dir
DirCreate(@TempDir & "\VPNCLIENT")
fileinstall("vpn.pbk",@TempDir & "\vpn.pbk",1)
;Create window
GUICreate("VPN Client", $GUIWidth, $GUIHeight)
GUICtrlCreateLabel("Username",10,10)
$username = GUICtrlCreateInput("", 10, 30, 200)
GUICtrlCreateLabel("Password",10,60)
$password = GUICtrlCreateInput("", 10, 80, 200,20,0x20)

;Create an "OK" button
$OK_Btn = GUICtrlCreateButton("OK", 40, 120, 70, 25)

;Create a "CANCEL" button
$Cancel_Btn = GUICtrlCreateButton("Cancel", 120, 120, 70, 25)
GUISetState(@SW_SHOW)
While 1
;After every loop check if the user clicked something in the GUI window
    $msg = GUIGetMsg()

   Select
   
  ;Check if user clicked on the close button
      Case $msg = $GUI_EVENT_CLOSE
     ;Destroy the GUI including the controls
         GUIDelete()
     ;Exit the script
         Exit
        
  ;Check if user clicked on the "OK" button
 Case $msg = $OK_Btn
    $user = GUICtrlRead($username)
    $pass = GUICtrlRead($password)
    GUISetState(@SW_HIDE)
;start vpn connection script
    $result = RunWait ("rasdial vpn " & $user & " " & $pass & ' /phonebook:"' & @tempdir & '\vpn.pbk"')


;Internal IP address of listening VNC client
$IP = "[b]192.168.50.12:5500[/b]"

;Copy dependent files to temp folder
FileInstall("ultravnc.ini",@TempDir & "\ultravnc.ini",1)
FileInstall("winvnc.exe",@TempDir & "\winvnc.exe",1)

;Throw error if vnc.reg isn't found
If NOT FileExists (@TempDir & "\ultravnc.ini") Then
    MsgBox(0,"","ultravnc.ini not found in " & @TempDir)
EndIf

;Throw an error if winvnc.exe isn't found
If NOT FileExists (@TempDir & "\winvnc.exe") Then
    MsgBox(0,"","winvnc.exe not found in " & @TempDir)
EndIf

;This allows the client to have UltraVNC server installed, or run supplied version from temp folder
If NOT ProcessExists ( "winvnc.exe" ) Then
Run(@TempDir & "\winvnc.exe -run", @TempDir)
EndIf

ProcessWait ( "winvnc.exe",5 )

;Initiate connection to listenening client
$run = RunWait(@TempDir & "\winvnc.exe -connect " & $IP, @TempDir)

; start ica and wait for it to close
    ProcessWaitClose("winvnc.exe")
; disconnect VPN
    RunWait ("rasdial vpn /disconnect")
    exit
;Check if user clicked on the "CANCEL" button
    Case $msg = $Cancel_Btn
         ;Exit the script
         Exit
   EndSelect
WEnd

Create the executable, give this executable to the person requiring help, create a vpn login for them on your vpn server, fire up UltraVNC viewer in non-encrypted listening mode (the vpn takes care of the encryption), and when they double click on the executable and login, you will have full control over their computer. When the UltraVNC server task is exited on the person's computer, it'll automatically terminate the VPN connection. I know this is a hot topic for a lot of people, ditch Microcrap's non-developer friendly Remote Assistance, and got the VNC route. You will be as happy as I am right now.

Edited by antidelldude
Link to comment
Share on other sites

You should have just used Copilot.

I don't like spending money. Copilot costs money.

Zinthose, My method doesn't need ports forwarded, system users configured, registry settings changed, etc. I do not work in a domain environment, I consult for hundreds of individuals. Not to mention who the hell leaves that remote registry "security hazard" service running Zinthose? I did come across your method earlier, it just isn't as universal as this.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...