Windows Server · Lesson 02

Server Manager & Role Inventory

Learn what the server is actually responsible for before hardening it. Inventory roles, features, services, and dependencies so required functions are protected.

Server Manager is one of the best starting points because it connects the server's responsibilities with health, services, management tools, and role-specific configuration.

Lesson Snapshot

Core concepts6
Primary toolServer Manager
Decision model3 categories
GoalRole-aware inventory

Learning objectives

What this lesson should help you do

01

Use Server Manager to identify installed roles, features, services, and basic server health.

02

Distinguish a server role from a Windows feature, service, management tool, and application.

03

Classify installed components as required, unnecessary, or investigate based on scenario evidence.

04

Recognize why removing a role is a higher-impact action than stopping a single service.

05

Use PowerShell to inventory installed roles and features without changing them.

06

Verify that required roles are healthy before and after hardening.

Core vocabulary

Know what kind of component you are looking at

Role

A major server responsibility such as Active Directory Domain Services, DNS Server, DHCP Server, or File and Storage Services.

Role service

A smaller component inside a role that provides a specific capability.

Feature

A Windows capability that supports the operating system, administration, applications, or server roles.

Service

A background process that may support a role, feature, application, or Windows itself.

Management tool

An administrative console or module used to configure a role or feature.

Application

Software installed on the server that may depend on Windows roles, services, accounts, networking, or storage.

Main principle

Inventory before removal

Installed does not mean required, but unfamiliar does not mean unnecessary. Classification comes from scenario evidence and dependency review.

High-impact warning

Removing a role can affect the whole network

Roles such as AD DS, DNS, DHCP, file services, and IIS can support many users or systems at once.

Do not remove a role until its dependencies and verification plan are understood.

Tool map

Where to inspect roles and supporting components

Server Manager

Start → Server Manager

Dashboard health, Local Server, All Servers, installed roles, alerts, and role-specific management links.

Add Roles and Features

Server Manager → Manage → Add Roles and Features

Use the wizard to understand which roles and features are installed. Do not install or remove items just to explore.

Remove Roles and Features

Server Manager → Manage → Remove Roles and Features

Use only when the scenario and dependency review clearly justify removing a role or feature.

Services

Win + R → services.msc

Service name, status, startup type, dependencies, and whether the service supports a required role.

Computer Management

Win + R → compmgmt.msc

Shared folders, Task Scheduler, Event Viewer, storage, devices, and local administration context.

PowerShell

Start → search PowerShell → Run as administrator when required

Fast read-only inventory using Get-WindowsFeature, Get-Service, Get-CimInstance, and role-specific cmdlets.

Server Manager orientation

Four places to understand first

Dashboard

Shows a high-level summary of server health, role groups, events, services, performance, and manageability.

Local Server

Shows computer name, domain/workgroup status, firewall state, remote management, update status, NIC information, time zone, and related configuration.

All Servers

Provides a broader view when Server Manager is managing multiple systems.

Role pages

Installed roles may appear as dedicated navigation items with role-specific health and management information.

Inventory questions

Ten questions for every installed role

01

What server roles are installed?

02

Which roles are explicitly required by the scenario?

03

Which role services are installed under each role?

04

Which features support those roles?

05

Which services are running because of those roles?

06

Which role-specific firewall rules are enabled?

07

Which administrators or service accounts are tied to the role?

08

Which clients depend on the role?

09

What would stop working if the role were removed?

10

How will the role be tested after a hardening change?

Common server roles

What the role does and how to verify it

Active Directory Domain Services

Provides directory services, domain authentication, users, groups, computers, and domain administration.

Dependencies

Often depends heavily on DNS, domain-controller services, time consistency, networking, and directory-related services.

Verify

Confirm domain authentication and directory operations still work.

DNS Server

Provides name resolution for clients and may be critical to Active Directory.

Dependencies

DNS Server service, zones, records, forwarding, firewall rules, and network connectivity.

