windows server 2012 installed only command line

Today, after installing windows server 2012, there is only a command line, and I found that there is no desktop. Then, after being reminded by others, I found out that I forgot to install the gui. At this time, I was lazy to reinstall it, so I searched the Internet to find a way to solve the problem. The following is the solution.

dism /online /enable-feature /all /featurename:servercore-fullserver /featurename:server-gui-shell /featurename:server-gui-mgmt

Make up a command to reinstall the gui. (This scenario is currently only certified for VM14 virtual machines)

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325388147&siteId=291194637