

Windows 2012的安装与设置
安装时要选择带GUI的,选择服务器核心安装后登录只有个CMD窗口,没有桌面
windows2012服务器核心(Server Core)安装图形用户界面(GUI)
http://ycrsjxy.blog.51cto.com/618627/1047742
1.插入光盘
2.运行powershell
3.建立目录
mkdir c:\mount
4.查询映像文件,找到完全安装映像的服务器索引编号(例如,SERVERDATACENTER,而不是SERVERDATACENTERCORE),这里运行如下命令找到的索引号是4
dism /get-wiminfo /wimfile:e:\sources\install.wim
5.加载映像
dism /mount-wim /wimfile:e:\sources\install.wim /index:4 /mountdir:c:\mount /readonly
6.查询所需安装的组件名
Get-WindowsFeature "server*"
7.查询安装所需的命令
Get-Command "*windowsf*"
8.安装组件
Add-WindowsFeature Server-Gui-Mgmt-Infra,Server-Gui-shell -Restart -Source C:\Mount\windows\WinSxS
直接安装,手动指定
Install-WindowsFeature Server-Gui-Mgmt-Infra,Server-Gui-Shell -Restart -Source wim:d:\wources\install.wim:4