Export (0) Print
Expand All

Limitations of Remote WSH

Microsoft® Windows® 2000 Scripting Guide

Remote WSH has two important limitations. First, there is no easy way to retrieve the output from a remotely run script. Second, remotely run scripts cannot access shared folders using the credentials of the user who ran the controller script.

To work around the first problem, you can create a text file that holds the results of your worker script. You might create the file on a shared folder on each of the remote computers you are running the worker scripts on and then retrieve the files and store them in a central location. To learn about creating text files and accessing them by using UNC paths, see "Script Runtime Primer" in this book.

However, there is no way around the second problem, at least not without creating potential security vulnerabilities.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft