Service will not start using Net Start in btach file

Posted on 2009-02-10
Medium Priority
Last Modified: 2013-11-21
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.
@Echo Off
Net Stop "ArcGIS Server Object Manager"
Echo ArcGIS Server is Stopped.
Net Start "ArcGIS Server Object Manager"
Echo ArcGIS Server is Started.

Open in new window

Question by:apwbe
  • 3
  • 2

Expert Comment

ID: 23603755
Can you start the service manually ?

Author Comment

ID: 23603810
I can start the service manually just fine.

Expert Comment

ID: 23603864
are there any  local ploicies restricting the use of batch files, or their privalege levels?
 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks


Author Comment

ID: 23604714
Not that I know. How can I check to make sure?

Accepted Solution

Pierellie earned 2000 total points
ID: 23605668
In the "Administrative Tools" menu click "domain controller security policies". That is if its a Domain controller. If that isn't there click start>run and type "secpol.msc". If it is a domain controller, i'd suggest looking in both these panels.

I'm thinking it would be under local policy>security options. if you find nothing there check all other categories for something. You need to be logged in as a local administrator in order to access these panels. As well as disable/enable any services.


Author Comment

ID: 23607370
This server is not a Domain controller but I was able to access the Local Security Settings and could not find anything specific or referencing "services". Anything in particular that I should be looking at?

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

My previous article  (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/Windows_Server_2008/A_4466-A-beginners-guide-to-installing-SCCM2007-on-Windows-2008-R2-Server.html)detailed one possible method to get SCCM 2007 installed an…
Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip is around source server preparation. No migration is an easy migration, there is a…
Loops Section Overview
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question