Windows Server核心版(无桌面GUI)安装设置管理WDS
经营范围:电脑组装,电脑维修,智能家居设备,苹果电脑系统安装,苹果手机刷机,监控安装,媒体编辑,数据恢复,复印打印,网站制作等 |
准备工作:
1. 安装Windows Server 版系统,选择无桌面的版本安装。
2. 使用U盘进入PE系统,拷贝你要部署的系统install.wim和boot.wim文件到硬盘中。教程中以文件在E:\sources为例
开始安装:
1. 进入系统后,默认运行的是CMD窗口
2. 我们关闭这个窗口,运行powershell
3. 输入如下命令,安装WDS服务
Install-WindowsFeature wds-deployment -includemanagementtools -source wim:E:\sources\install.wim:1 |
4. 安装完成后,设置WDS目录
$wdsUtilResults = wdsutil /initialize-server /remInst:"E:\remInstall" $wdsUtilResults | select -last 1 |
5. 设置引导镜像
# Import the WinPE image from your install media Import-WdsBootImage -Path "E:\sources\boot.wim" |
6. 导入部署的镜像
New-WdsInstallImageGroup -Name "desktops" |
7. 在一个WIM文件里可能有多个Windows版本,我们用如下命令选择
Get-WindowsImage -imagePath "E:\sources\install.wim" | select Imagename |
8. 设置一个影像显示的名称
$imageName = 'Windows 10 Pro' Import-WdsInstallImage -ImageGroup "desktops" -Path "E:\sources\install.wim" -ImageName $imageName |
9. 到另外一台电脑测试下网络启动。就可以看到启动菜单了。
原文网址:http://www.adamtheautomator.com/wds-powershell/
来源:本文由天寻工作室原创撰写,欢迎分享本文,转载请保留出处和链接!