References:
Http://blogs.technet.com/b/john_taylor/archive/2013/01/09/converting-from-server-2012-core-install-to-full-gui.aspx
https://4sysops.com/archives/switch-windows-server-2012-gui-layers-with-powershell/
Scenarios: install GUI on Windows R2 Server Core using ISO.
- Prepare a Server Core system.
- After installing the system in the virtual machine, when entering the password, if you want to enter a number, the NumLock light to turn off. This problem can be resolved in the BIOS setup (Power on to Firmware), and then go to keyboard features set the NumLock on, and the NumLock light on your keyboard is lit. Then save the exit, the system starts, and then lose the password is normal.
- Install VMware Tools. Under VMs on the toolbar, click Install VMware Tools. Because I installed the system on a disk, the disc should be in the D drive. You can also use WMIC LogicalDisk get size, caption This command to see how many disks, and the size of the characters you have, to determine which is the CD disc.
Each of the following acts is a command:
D:
Dir
Setup.exe
Then just wait for the VMware Tools installation interface to jump out and install.
4. You can modify the command line box. Click on the upper left corner, select Properties, you can make the window size, font, color adjustment.
5. Make a snapshot.
6. Put the system CD into the virtual machine, you need to mount the disc to the system, or the DISM command cannot read the data on the D drive.
Each of the following acts is a command:
Dism/get-imageinfo/imagefile:d:\sources\install.wim
(This command means to check the relationship between the index of your ISO image and the system type (here the experimental system is 1). Check your wimfile to determine the correct index for the OS (mine is 1))
- Dism/mount-wim/wimfile:d:\sources\install.wim/index:1/mountdir:c:\mount/readonly
Here if the card is 95% long, then hit the carriage return.
(Enter PowerShell prompt)
- Install-windowsfeature Server-gui-mgmt-infra,server-gui-shell–restart–source C:\mount\windows\winsxs
(Pay attention to the blank Space Before–start,-source and C: ...)
68% will be stuck here for a long time, please be patient, should be within 1 hours.
To be Continued ...
https://gallery.technet.microsoft.com/scriptcenter/Switch-between-Windows-9680265d
Switch between server Core mode and server GUI mode in Windows server R2