473,396 Members | 1,935 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Critical Services

Hi,

How do I identify whether a service is "Critical" or not? Basically, I
am writing a program to stop all non-critical service.

AFAIK, the services can be found in
"HKLM\CurrentControlSet\Services\<name>". I am getting the names using the
ServiceController class (in System.ServiceProcess)

-Ashish

Apr 30 '06 #1
3 1471
On Sun, 30 Apr 2006 20:53:14 +0530, "Ashish Jindal"
<of*********************************************** *@gmail.com> wrote:
Hi,

How do I identify whether a service is "Critical" or not? Basically, I
am writing a program to stop all non-critical service.

AFAIK, the services can be found in
"HKLM\CurrentControlSet\Services\<name>". I am getting the names using the
ServiceController class (in System.ServiceProcess)

-Ashish


I don't think you can. As a service which isn't non-critical normaly
could be critical in certain hardware/software setups. This service
might not even realise it is critical to the computer's operation, it
just happens to be loaded as far as it's concerned.

The best you could do I suppose is have a list of services that are
*probaly* not critical.

Might want to have different lists that can be chosen based upon the
role of that computer.

If you know what the computers setup should be you could create a list
of the services that should always be running for that computer and
consider any other services as non-critical (good for a server I suppose
where someone has decided what should be running, and nothing else)
Apr 30 '06 #2
msconfig seems to be able to do this but I don't know how.

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"Ashish Jindal" wrote:
| Hi,
|
| How do I identify whether a service is "Critical" or not? Basically, I
| am writing a program to stop all non-critical service.
|
| AFAIK, the services can be found in
| "HKLM\CurrentControlSet\Services\<name>". I am getting the names using the
| ServiceController class (in System.ServiceProcess)
|
|
|
| -Ashish
|
|
|
Apr 30 '06 #3
hB
Hi,
List of unwanted, not so critical services:
http://www.microsoft.com/windowsxp/u.../stopspam.mspx
(Disabling Messenger Service in Windows XP)
http://www.claymania.com/windows2000-hardening.html (Closing Internet
Ports - Windows 2000)

Services Guide for Windows XP:
http://www.theeldergeek.com/services_guide.htm#Services

http://lordofnet.blogspot.com/2006/0...-speed-up.html
http://www.extremetech.com/article2/...1786006,00.asp

---
hB

May 1 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

77
by: Charles Law | last post by:
Hi guys I have a time critical process, running on a worker thread. By "time critical", I mean that certain parts of the process must be completed in a specific time frame. The time when the...
2
by: Xarky | last post by:
Hi, I am trying to learn Critical Sections. I have written a small program. Source code problem below. What the program is doing is disabling the CRTL-C signal in the critical section. My...
7
by: Piotrek Stachowicz | last post by:
Hi, I need to create the situation in my system, where no more critical sections can be initialized (win2000Server). I thought about creating a simple c# application and using the Monitor class....
6
by: MPH Computers | last post by:
Hi I am looking for some help on Threading and Critical Sections I have a main thread that controls an event the event handler creates a new thread for carrying out the work because the...
4
by: Chris Lopeman | last post by:
Hi All, I am fairly new to Win2K Pro or Win 2K for that matter. I have a fairly new system with much installed on it and have been playing with VS VB.net recently. Well Windows Updates says...
1
by: =?Utf-8?B?U3RldmVU?= | last post by:
I have a test routine that looks at the Application, System, and Security event logs. I noticed that Vista added a new "type" of error called "Critical". However, VS 2005 doesn't list this new...
8
by: Joe Withawk | last post by:
I have an application in which there exist a thread that handles directx rendering. It runs on a dual core system with windows vista and xp. It is set to have highest priority and simply loops with...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.