TechKnowSurge
CompTIA Tech+ 3.2 CompTIA A+ Core 2 1.3 CompTIA Server+ 2.5 CompTIA A+ Core 2 1.4 CompTIA Server+ 2.4 Cisco CCST IT 4.1
VideoComputeFree

DEMO: Services

Windows Services are background programs that run automatically on a computer, often before any user logs in, making them essential for core system and network functions. The Windows Services console provides visibility and control over each service's status, startup behavior, and configuration.

Complete this video to capture a CTF flag worth 1 point.

About this video

Windows Services are background programs that operate independently of user sessions, allowing essential processes to run continuously without manual intervention. Standard applications require a user to be logged in and actively launch them, but services bypass that limitation by starting automatically during the boot process — often before any user account is ever accessed. This architecture is fundamental to how operating systems maintain consistent functionality across reboots and user sessions. The Windows Services console, accessible by searching for "services" in the Start menu, provides a centralized view of every registered service on the machine. Each entry displays its current status, running or stopped, along with a configurable startup type: automatic, automatic with delayed start, manual, or disabled. Administrators can start, stop, or restart individual services directly from this interface, as well as modify their properties to control how and when they initialize. A practical example of service dependency is the DHCP client, a built-in Windows service responsible for requesting and obtaining an IP address from a network server. Because network connectivity is required from the moment a machine comes online, the DHCP client runs as an automatic service — active well before any user logs in. This same principle applies broadly across server environments, where dozens of services must be operational at startup to support users, applications, and infrastructure without any manual intervention from an administrator.

What you'll learn

What's covered

Windows Services

Aligned to

CompTIA Tech+
3.2 Compare and contrast components of an operating system.
CompTIA A+ Core 2
1.3 Given a scenario, use features and tools of the Microsoft Windows 10/11 operating system (OS).
1.4 Given a scenario, use the appropriate Windows settings.
CompTIA Server+
2.5 Explain server roles, features, and services.
2.4 Given a scenario, perform server administration.
Cisco CCST IT
4.1 Assist users in resolving Windows OS issues

Key terms

Windows Service
A program that runs in the background on a Windows system, operating independently of user login and typically starting automatically when the computer boots.
Services Console
A Windows management tool used to view, start, stop, and configure the properties of installed services on a computer.
Startup Type
A service property that defines how and when a service is launched, with options including Automatic, Automatic (Delayed Start), Manual, and Disabled.
Dynamic Host Configuration Protocol
DHCP
A network protocol that automatically assigns IP addresses and other configuration parameters to devices on a network.

Topics

Windows Services Operating Systems System Administration Windows Os Background Processes Service Configuration

Transcript

What a Service Is For

There's another thing on our computer called services — yet another program. So what are services, and what do they look like?

Let's give an example here. I've created a program, and this program is going to monitor the temperature outside and monitor the temperature inside, and based off of that information it might turn on my heat or my AC in my home. So this is just a simple little program that I have. It has a couple of inputs into it, and then it will do something based off of those inputs.

Now with this program, what I have to do is I have to get into my computer, I have to double-click this to open it up, so that way it can start monitoring these two inputs and give that output. Otherwise it's not up and running on the computer. And you can see that that could be problematic, because I could turn on my computer and not have logged in yet, and now this program is not up and running when I want it to be up and running. Whether I'm on the computer or not, I want it to be up and running.

Well, what I can do is I can take this program and turn it into a service. You can take lots of different programs and turn them into a service.

The Services Console

So what I'm going to do is I'm going to open up Windows here, and I'm going to type in services and open up the service console. This service console that I see here has lots of different services that are on it. With that, I can see the status — some of them are running and some of them are not. I can also see the startup type: some of them automatically set up, some of them manually have to be set up and started, and some of them are automatically set up but with a timer, so they're delayed. So I can see that there's different software here that's installed. Each one of these is a program on the computer that's set up as a service.

An Example: the DHCP Client

Let's look at a specific service that's already set up on this machine. What I'm going to do is scroll down to DHCP client. The DHCP client is what goes out and grabs an IP address — connects to the network and says, hey, can you give me an IP address, and then the machine will assign an IP address to it. So the DHCP client is pretty important. On most networks, most networks are not going to statically assign something, so it's going to need to be up and running for the computer to be able to have any kind of connectivity to a network and to the rest of the world.

So this DHCP client is running. I can right-click on this and I can stop the service — in which case, I wouldn't want to do that, but I could — or I could restart it if it's malfunctioning. And then what I can do is I can pull up the properties of it. When I pull up the properties on here, I can see the startup type. So the startup type, I pulled down: I can do automatic with delayed start, I can do automatic, I can do manual, or I can disable this altogether. So this is a way for me to control this service and how this service is going to function.

Turning Your Own Program Into a Service

So with my temp adjust program, what I could do is I could set up the service in here. Now, there is a command that you have to go through, and we're not too concerned about setting that up and demonstrating that at this point, but just know that I could actually create a program and set it up in here so it could be up and running when this computer starts.

A lot of these take effect and activate before you ever even log into the computer, which is pretty important, especially when you're talking about servers. When you're talking about servers, you have lots of these services that get launched before anybody has to sign into that machine, and that's pretty critical for the functionality of a server — and also even for services like DHCP on a regular client machine.

About TechKnowSurge

TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.

Explore free tools and programs →