Solved

disabling a service via DOS

Posted on 2003-11-02
5
190 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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 Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

831 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