当前位置:首页 > CN2资讯 > 正文内容

Converting Full-Server and Minimal-Interface Installations for Windows 2012

2天前CN2资讯

1.To convert a full-server installation to a minimal-interface installation, you remove the Server Graphical Shell. Although you can use the Remove Roles And Features Wizard to do this, you also can do this at a PowerShell prompt by entering the fol-lowing command:      
uninstall-windowsfeature server-gui-shell -restart      
This command instructs Windows Server to uninstall the Server Graphical Shell and restart the server to finalize the removal. If Desktop Experience also is installed, this feature will be removed as well.

2.To convert a minimal-interface installation to a full-server installation, you add the Server Graphical Shell. You can use the Add Roles And Features Wizard to do this, or you can enter the following command at a PowerShell prompt:      
install-windowsfeature server-gui-shell -restart

This command instructs Windows Server to install the Server Graphical Shell and restart the server to finalize the installation. If you also want to install the Desktop Experience, you can use this command instead:    
install-windowsfeature server-gui-shell, desktop-experience -restart

3.Converting Server Core Installations    
To convert a full-server or minimal-interface installation to a Server Core installation,you remove the user interfaces for Graphical Management Tools And Infrastructure. If you remove the WoW64 Support framework, you also convert the server to a Server Core installation. Although you can use the Remove Roles And Features Wizard to remove the user interfaces, you also can do this at a PowerShell prompt by entering the following command:      
uninstall-windowsfeature server-gui-mgmt-infra -restart      
This command instructs Windows Server to uninstall the user interfaces for Graphical Management Tools And Infrastructure and restart the server to finalize the removal. Because many dependent roles, role services, and features might be uninstalled along with the user interfaces, run the command with the -Whatif parameter first to get details on what exactly will be uninstalled.

4.Server Core revert back to a Full-Server

If you installed the server with the user interfaces and converted it to a Server Core installation, you can revert back to a full-server installation with the following command:    
install-windowsfeature server-gui-mgmt-infra -restart      
As long as the binaries for this feature and any dependent features have not been removed, the command should succeed. If the binaries were removed, however, or Server Core was the original installation type, you need to specify a source for the required binaries.      
You use the -Resource parameter to restore required binaries from a Windows Imaging (WIM) mount point. For example, if your enterprise has a mounted Windows Image for the edition of Windows Server 2012 you are working with available at the network path \\ImServer18\WinS12EE, you could specify the source as follows:      
install-windowsfeature server-gui-mgmt-infra -source \\imserver18\wins12ee      
While many large enterprises might have standard p_w_picpaths that can be mounted using network paths, you also can mount the Windows Server 2012 distribution media and then use the Windows\WinSXS folder from the installation p_w_picpath as your source. To do this, follow these steps:      
1.  Insert the installation disc into the server disc drive, and then create a folder      
to mount the Installation p_w_picpath by entering the following command: 
mkdir c:\mountdir.      
2.  Locate the index number of the p_w_picpath you want to use by entering the following command at an elevated prompt:      
dism /get-wiminfo /wimfile:d:\sources\install.wim      
where e: is the drive designator of the server disc drive.      
3.  Mount the installation p_w_picpath by entering the following command at an elevated prompt:      
dism /mount-wim /wimfile:d:\sources\install.wim /index:2 /mountdir:c:\mountdir /readonly      
where e: is the drive designator of the server disc drive, 2 is the index of the p_w_picpath to use, and c:\mountdir is the mount directory. Mounting the p_w_picpath might take several minutes.

4.  Use Install-WindowsFeature at a PowerShell prompt with the source specified as c:\mountdir\windows\winsxs, as shown in this example:      
install-windowsfeature server-gui-mgmt-infra -source c:\mountdir\windows\winsxs

    你可能想看:

    扫描二维码推送至手机访问。

    版权声明:本文由皇冠云发布,如需转载请注明出处。

    本文链接:https://www.idchg.com/info/29576.html

    分享给朋友:

    “Converting Full-Server and Minimal-Interface Installations for Windows 2012” 的相关文章

    香港服务器CN2线路服务器接口图:企业网站优化新选择

    香港服务器CN2线路的优势与核心功能在当今互联网时代,网站的速度和稳定性是决定用户体验的关键因素。无论是企业官网、电商网站还是应用程序,用户都希望能够在最短时间内加载内容并完成交互操作。由于地理位置、网络带宽、线路延迟等多种因素的影响,许多网站在国内外访问时可能会遇到卡顿、加载慢等问题。为了应对这一...

    探索美国ISP VPS:提升网络性能与安全性的最佳选择

    在当今互联网时代,虚拟专用服务器(VPS)变得越来越受欢迎,尤其是当我们提到美国ISP VPS时。这种由美国互联网服务提供商提供的VPS,不仅性能强大,还具有许多独特的优势。简而言之,美国ISP VPS就是在美国数据中心托管的一种虚拟服务器,它能满足各类业务需求,如解锁流媒体服务、支持跨境电商等。...

    搬瓦工查看流量使用的最佳方法与管理策略

    在使用搬瓦工(BandwagonHost)这家VPS提供商时,了解流量的相关信息是非常重要的。搬瓦工的流量套餐设计十分灵活,满足了不同用户的需求。每个VPS方案都设有流量限制,比如每月500GB或1TB,这些限制会直接影响到我们如何使用这些资源。用户在选择方案时,应该充分考虑自己的日常使用习惯,以便...

    Windows SSH密钥登录:安装、配置及问题解决指南

    在现代计算环境中,SSH(Secure Shell)是一种重要的网络协议,它为安全远程登录提供了一种简便的解决方案。SSH允许用户通过不安全的网络访问远程计算机,确保数据传输过程中的安全性和完整性。对于那些需要远程连接服务器的用户来说,了解SSH的基本概念是非常必要的。 SSH不仅仅是一个远程登录工...

    选择阿里云VPS的最佳理由与性能评测

    在开始之前,先谈谈VPS是什么。VPS是虚拟专用服务器(Virtual Private Server)的缩写,简单来说,就是把一台物理服务器划分成多个虚拟服务器。每个VPS都拥有独立的操作系统和资源。这种安排让我能够更灵活地管理自己的服务器。一方面,VPS提供了更高的控制权和自定义性,另一方面,它比...

    如何取消UWP联网限制以获得更好应用体验

    了解UWP联网限制的背景和影响,是每个开发者和用户都应该重视的事情。首先,UWP,即通用Windows平台,允许开发者构建可以在不同Windows设备上运行的应用程序。这种跨平台的特性为我们提供了极大的便利,让我可以在不同的设备上使用同一款应用,无论是在手机、平板还是PC上。 不过,UWP的设计初衷...