Use this topic to distinguish workload roles from general features, understand role services/dependencies, and avoid treating installation as proof of operational readiness.
Roles
A server role describes a primary workload responsibility. Installing a role adds binaries, services, management components and dependencies, but usually still requires role-specific configuration before it provides useful service.
1. Get-WindowsFeature | ? {$_.Installed -and $_.FeatureType -eq 'Role'}.
2. Install with management tools.
3. Post-install configuration (e.g. promote DC, authorise DHCP).
4. Role services and events.
5. Remove unneeded roles.
role installed → configured → services running
Validate role-specific configuration and execute a client-visible functional test.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
A common mistake is repeatedly reinstalling a role when the failure is actually configuration, authorization, DNS, firewall, certificate, storage or dependency state.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
Confirm required role/role-service state, inspect post-install configuration and dependencies, show the relevant service/endpoint is active, then test a real client operation.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Role installed ≠ role configured ≠ role healthy.
- A role can contain role services that are independently selectable.
- Removing a role can affect dependent components and workload data/configuration.
- Server Core supports many, but not every, Windows Server role.
Get-WindowsFeature | ? Installed— installed roles and featuresInstall-WindowsFeature <name> -IncludeManagementTools— add a role/featureGet-ComputerInfo -Property WindowsInstallationType,OsName— Server Core or Desktop ExperienceGet-WinEvent -LogName System -MaxEvents 30— recent system events
ReferenceWhat it is1 section · depth on demand
Core model
Roles organize Windows Server around workload responsibilities rather than individual optional components. Role installation is therefore only the first step in deployment.
ReferenceWhy it matters1 section · depth on demand
In depth
Roles are major server functions: AD DS, DNS, DHCP, File and Storage Services, Hyper-V, IIS (Web Server), Print, RDS, AD CS, WSUS, Network Policy Server.
Get-WindowsFeature | ? { $_.Installed -and $_.FeatureType -eq 'Role' }
Install-WindowsFeature AD-Domain-Services,DNS -IncludeManagementTools
Uninstall-WindowsFeature Web-Server -Remove # also remove payload from WinSxS
Keep servers single-purpose where practical: fewer roles mean fewer patches, simpler security and easier troubleshooting. Domain controllers in particular should run only AD DS, DNS and essential agents.
ReferenceImportant terms & boundaries2 sections · depth on demand
What the evidence shows
When a role fails, separate component installation from configuration, dependencies, service state, security/network exposure and client behavior. The role tree tells you what is present, but it does not show the data plane works.
Common roles
| Role | Feature name |
|---|---|
| AD DS | AD-Domain-Services |
| DNS | DNS |
| DHCP | DHCP |
| File Server | FS-FileServer |
| Hyper-V | Hyper-V |
| IIS | Web-Server |
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Windows Server → Roles. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows-server/ · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Windows Server → Roles reference map
Fast lookup boundaries for Windows Server → Roles.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Role | Primary server workload | may contain role services |
| Role service | Subcomponent of role | can have own dependencies |
| Installed | Component present | not configured/healthy |
| Operational | Role serves workload | requires functional test |