The Window 2012 R2 system enables the GUI function from no command line configuration to realize the graphical interface of the operating system.

今天发现2012的操作系统远程桌面黑屏了,重启后发现只能看到CMD命令行。
感觉是WINDOW的版本变成了无GUI的版本了。

windows 2012 R2系统重启后进入系统还是只有CMD命令窗口,没有图形化界面,除了cmd其余的全部是黑的。
解决这个方法很简单,不用重装系统,只需cmd里面一条命令即可。

在cmd里面输入以下内容,输入完以后按回车键

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

按回车键以后什么都不用关,过一会系统就会自动重启,重启完以后进入系统就是图形化界面了。
直接再CMD命令行输入上面的dism的相关命令,如下图:

The Window 2012 R2 system enables the GUI function from no command line configuration to realize the graphical interface of the operating system.

During the execution process, as shown in the figure below, there will be a progress bar, which will automatically go down.
The Window 2012 R2 system enables the GUI function from no command line configuration to realize the graphical interface of the operating system.

Finally prompted to restart. We can follow the prompts to select "Y", the system will restart, and the GUI function can be restored after restarting.
The Window 2012 R2 system enables the GUI function from no command line configuration to realize the graphical interface of the operating system.

Guess you like

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