[wpkg-users] Running wpkg.js as System Account

Troy Hamilton troy.a.hamilton at gmail.com
Thu Jan 6 18:35:20 CET 2011


2011/1/6 LAPLAUD François <laplaud at sdis72.fr>

> ...
> All is going well except that I get this error message :
> [...]
> Initialized temporary local log file: C:\Windows\TEMP\wpkg-logInit.log
> Initializing new log file: \\srv-wds01.sdis72.fr
> \wpkg\Logs\pc1007-057.W7.log
> Failed to open log file: ACCESS DENIED; falling back to local logging: null
> WPKG 1.1.2 starting...
> Base directory is '\\srv-wds01.sdis72.fr\wpkg-w7'.
> [...]
>
> I have checked shares and NTFS rights and they seems correct.
> I then types the following command :
> psexec \\pc1007-057 -s cmd /c echo test > \\srv-wds01.sdis72.fr
> \wpkg\Logs\pc1007-057.W7.log
>
> And this last command works perfectly (the log file is created... with the
> text "test" in it)
>
>
Your echo test does seem to indicate that your rights on the server share
are correct, which is kind of puzzling.  You might try actually logging into
a workstation and running your command:

cscript \\srv-wds01.sdis72.fr\wpkg-w7\wpkg.js /synchronize /debug

from within a SYSTEM user command prompt (
http://wpkg.org/SYSTEM_user_Command_Prompt).

I use the same method that you are attempting using beyondexec (
http://www.beyondlogic.org/solutions/remoteprocess/BeyondExec.htm), but I
don't remember encountering this error.

Cheers,

Troy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20110106/043ddd1a/attachment-0002.html>


More information about the wpkg-users mailing list