| Introduction
VNCScan has some very powerful scripting features
built into it that allows you to write a script inside the console
and then execute the script on any remote computer that fits certain
criteria The system requirements for the remote system are
listed below.
System Requirements for Console
- Windows 2000 or better
- PSEXEC is preferred (especially with XP XP2)
- Administrative access to remote computer
- No firewall blocking communication between you
and client
System Requirements for Client
- Windows NT 4 SP4 or better (minimum)
- Windows 2000 or better (suggested)
- No firewall blocking networking functions
- Remote Registry Service must be started
How It's Done
Step 1
To create a new script,
Right-click a computer in a managed group and choose the menu
item labeled "Push a Script" and then from the submenu,
choose "Edit Scripts". To execute a script that you have
already created, skip to the last step in this tutorial.
|
 |
|
Step 2 In the jobs window, you can
either edit an existing script or create a new one. For
the sake of this tutorial, create a new script by clicking on
the appropriate button.
|
 |
|
Step 3 This is the main window
where you enter your code and supply any files that you want
copied over to the remote computer before the script executes.
This sample script runs defrag remotely on Windows XP
computers. Windows 2000 and earlier lacks this awesome
feature.
Your script can be written in either
standard command batch scripting or Windows VBS. If you
are new to either of these,
this website will be a great resource.
|
 |
|
Step 4 Be sure to enter in an
Administrator username and password.
Note that it is the administrative user on
the REMOTE computer that you want to put in here and not the
administrator on your own PC. These are the credentials
that are passed to the remote machine so that you have
permissions to run a script remotely on it.
If this script needs to install video
drivers or you want it to be visible to the person sitting at
the remote computer, you will need to check the interactive
checkbox under the password field. To keep the script
hidden, keep it unchecked.
After you are done, click save and close out
of the editor. At this point, the script is added to
your right-click menu in VNCScan.
|
 |
|
Step 5 To
execute the script that was just created, right-click a
computer just like step 1 and this time, choose your script
from the menu
|
 |
You can find sample scripts
here!
|