Simply-ware.com Products ‌  Downloads ‌  About
   
 Remote Script Help
   
Introduction

You may use this tool to remotely execute system administration scripts on remote machines.
Program allow remote running VBScript, JScript and cmd files without installation of the client part.

Running commands remotely
1. Before using Remote Script tool establish an connection to the remote system is first.

Specify name or IP address of the remote computer. When the remote system is in the same Windows domain as the local machine, connection can be established automatically (for running interactive process, is necessary to specify user name and password). If you are connected with a local account or with an unprivileged domain account, it will be necessary to enter a username and password for an account that has administrator rights on the remote computer..

2. Select script type in the "Script Options" group.

CScript  -  runs script with cscript.exe,command-line version of WSH (Windows Scripting Host).
WScript -  runs script with wscript.exe, Windows based version of WSH.
Cmd      -  runs batch with command interpreter cmd.exe

Interacive
if disabled - RemoteScript runs the remote process in the context of the system account. For "CScript" and "cmd" mode the console output will be redirected to RemoteScript output window.
If enabled - program runs the remote process interactively in the same account to connect to remote machine.

3. Type command or script to execute and then click "Ok".

If no any error messages are displayed, command executed successfully. To terminate remote process click "Stop".

Example scripts

Logoff remote PC (win XP/2003 only)

shutdown -l


Hibernate remote PC

rundll32.exe powrprof.dll,SetSuspendState


Enable/disable windows XP Firewall (VBScript)

Set objFirewall = CreateObject("HNetCfg.FwMgr")
Set objPolicy = objFirewall.LocalPolicy.CurrentProfile
objPolicy.FirewallEnabled = FALSE


Firefox silent install (VBScript)
'Executes installer from the Net Share folder, interactive mode only.

Dim WshShell
Dim NetShare
NetShare = "\\Server\Software\"
set WshShell = CreateObject("wscript.Shell")
WshShell.Run(NetShare +"FirefoxSetup.exe -ms")

 

System Requirements:
Windows 2000, XP, server 2003 operating systems.

Version history:
v1.0  11/26/2006  first release.

 

Copyright © 2005-2007 Simplyware. All rights reserved.  ‌  Terms of use  ‌  Privacy statement