Solved

disabling a service via DOS

Posted on 2003-11-02
5
192 Views
Last Modified: 2012-05-04
IS IT POSSIBLE TO DISABLE AN XP SERVICE VIA DOS?
0
Comment
Question by:matt150279
5 Comments
 
LVL 3

Accepted Solution

by:
ToolMan earned 20 total points
ID: 9667492
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
 
LVL 5

Assisted Solution

by:fantasy1001
fantasy1001 earned 20 total points
ID: 9668696
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question