[wpkg-users] Running wpkg.js as System Account
Falko Trojahn
nospam_ft at smi-softmark.de
Thu Jan 6 17:28:27 CET 2011
Am 06.01.2011 16:45, schrieb LAPLAUD François:
> Hi again,
> In fact i was wrong sorry, the TEMP var is correctly initialized...
> My problem is totally different from what I previously said :
> I am making tests of remotely running the wpkg.js script using System Account by using psexec like below :
> psexec \\pc1007-057 -s cscript \\srv-wds01.sdis72.fr\wpkg-w7\wpkg.js /synchronize /debug
>
> 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)
>
> If I try again to run the first command, same error message appear.
>
> I am lost...
>
Just a wild guess: did you use double "\\" in your config.xml?
<param name='log_file_path'
value='\\\\server.smi-softmark.de\\install\\logs' />
Salut,
Falko
More information about the wpkg-users
mailing list