5 replies
by cactus pete
NET STOP "Service Name"
NET START "Service Name"
Use NET /? for other options. [NET STOP /? will give you the syntax for that command, too]
by cactus pete
by lizzy
In a past tip from TR:
'MANAGE AND DEBUG SERVICES USING SC.EXE
Although the primary focus of Windows XP was to make it easy for home users to use, Microsoft also included some additional features for advanced users and administrators. One of these features is the command line utility, Sc.exe.
This utility allows users to manage and debug services from the command line. You can use it to query the status of a service; to start, pause, and stop the service; to change the configuration of a service; to enumerate service dependencies; to delete the service from the registry; and for many other purposes. To obtain the list of all supported commands, type sc at the command line.
The Sc.exe utility is quite powerful. For example, it will allow you to query services not only by their name but also by their type (driver, service, both), their state, group, and so on. If, for instance, you wanted to query all of the services that are stopped, you would type:
"sc query state= inactive"
Be sure to type the command exactly as shown. There is no space between the state and the equal sign; however, there is a space between the equal sign and "inactive." If the correct syntax is not used, you will receive an error.'
Hi,
actually I need to know which os we are talking about.
The other answer is good , there is a utillity in the resource kit.
I have been thinking about this a few days, and usually the problem is a corrupt driver.
Reinstall the driver (with the latest version)and also use the latest service pack for the os.
Also check for virus, a couple of months ago there was a virus that infected the spooler service, I had to clean the virus and reinstall the printer drivers.
Leopold
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending