How to deploy Microsoft Windows 2008 R2 - Features and roles


Contributor content

This topic was created by a BMC Contributor and has not been approved. More information.

Note

Various zipkits are available from BMC Communities to simplify these deployments. See Managing-roles-and-features-for-Microsoft-Windows-servers.

Server roles

Active Directory Certificate Server Role

install: start /w dism /online /enable-feature /featurename:CertificateServices
uninstall: start /w dism /online /disable-feature /featurename:CertificateServices

Active Directory Certificate Server Management Tools

install: start /w dism /online /enable-feature /featurename:CertificateServicesManagementTools
uninstall: start /w dism /online /disable-feature /featurename:CertificateServicesManagementTools

Active Directory Domain Controller Role

install: start /w dism /online /enable-feature /featurename:DirectoryServices-DomainController
uninstall: start /w dism /online /disable-feature /featurename:DirectoryServices-DomainController

Active Directory Domain Management Tools - this has dependencies for .Net and PowerShell (they are listed as part of the package)

install:
start /w dism /online /enable-feature /FeatureName:NetFx3
start /w dism /online /enable-feature /Featurename:ActiveDirectory-PowerShell
start /w dism /online /enable-feature /featurename:DirectoryServices-DomainController-Tools
start /w dism /online /enable-feature /Featurename:DirectoryServices-AdministrativeCenter

uninstall:
start /w dism /online /disable-feature /FeatureName:NetFx3
start /w dism /online /disable-feature /Featurename:ActiveDirectory-PowerShell
start /w dism /online /disable-feature /featurename:DirectoryServices-DomainController-Tools
start /w dism /online /disable-feature /Featurename:DirectoryServices-AdministrativeCenter

DHCP Server Role and Tools

install:
start /w dism /online /enable-feature /FeatureName:DHCPServer
start /w dism /online /enable-feature /FeatureName:DHCPServer-Tools

uninstall:
start /w dism /online /disable-feature /FeatureName:DHCPServer
start /w dism /online /disable-feature /FeatureName:DHCPServer-Tools

DNS Server Role and Tools

install:
start /w dism /online /enable-feature /FeatureName:DNS-Server-Full-Role
start /w dism /online /enable-feature /FeatureName:DNS-Server-Tools

uninstall:
start /w dism /online /disable-feature /FeatureName:DNS-Server-Full-Role
start /w dism /online /disable-feature /FeatureName:DNS-Server-Tools

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*