我们刚从Rackspace获得了专用服务器.它装载了W2008.我决定把最新的操作系统放在上面,所以我不必在以后升级它.显然在安装过程中,我选择了no gui选项.
我尝试从powershell安装gui,我在其他网站上看到过这个gui.
例如:
Install-WindowsFeature Server-GUI-Shell -Restart
当我运行它时,我收到以下错误:
PS C:\> Install-WindowsFeature Server-GUI-Shell -Restart Install-WindowsFeature : ArgumentNotValid: The role,role service,or feature name is not valid: 'Server-GUI-Shell'. The name was not found. At line:1 char:1 + Install-WindowsFeature Server-GUI-Shell -Restart + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: (Server-GUI-Shell:String) [Install-WindowsFeature],Exception + FullyQualifiedErrorId : NameDoesNotExist,Microsoft.Windows.ServerManager.Commands.AddWindowsFeatureCommand Success Restart Needed Exit Code Feature Result ------- -------------- --------- -------------- False No InvalidArgs {}
我似乎无法弄清楚如何在这台服务器上安装一个gui.
我见过安装gui的所有引用都说使用Server-GUI-Shell.
有人有什么建议吗?
在Server 2016中,无法再通过服务器管理器,PowerShell或DISM从服务器核心切换到完整GUI,反之亦然.您必须在安装时首先做出选择.
从 TechNet开始:
原文链接:https://www.f2er.com/windows/370847.html从 TechNet开始:
Unlike some prevIoUs releases of Windows Server,you cannot convert
between Server Core and Server with Desktop Experience after
installation. For example,if you install Server Core and later decide
to user Server with Desktop Experience,you should do a fresh
installation (and vice versa).
关于该主题的一篇很好的社区文章:https://superwidgets.wordpress.com/2016/10/29/windows-server-2016-gui-options/
Server 2012和Server 2012 R2中存在通过服务器管理器和Install / Remove-WindowsFeature cmdlet从一个转换为另一个的功能.