Remote scripting
-
Hi, I'm trying to run a script on a remote machine using WshRemote object. I'm getting a Permission denied error (Err No:800a0046).....i don't know how to configure the remote machine...Or am i missing anything else...(assume i hv full control over the remote pc and can change settings as i wish) the foloing is the segment of my code that fails ................ Set Controller = WScript.CreateObject("WSHController") Set RemoteScript = Controller.CreateScript("test.vbs", "builder") 'builder - name of the remote machine WScript.ConnectObject RemoteScript, "remote_" RemoteScript.Execute ................. ............. Please help me i've to get out of this soon:sigh: Thanks, East
-
Hi, I'm trying to run a script on a remote machine using WshRemote object. I'm getting a Permission denied error (Err No:800a0046).....i don't know how to configure the remote machine...Or am i missing anything else...(assume i hv full control over the remote pc and can change settings as i wish) the foloing is the segment of my code that fails ................ Set Controller = WScript.CreateObject("WSHController") Set RemoteScript = Controller.CreateScript("test.vbs", "builder") 'builder - name of the remote machine WScript.ConnectObject RemoteScript, "remote_" RemoteScript.Execute ................. ............. Please help me i've to get out of this soon:sigh: Thanks, East
The error message would lead me to believe that you DON'T have full rights to the target machine. It looks like your process is logging into the target machine as Guest. RageInTheMachine9532