Q: How do I switch between Windows Server 2012 configuration levels using the command line?
Use the command line to switch configuration levels in Windows Server 2012.
John Savill
June 9, 2012
1 Min Read
A: The DISM command can be used to add and remove roles and features from the current OS or even an OS image.
This makes it a simple way to add and remove the features required to change the configuration level of Windows Server 2012 (formerly code-named Windows Server 8). Notice the feature names in DISM are different from those in Windows PowerShell.
From full server with GUI to Server Core, use this command:
Dism /online /disable-feature /featurename:ServerCore-FullServer
From Server Core to full server with GUI, use this command:
Dism /online /enable-feature /featurename:ServerCore-FullServer /featurename:Server-Gui-Shell /featurename:Server-Gui-Mgmt
About the Author
Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
You May Also Like