Add or remove roles and features in Windows Server — by Microsoft Learn
Official walkthrough for installing and removing server roles and features with the Server Manager wizard or PowerShell, on a local server, a remote server or an offline VHD. It also shows how to export the wizard choices to an XML file so the same roles can be pushed to several servers.
Quick steps
- Open Server Manager, then Manage, then Add Roles and Features
- Choose role-based or feature-based installation and pick the target server
- Select roles and features, then confirm and install
- PowerShell alternative: Install-WindowsFeature -Name DNS,DHCP -IncludeManagementTools
Paraphrased from the source. Menus can differ by version, so check the original for full details.
Source: Add or remove roles and features in Windows Server by Microsoft Learn. Licence: Link only (©).
- Source reviewed
- 2026-11-02
- Link checked
- 2026-11-02
- Tested hands-on
- Not by Oddbyte.Me