- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Microsoft
- >
- Re: Starting windows services through batch file
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2009 08:56 PM
тАО08-20-2009 08:56 PM
Starting windows services through batch file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2009 09:31 PM
тАО08-20-2009 09:31 PM
Re: Starting windows services through batch file
be more likely than a typical reader of this
HP-UX forum.
"windows" is not a very complete description
of the OS involved.
It's just possible that "a particular
application" might differ in this respect
from some other "particular application".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2009 10:16 PM
тАО08-20-2009 10:16 PM
Re: Starting windows services through batch file
c:\ net stop "ftp publishing"
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2009 11:59 AM
тАО09-01-2009 11:59 AM
Re: Starting windows services through batch file
For local services some simple commands are:
net stop
net start
for remote servers you can use:
sc
sc
or even
sc
sc
good luck and please assign points if these responses have helped!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2009 10:45 PM
тАО09-01-2009 10:45 PM
Re: Starting windows services through batch file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2009 05:05 AM
тАО09-02-2009 05:05 AM
Re: Starting windows services through batch file
Here is some information.
Services can be easily changed/accessed by creating batch files.
The important commands are the following:
NET START ├в starts the service
NET STOP ├в ends/stops the service
Before starting this we need to make sure which service we want to start or stop.
Go to Start├в >Run type services.msc click ok
Once we get the services windows we can see each service name.
Stop Window Services using Batch file
The following one is just example
First we need to open a notepad enter the following commands and save as stopservice.bat
NET STOP ├в Error Reporting Service├в
NET STOP ├в Messenger├в
The above commands stop the following services:
├в Error Reporting Service├в
├в Messenger├в
The same way we need to start the services using the following procedure we need to open a notepad enter the following commands and save as startservice.bat
NET START ├в Error Reporting Service├в
NET START ├в Messenger├в
These commands start the following services:
├в Error Reporting Service├в
├в Messenger├в
Hope, this would be of some help.
With regards and best wishes,
Kanth.