Verify

Resolve required names from an authorized client.

DHCP Server

Provides IP configuration to clients through scopes, options, exclusions, and reservations.

Dependencies

DHCP Server service, authorization when applicable, network reachability, scopes, and firewall rules.

Verify

Confirm a client can obtain or renew an address.

File and Storage Services

Provides SMB shares, file access, storage management, and related file-server capabilities.

Dependencies

SMB, Server service, share and NTFS permissions, storage availability, user/group identity, and firewall rules.

Verify

Confirm an authorized user can access required shares.

Web Server (IIS)

Hosts websites or web applications when required by the scenario.

Dependencies

IIS role services, application pools, certificates, networking, firewall rules, files, and application dependencies.

Verify

Confirm the required site or application responds as expected.

Remote Access / management components

May support remote administration or routing depending on scenario and installed components.

Dependencies

Users, rights, services, firewall rules, network reachability, and authentication.

Verify

Test only the required remote-management path.

Classification model

Required, Unnecessary, or Investigate

Required

The scenario explicitly requires the role, or another required function clearly depends on it.

Protect it, harden around it, and verify it after every related change.

Unnecessary

The role or feature is clearly not required and evidence shows no required dependency.

Consider removal only after documenting the dependency review and verification plan.

Investigate

The purpose is unclear, the scenario is silent, or dependencies are not yet understood.

Inspect services, applications, events, firewall rules, and client usage before deciding.

PowerShell inventory

Confirm what Server Manager shows

Installed roles and features

Get-WindowsFeature | Where-Object {$_.Installed -eq $true} | Select-Object DisplayName, Name, InstallState

Creates a readable list of currently installed Windows Server roles and features.

All role and feature states

Get-WindowsFeature | Select-Object DisplayName, Name, InstallState

Shows installed and available components for comparison.

Running services

Get-Service | Where-Object {$_.Status -eq 'Running'} | Sort-Object DisplayName

Shows currently running services that may support Windows or installed roles.

Service details

Get-CimInstance Win32_Service | Select-Object Name, DisplayName, State, StartMode, StartName, PathName

Adds service account and executable-path context.

Role-specific events

Get-WinEvent -LogName System -MaxEvents 50 | Select-Object TimeCreated, Id, ProviderName, LevelDisplayName, Message

Provides recent system evidence that may reveal service or role failures.

Dependency review

Six dependency questions before removing anything

Service dependency

Which Windows services start, stop, or fail when this role changes?

Network dependency

Which clients, ports, firewall rules, or protocols are required?

Identity dependency

Which users, groups, service accounts, or domain identities depend on the role?

Application dependency

Does an installed application need the role, feature, database, or service?

Policy dependency

Does Group Policy, domain configuration, or local policy affect the role?

Storage dependency

Does the role depend on a specific volume, folder, share, permission set, or database?

High-risk changes

Changes that deserve extra caution

Removing AD DS

Can fundamentally change or destroy domain-controller functionality and should never be treated as routine cleanup.

Removing DNS from a domain controller

Can break domain name resolution and Active Directory functionality if clients depend on that DNS service.

Removing DHCP

Can stop clients from receiving IP configuration when no replacement DHCP service exists.

Removing File Services

Can break required SMB shares, storage management, or application dependencies.

Stopping role services blindly

A stopped service may cause authentication, networking, application, or management failures immediately.

Changing firewall rules without role context

Required roles may become unreachable even while the role itself remains installed and healthy locally.

Role verification matrix

Verify locally and from the client

AD DS

Server check

Review domain-controller services, directory-related events, and role health.

Client check

Confirm an authorized domain user can authenticate.

DNS

Server check

Confirm DNS Server service and zone health.

Client check

Resolve required internal or external names from a client.

DHCP

Server check

Confirm DHCP Server service and scope state.

Client check

Renew a lease from an authorized client.

File Services

Server check

