Solved

disabling a service via DOS

Posted on 2003-11-02
5
194 Views
Last Modified: 2012-05-04
IS IT POSSIBLE TO DISABLE AN XP SERVICE VIA DOS?
0
Comment
Question by:matt150279
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

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…
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

695 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