Aleksandar Krstikj.com

GoToAssist Express Unattended Support Auto Accept

by on Mar.30, 2011, under Code

You may have head about a great service (application) offered from Citrix called GoToAssist Express. It’s basically a Remote Desktop application which allows a user to gain control of a computer belonging to another user and do whatever needs to be done. It’s envisioned as a support application where the “visiting” user will hopefully fix issues on the “host” user’s computer.

What separates it from other “Remote Desktop” applications is how extremely easy it is to use. I’ve personally spent so much time teaching people how to perform a necessary port-forward to get VNC running, that I could have “fixed” 3 computers in the meantime. GoToAssist Express is installed in just a click or two so even the most computer illiterate people can do it in a flash.


If you want to try this service for yourself go and register for a free trial at http://www.gotoassist.com/hak5 (the hak5 part is just my own way of showing my gratitude towards the guys and gals over at Hak5 (be sure to check the show out if you haven’t already)). But anyway, enough free advertising, I wanted to talk about something else.

If you are using this service, or if you plan on using it in the future you will stumble upon the “Unattended Support” feature. What this enables is for the support representative to access a client’s computer without bothering the client to accept all sorts of prompts that will enable him to do it. After enabling this feature, a user can enter a certain machine at any time without bothering anyone about anything. The only prerequisite is that the machine is on/online.

Well I was “fixing” my mother’s computer remotely a few days ago, and realized I have to go out for a while and come back to it later. Naturally, I remembered the “Unattended Support” feature and went on to set it up. Unfortunately, my mother was out as well so she wasn’t able to accept the prompts necessary to install the feature. You see, when you send an “Unattended Support” request to a user, you end up with the following prompt:

GoToAssist Express Unattended Support Prompt

It is at this point that you need a person on the other side to complete the form and allow access. But since I didn’t have this person available I decided to automate the process using a very small VB Script which I thought I might share with anyone that has ran (or may run) into the same situation. Two versions of the script exist depending on whether you want to use the windows password as the prompt suggests, or you just want to have Unattended Access and type in the user password upon acquiring a Remote Connection.


In case you want to use a password, what you need to do is open up notepad and type in the following lines:

Set WshShell = WScript.CreateObject (“WScript.Shell”)
wscript.Sleep 15000
WshShell.sendkeys “password”
WshShell.sendkeys “~”

The number 15000 in the second line sets the delay (in milliseconds) before the other actions execute. You should modify this number to suit your needs as you will need some time to initiate Unattended Support from the host computer so that this prompt appears on the remote computer.

The “password” in the third line should be replaced with the actual password of the remote user. It should be in quotes!

The fourth line is basically a key press of the “Enter” key.

In case you don’t want to use a password enter the following lines:

Set WshShell = WScript.CreateObject (“WScript.Shell”)
wscript.Sleep 15000
WshShell.sendkeys “{TAB}”
WshShell.sendkeys ” ”
WshShell.sendkeys “~”

This sends a TAB switching over to the checkbox, then a SPACE clearing the checkbox and finally an ENTER closing the window. If you use this method, you will be expected to provide the password during a normal machine login procedure once you manage to remotely connect to the computer.

After setting up the notepad file with one of the two options save it as “GoToAssist.vbs” or something similar (.vbs and NOT .txt). Then, when you’re ready double click the file to run it, switch to the host computer to initiate “Unattended Support” and wait for your preset time delay so that the script fills in the prompt window at the remote machine.

That’s it! Unattended setup of GoToAssist “Unattended Support” with just a few lines of code.

If you want to download my files, you can find them HERE.

I hope it helps someone!

:, , , ,

2 Comments for this entry

Leave a Reply