Solved

Remote Scripting on 2003

Posted on 2006-06-13
1
195 Views
Last Modified: 2010-04-18
I am trying to to run the script name DataTransfer.vbs in a remote machine.(MS SERVER 2003)
When I run the deployement script(show below) everything works ok until a section on the DataTransfer.vbs where try to copy the data files back to the orinal server. But if I copy the
DataTransfer.vbs to the remote server and run it manually everything works. Any Ideas.

sRemote = "remoteserver"
Wscript.Echo sRemote
Set oController = WScript.CreateObject("WSHController")
Set RemoteScript = oController.CreateScript("d:\Clinic\Data\DataTransfer.vbs", sRemote)
RemoteScript.Execute
Do While RemoteScript.Status <> 2
    WScript.Sleep 100
Loop
0
Comment
Question by:ruizsantosed
1 Comment
 
LVL 51

Accepted Solution

by:
Netman66 earned 500 total points
ID: 16894135
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I guess it is not common knowledge to most Wintel engineers/administrators: If you have an SNMP-based monitoring system in your environment (and it's common to have SNMP or Syslog) it's reasonably easy to enable monitoring of the Windows Event logs,…
Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question