Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Andrzejek on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

line command to disable service

Status
Not open for further replies.

aistswc

IS-IT--Management
Feb 24, 2005
34
US
Hey all,

Is there a way to disable a service (trying to be lazy and disable service in logon script versus uninstalling software).

thanx,
clark

steve c.
IT Architect
Lexmark International
 
I know you can use the SC command to manipulate services but I don't know if it will disable a service for you.
 
BINGO!!!

thanx,

sc config service start= disabled.



steve c.
IT Architect
Lexmark International
 
Not sure about disabling but NET STOP servicename will knock the service down until the next reboot.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top