Solved

Remote Scripting on 2003

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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

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…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

895 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

13 Experts available now in Live!

Get 1:1 Help Now