Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Remote Scripting on 2003

Posted on 2006-06-13
1
Medium Priority
?
203 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 2000 total points
ID: 16894135
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Organizations create, modify, and maintain huge amounts of data to help their businesses earn money and generally function.  Typically every network user within an organization has a bit of disk space to store in process items and personal files.   …
by Batuhan Cetin In this article I will be guiding through the process of removing a failed DC metadata from Active Directory (hereafter, AD) using the ntdsutil tool in a Windows Server 2003 environment. These steps are not necessary in a Win…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…

971 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