I want to use a batch file to stop and start a service on our server. I am trying to use the attached code in the batch file. It will stop the service fine but will not start the service and I get an error stating:
The "xxx" service could not be started.
The service did not report and error.
More help is available by typing NET HELPMSG 3534
Typing "NET HELPMSG 3534' just told me that the service did not report an error.
Net Stop "ArcGIS Server Object Manager"
Echo ArcGIS Server is Stopped.
Net Start "ArcGIS Server Object Manager"
Echo ArcGIS Server is Started.