As a server operating system, the GUI is really a bit redundant, which is one of the reasons many people like Linux server. Starting with Windows Server 2008, Microsoft provides the Server Core version, which is actually an operating system without a graphical interface.
There is no Server Core version of the image on the Chinese version of Azure, but we can make one ourselves.
Create a Windows Server virtual machine first. After Remote Desktop is connected to the virtual machine, open PowerShell and execute the following command consecutively (do not restart after the first command completes, continue with the second command):
Remove-windowsfeature server-gui-shellremove-windowsfeature Server-gui-mgmt-infra
Uninstalling the graphical interface takes some time, about 10 minutes or so. Restart the virtual machine after the above two commands have been executed. This restart process is still long and takes at least 15 minutes (don't worry, wait patiently, the VMS are not lost).
When the virtual machine is connected to the Remote desktop again, the familiar desktop is missing the bird.
Note: Do not hand down the command-line window here, or you can only restart the virtual machine.
In the Command Line window, enter: Sconfig, enter the system configuration interface.
Is there a sense of Linux? Force lattice is there, but always let the server on the service run up AH. Don't worry, except for the command line, you can join the server core to the domain so that you can manage Server core through a server with a graphical interface.
Finally, capture the virtual machine as a mirror and, if needed, create a virtual machine running Server Core directly with the image (Sysprep still works).
What are the benefits of running server Core on Azure?
- Convenient and centralized management
- Save server memory
- Improves operating system stability and security
Maybe it's "container egg", hope windows is fast release!
Deploying Windows Server Core on Azure