The .NET 4.5 that comes with the server's windows2012 r2 is uninstalled, and the solution to the black screen when restarting the server

 

Trouble: The server is installed with windows2012 standard (the 2012 version is Foundation, Essentials, Standard
Datacenter, and their upgraded version R2 from low to high ), because the application system to be installed uses .net framework 3.5, so, The .net 4.5 version that comes with 2012 needs to be uninstalled, but after uninstalling, the problem came-a black screen, unable to enter the system desktop, can only call up the task manager.

Analysis: I thought it was the explorer.exe process that was terminated, but in the task manager, create a new task (run), enter explorer.exe, an error is reported, and the problem still cannot be solved, and the task manager, the new task is running - browse , Unable to browse, unable to open the service; restarting multiple times can not solve it. Finally, I thought that after uninstalling the .net framework, the system has no graphical interface (from the full mode to the core mode core), and the .net framework 4.5 needs to be restored. If the following methods still fail to solve the problem, you can only reinstall the system.

Solution: Enter the following red code in the system recovery command-Dism command.
Core mode core back to full mode Full, with dism command, using the following command:


dism / Online / enable-Feature / All / FeatureName: ServerCore-fullserver / FeatureName: Server-GUI-the shell / FeatureName: Server-GUI-MGMT

Important: There is a space before each "/", otherwise an error will be reported; and the "all" after enable-feature must be added, otherwise an error will also be reported.

 

Complete the mode Full and switch to the core mode. You can use "Delete roles and functions" to uninstall the "User Interface and Infrastructure" function, or you can uninstall it through a command, the command is as follows:
dism /online /disable-feature /all /featurename:servercore-fullserver

server2012/win8 supports two modes to switch freely!

Server2012 r2 installs .net3.5 detailed explanation:

https://blog.csdn.net/h610443955/article/details/84818059

Reprinted from: http://blog.sina.com.cn/s/blog_9fc733290102v8bs.html

Guess you like

Origin blog.csdn.net/h610443955/article/details/84818400