Question Locked

What's the best way to shutdown a service?

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I've installed a backup drive (usb) from seagate. The backup program works fine, but when the computer shutsdown, the associtated service fails to stop and errors out. I interested to know if there is a way to force this service to shutdown first prior to windows shutting down. (I'm thinking a script but not sure) Thanks in advance.

6 replies

by ron k.

I'd go to Start\Run type in 'services.msc' and choose the service from the list. You can easily stop the service. By right-clicking and choosing Properties you can change the start-up type to manual or disable it if you want to.

by seanferd

net stop service-name.

But I would try to find out why the problem happens, or if Seagate has an update to fix it or a workaround in their support area.

If it is because a user profile isn't unloading properly, UPHClean from MS might help.

by oldbaritone

Try stopping the service after the backup, while the USB drive is still plugged in. After the service is stopped, then "safely remove" the USB drive.

http://windowsitpro.com/article/articleid/15157/how-can-i-stop-and-start-services-from-the-command-line.html

This can be accomplished using the
net stop (service name)
net start (service name)
A full list of the exact services is found in the registry (run regedit.exe) under the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services key.

Alternatively, you can perform the stop and start using the name that is showed in the Services Control Panel applet by putting the name in quotes, i.e.
net stop "(service)"
net start "(service)"

by kenogami

I use a program called System Explorer and it works great. You can find it at Mistergroup.org. It's a free program and has alot of usefullfunctions.
I hope this will help you.
Randy

This discussion is closed to new replies.