-
Website
http://www.tech-recipes.com/ -
Original page
http://www.tech-recipes.com/rx/235/create-batch-file-to-start-or-end-window-services/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
davak
83 comments · 1 points
-
Web Design
3 comments · 1 points
-
danishbacker
9 comments · 1 points
-
flexinfo
11 comments · 1 points
-
Tonychelle
4 comments · 1 points
-
-
Popular Threads
-
Facebook: How To Get Only Status Updates on Your FB Home Page
1 week ago · 4 comments
-
Firefox: Enable Case Sensitive Searches When Using Find (Ctrl+F)
5 days ago · 1 comment
-
Windows 7: How To Disable Live Preview for Taskbar Thumbnails
1 week ago · 2 comments
-
Gmail: How to block a sender from your inbox
3 weeks ago · 3 comments
-
Our first iPhone game GreenThumb available in the App Store
3 weeks ago · 2 comments
-
Facebook: How To Get Only Status Updates on Your FB Home Page
You can check it out here: http://www.visualcron.com
I like the fact that you can save a profile of services and apply it later. You can save your original service configuration and then experiment safely - if anything goes wrong, you can just restore the original configuration.
Any help would be greatly appreciated!
sc \servername STOP "Servicename"
where sc is the service control utility in resource kit. You can use START to start a service and other switches to do the following:
sc \servername config servicename start=(boot, system, auto, demand, disabled)
'net' is not recognize as an internal or external command.
When that happens, this usually indicates that there is a problem with your PATH setting. To fix this, while in a command prompt, type PATH and hit the [enter] key. Your PATH variable may be long or short, depending on what programs have modified it, what you've done, etc..
What you need to do is make sure that you have C:WindowsSystem32 as the first location in the PATH line (assuming you are using WinXP). To fix the problem, type:
PATH %SystemRoot%System32
And add any other path locations that may already be listed before you modified the path. Separate each individual path location with a semi-colon ( ; ).
I usually keep my path variable simple:
PATH %SystemRoot%System32;%SystemRoot%;%SystemRoot%Progra~1;C:;D:;E:
EDIT: Sometimes setting this through a command prompt will not work, as the PATH variable may automatically be reset to what it was before you modified it. If this is the case, you can change the path by the following alternative method (assuming you're using WinXP):
Right-click on "My Computer" and choose "Properties"
Click the "Advanced" tab
Click the "Environment Variables" button
In the "System Variables" box, click on "Path", and click "Edit"
Make the changes to your path variable, then click "Ok"
Click "Ok" to exit all dialog windows.
This should save your PATH variable correctly.
I am using net start to start a service. but my service name has sqaure brackets soemthign like abc[32.0] and becuase of square braces its failing. does anyone know escapae sequence for this?
many thanks
savita.
Thks, Regards
NET STOP "Service Name" (The service stops after a second or two)
SC Config "Service Name" start= disabled
But this error is produced on the second line: -
[SC] OpenService FAILED 1060: The specified service does not exist as an installed service.
Patently the service does exist as it was stopped successfully in the first line.
Thanks, Leigh
If the service is disabled, we cannot start the service using '' net start command ''
i Was looking for Same.
Thanks,
Ahmad