[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

creating batch file using net stop and net start

Posted on 2006-04-25
6
Medium Priority
?
1,494 Views
Last Modified: 2012-06-22
I have 2 services which I had to disable from starting up during login time and now if any users need to have this program running they would have to go into services and start the 2 services manually themselves.  Is there a simple batch file that I could write so that the user could simply double click a file and this would invoke the services to start?  I don't want users going into services and making these changes, it's too complicated for most, I need to make it as simple as possible and an icon on their desktop would be the easiest solution.

Please Help!!
0
Comment
Question by:bbarac
  • 4
  • 2
6 Comments
 
LVL 4

Accepted Solution

by:
Caudax earned 1000 total points
ID: 16536510
For future reference, batch scripting requests should go to Operating Systems -> MS-DOS for a quick response.

Your solution appears to be:

@NET START servicename
@NET START otherservicename
0
 

Author Comment

by:bbarac
ID: 16536599
ya I don't know why I even posted this question, had a solution two seconds later.

NET START "Error Reporting Service"
NET START "FTP Publishing Service"
SET START "IIS Admin"
NET START "Messenger"
0
 
LVL 4

Expert Comment

by:Caudax
ID: 16536606
By the way, there are no special DOS shorthands for service names.

Does this solution solve the problem?

Caudax
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 4

Expert Comment

by:Caudax
ID: 16536629
I suppose I should've reloaded the page.

In that case, by all means, go ahead and get the points refunded. Because the procedure for this is poorly explained (if at all), the way to do this is to go click on support (top right corner) and post a 0 point question requesting a refund.
0
 

Author Comment

by:bbarac
ID: 16536646
i don't care about the points, it was explained well enough.
0
 
LVL 4

Expert Comment

by:Caudax
ID: 16536677
Alright.

Thanks,
Caudax
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
The SignAloud Glove is capable of translating American Sign Language signs into text and audio.
Progress
Introduction to Processes

873 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