Differences
This shows you the differences between two versions of the page.
— | windows:server_os:core_gui [2019/10/31 09:06] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Switch Windows Server 2012 between core and GUI ====== | ||
+ | |||
+ | ===== Convert initial Core to GUI ===== | ||
+ | - Mount the Windows Server 2012 ISO to the host. | ||
+ | - open an administrative command prompt | ||
+ | - mkdir c:\mount | ||
+ | - check your wimfile to determine the correct index for the OS (mine was 4) -the command is dism / | ||
+ | - dism /mount-wim / | ||
+ | - powershell (enter PowerShell prompt) | ||
+ | - install-windowsfeature server-gui-mgmt-infra, | ||
+ | - Unmount Wim (dism / | ||
+ | - Remove Mount Directory (rmdir c:\mount) | ||
+ | Alternative is to install directly from WIM | ||
+ | - Install-WindowsFeature server-gui-mgmt-infra, | ||
+ | |||
+ | |||
+ | ===== Convert GUI to Core ===== | ||
+ | This will not remove the install files, so you can later use the single line add-windowsfeature commend (without all the steps above). To completely remove the binary files, add **–Remove** at the end | ||
+ | - Uninstall-WindowsFeature Server-Gui-Shell, | ||
+ | - Shutdown –r -t 0 (Reboot) | ||
+ | |||
+ | ===== Convert Core to GUI ===== | ||
+ | You can do this if you allready have GUI feature files on your system | ||
+ | - Install-WindowsFeature Server-Gui-Shell, | ||
+ | - Shutdown –r -t 0 (Reboot) | ||