Confirm SMB share and Server service state.

Client check

Open the required share with an authorized user.

IIS

Server check

Confirm site, application pool, bindings, and relevant services.

Client check

Open the required website or application from a client.

Remote Administration

Server check

Confirm service, user authorization, policy, and firewall state.

Client check

Connect through the scenario-required management path.

Decision cases

Classify before changing

DNS role is installed but the scenario never mentions it

The server is also a domain controller.

Active Directory commonly depends on DNS, so scenario silence does not automatically make DNS unnecessary.

Response

Classify DNS as Protect/Investigate, confirm its relationship to AD DS and client name resolution, and do not remove it blindly.

DHCP role is installed and another DHCP server exists

The scenario says this server should only provide file services.

DHCP may be unnecessary, but confirm there are no clients using it and that another required DHCP source exists.

Response

Inspect active scopes, leases, authorization, and client dependency before considering removal.

IIS is installed with no obvious website

No scenario requirement references web hosting.

The role may be leftover, application-dependent, or unnecessary.

Response

Inspect sites, application pools, listening ports, installed applications, and logs before classifying it.

A feature looks unfamiliar

The feature name is not recognized by the student.

Features often support roles and applications indirectly.

Response

Look up what role or application depends on it inside the authorized training environment before changing it.

Fictional defensive lab

Inventory DC-PRACTICE

Step 01

Open Server Manager

In the fictional environment, start at Server Manager and record the server name, domain status, installed roles, and role-specific navigation items.

Step 02

Identify required functions

The scenario requires domain authentication, DNS, and the TeamDocs share. Mark AD DS, DNS, and file services as protected dependencies.

Step 03

Build the role inventory

Use Get-WindowsFeature to confirm installed components and compare them with Server Manager.

Step 04

Classify unknown components

A DHCP role and one additional feature are not mentioned in the scenario. Mark both Investigate instead of removing them.

Step 05

Review dependencies

Check relevant services, firewall rules, users, logs, and client usage before deciding whether anything is unnecessary.

Step 06

Verify protected roles

Confirm domain authentication, DNS resolution, and TeamDocs access before moving to deeper hardening.

Common mistakes

Inventory mistakes that lead to broken servers

Removing a role because you do not recognize it

Unfamiliarity is not evidence that a role is unnecessary.

Using only the Installed column

Installed state does not explain whether a component is required, active, healthy, or depended on.

Confusing role with service

A role can rely on multiple services, and one service can support more than one system function.

Skipping client verification

A role may appear healthy in Server Manager while clients cannot use it.

Removing before documenting

You lose the original baseline and make troubleshooting harder.

Ignoring role-specific logs

Server roles often write useful operational events outside the basic System log.

Reflection

Test your role-inventory reasoning

Question 1

What is the difference between a server role, feature, and service?

Question 2

Why is Server Manager a better starting point than randomly opening administrative tools?

Question 3

Why does a domain controller make DNS especially important to investigate carefully?

Question 4

What evidence should exist before a role is classified as unnecessary?

Question 5

Why should role verification include a client-side test?

Question 6

What makes removing a role higher risk than disabling an ordinary startup application?

Competition checklist

Before leaving Server Manager

01

Open Server Manager and identify installed roles.

02

Identify whether the server is a domain controller.

03

Compare Server Manager with Get-WindowsFeature.

04

Record role services and supporting features.

05

Classify each major role as Required, Unnecessary, or Investigate.

06

Review related services before changing a role.

07

Review firewall rules and network exposure.

08

Identify users or service accounts tied to the role.

09

Check relevant Event Viewer logs.

10

Document what clients depend on the role.

11

Do not remove a role without a verification plan.

12

Test required roles from the client perspective.

Next Windows Server lesson

Local Users, Groups & Privilege

Next, review local accounts, Administrators, service identities, built-in accounts, and least privilege without breaking required server functions.

Open Lesson 03 →