• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 197
  • Last Modified:

disabling a service via DOS

IS IT POSSIBLE TO DISABLE AN XP SERVICE VIA DOS?
0
matt150279
Asked:
matt150279
2 Solutions
 
ToolManCommented:
Hi, i think a service cannot be disabled via dos shell, however you can use the "SC.EXE" resourcekit utillty to disable a service.

Syntax would be like this-->
C:\>sc config seclogon start= disabled
[SC] ChangeServiceConfig SUCCESS
0
 
fantasy1001Commented:
This is an example from our fellow expert on disabling a service via api
http://beta.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/Q_20722079.html

Regards,
~ fantasy ~
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now