我们刚刚从Rackspace获得了我们的专用服务器。 它上面装了W2008。 我决定把最新的操作系统,所以我不会稍后升级。 显然在安装过程中,我select了no gui选项。
我试图安装从其他网站上看到的参考PowerShell的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。
任何人有任何build议?
在服务器2016中,不能再从Server Core切换到完整的GUI,反之亦然 – 无论是通过服务器pipe理器, PowerShell
还是DISM
。 您必须在安装时进行select。 来自TechNet :
与Windows Server的某些以前版本不同,在安装后,无法使用“桌面体验”在Server Core和Server之间进行转换。 例如,如果您安装了服务器核心,稍后决定使用带有桌面体验的用户服务器,则应该重新安装(反之亦然)。
关于这个主题的一个很好的社区文章: https : //superwidgets.wordpress.com/2016/10/29/windows-server-2016-gui-options/
Server 2012和Server 2012 R2中存在通过Server Manager和Install / Remove-WindowsFeature cmdlet从一个转换到另一个的function。
我只是安装标准版本。 当你正在进行安装时,确保你select了windows server 2016标准,而不是以核心结尾的标准。 这仍然有一个用Windows 10 Shell构build的GUI,所以你仍然可以使用GUI。 还要确保它不是你正在安装的Eval拷贝。但是我确信微软的技术人员是用GUI完成的,熟悉Powershell和那些美丽的DOS命令的人们! 希望这可以帮助。 它确定了我的一天。