Solved

disabling a service via DOS

Posted on 2003-11-02
5
187 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
Comment Utility
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
Comment Utility
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

771 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now