Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

using vbscript to read a remote file with alternate credentials

$
0
0

Hello,

im writing a script with vbscript that monitors remote log files.

i can easily access remote files with the "Scripting.FileSystemObject" object and a UNC path.

i just use the administrative share of the drive on the remote machine and access all its files.

My problem is that i need to access files in other domains and workgroups, which have different credentials then the machine im running the script from.

so i'm looking for a way to use alternate credentials in vbscript that will allow me to read a file from a remote machine in a different domain.

i read a scripting guy post saying that it isn't possible, but its from 2006 and i hope that things changed.

Any thoughts?


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>