DLL & COM & ActiveX: WshRemote and COM

  • screwtape / 104 / Thurs, 28 Jan 2010 17:33:00 GMT / Comments (0)
  • I am the admin of this network. I want to be able to kick off scripts on remote computers AND have the script access resources on the network. Kicking off the script on the remote computer has worked without a hitch as long as I do not access any resources on the network. If I attempt to do that I get

    "Error - Line: 68, Char: 1
    Description: Path not found"

    from the launching script (line 68 is when I am attempting to get a directory from a network share). So I read and read and bang my head on a wall for awhile. Then this morning I open up DCOMCNFG and see what is going on with WshRemote. I have "The launching user" set as the person to run the app. I assume that is me (the admin of all the computers here). I know that I do have access to the network share and when I run the script locally on my computer everything runs fine (and has run fine for months)...

    Sooo.. For fun I decide to set "This user" to on my computer and the remote computer I am testing with. I set "This user" to my domain login and everything works like a champ. I assume that the problem is the remote side the script is running as "system" and "system" does not have access to the network share, thus the error. I cannot find anywhere that this is listed as a bug but it would appear to be one. Does anyone know of a fix for this? I really really really want to avoid have to reconfigure all the workstations in my network with "This user" now...and reconfigure later as passwords change over time.

    Thanks!
  • Keywords:

    wshremote, com, dll, activex

  • http://programming.itags.org/com-activex/174573/«« Last Thread - Next Thread »»
  • DLL & COM & ActiveX Questions

    • vxd

      HIhow do i do vxd calls in VB?such as createfile and deviceiocontrol in VC++thank you...

      By gambit

    • windows services

      how can I access and change WINDOWS XP services using Visual Basic? Which command or object should I...

      By kota_balaji

    • OLE objects

      I am trying to make staff profile and I am saveing pictures in database as ole objects but some how ...

      By amtalr

    • VB Client - Java Server Interaction?

      Hi, I'm trying to work out how to go abouts implementing my final year project. I was hoping to...

      By skintstudent

    • WebBased Chat

      Hi all:Anybody know how to write a web based message streaming chat room? :)I don't want to use...

      By top10, 1 Comments

    • VB and ActiveX EXE

      Have been using VB for a while now, mostly Active X DLL with Intranets.Come accoss a problem that ca...

      By brocklanders, 6 Comments

    • very interesting note !

      Hi to alli download codejock extreme suite pro v9.81 and it has many controls . one of the was repor...

      By soda120, 3 Comments

    • Which way now? Please Suggest...

      I have just learnt how to connect, fetch etc using COM (ActiveX DLL) from a Oracle Database.What els...

      By mindcrime, 1 Comments

    • Writing VB code for reading data from uC

      I am doing the project to make a microcontroller communicate with PC. I am facing the problem writin...

      By kevy, 1 Comments