Solved

Remote Scripting on 2003

Posted on 2006-06-13
1
193 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Active Directory question 5 105
SID change in file permissions 3 92
Moving Files servers to DFS 11 32
home folder path for users 4 47
Preface Having the need * to contact many different companies with different infrastructures * do remote maintenance in their network required us to implement a more flexible routing solution. As RAS, PPTP, L2TP and VPN Client connections are no…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

705 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now