|
Posted by patrick on February 22, 2006, 3:31 am
Please log in for more thread options
Hello world
i had the following scenario on a w2k3 server:
- A .cmd-file which executes a wscript file. the .cmd writes into a log
file
- this .cmd file is called trough a schedueld taks/at job with a
specified user
- the calling user is in the administrator group
this worked well
now i changed the call trough the job into a call from a windows
service
- A .cmd-file which executes a wscript file. the .cmd writes into a log
file
- this .cmd file is called from a windows service
- the user under which the service runs is the same as above
When the .cmd file is called from the ervice i get the following error
in the log-file
"Cscript Error: execution of the windows script host failed.
(unspecified error) "
i tried to call the wscript file with wscript itself and with csript.
this changes nothing
the executing user is also in the "log on as service" and "log on as
batch" policies.
has anyone an idea?
TIA
patrick
|