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

Question on running VBScript as System and Rights to a Network Share

$
0
0

Hi everyone.  I'm a little rusty with VB and had a question about a script I'm working on.  In my script I need to be able to connect to a network share to gather some data from certain folders.  This requires rights from my domain ID which I am already logged in with on the machine.  Then take that data in the same script and call a utility that only runs as System on the machine and pass data collected to it. 

So can you have one script run under one account and then call a *.exe as the System account in the same script?  I have not been successful in doing this so I thought I would reach out to everyone.

Thanks in advanced for any help!


Viewing all articles
Browse latest Browse all 15028

Trending Articles



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