Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Use the DISM command to install the GUI interface of Server2012

2025-04-11 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Today, there were some problems in installing Exchange in the test environment. After installing the pre-required components, the restart was required to take effect, and after the restart, it was found that the state still required to restart, because the components were all installed with Powershell at one time, so I couldn't figure out which component had a problem with installation, so I just started all over again. As a result, the Powershell command was misused, used as remove-windowsfeature, deleted all the related files of the component, and the system became the core version after rebooting. There was only one command line window. Try to install the components back with Powershell, as a result, the powershell is gone. Go to the file path of Powershell and check it out. As a result, there are no files under the windowspowershel/v1.0/ directory.

Well, we can only use the dism command to figure it out, so all kinds of Baidu google finally found the command to solve the problem.

Dism / online / enable-feature / featurename:Server-Gui-Mgmt / featurename:Server-Gui-Shell / featurename:ServerCore-FullServer / all

Note: the last / all parameter is very important, this parameter will automatically install the pre-requirements of several windowsfeature you specify. Without this parameter, an error will be reported when running the command, requiring you to install the parent function component.

After the execution of the command, restart the server, and finally my GUI interface is back, Thanks god!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report