at job versus windows service on a w2k3 server
- From: "patrick" <patrick.maeschli@xxxxxxxxxxxx>
- Date: 22 Feb 2006 00:31:28 -0800
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
.
- Follow-Ups:
- Re: at job versus windows service on a w2k3 server
- From: patrick
- Re: at job versus windows service on a w2k3 server
- Prev by Date: How to config windows firewall allow dhcp services?
- Next by Date: CTRL-ALT-DEL SCREEN VANISHES
- Previous by thread: How to config windows firewall allow dhcp services?
- Next by thread: Re: at job versus windows service on a w2k3 server
- Index(es):