Solved

Remote Scripting on 2003

Posted on 2006-06-13
1
201 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 51

Accepted Solution

by:
Netman66 earned 500 total points
ID: 16894135
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

631 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