Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Remote scripting

Remote scripting

Scheduled Pinned Locked Moved Visual Basic
helptoolstutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    neo2k3
    wrote on last edited by
    #1

    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

    D 1 Reply Last reply
    0
    • N neo2k3

      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

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups