当前位置: 移动技术网 > 科技>操作系统>windows > Windows server 1709(不含UI)模板部署

Windows server 1709(不含UI)模板部署

2019年01月17日  | 移动技术网科技  | 我要评论

俞云啸,阎学晶歌曲专辑,bisitequ

 

1.系统安装

在虚拟机导入安装镜像,客户端操作系统选择” windows server 2012”,虚拟磁盘类型选择”scsi”;照安装向导正确安装操作系统

 

2.安装vmware tools

选择虚拟机,点击虚拟机-安装vmware tools,弹出安装提示

 

切换到e:\盘目录,dir查看文件列表,执行命令setup64.exe安装vmware tools

 

3.安装密码重置脚本

添加usb移动设备,导入密码重置脚本文件;复制文件夹到c:\盘根目录

 

xcopy e:\cloudresetpwdagent.windows\*.* c:\cloudresetpwdagent.windows /s/d/e

xcopy e:\cloudresetpwdupdateagent.windows\*.* c:\cloudresetpwdupdateagent.windows /s/d/e

目标 c:\cloudresetpwdagent.windows 是文件名

还是目录名

(f = 文件,d = 目录)? d

 

分别进入到cloudresetpwd*目录,执行setup.bat安装

安装完成后删除脚本目录

rmdir cloudresetpwdagent.windows /s/q

rmdir cloudresetpwdupdateagent.windows /s/q

/s 是代表删除所有子目录跟其中的档案

/q 是在删除档案或目录时,不再询问yes or no的动作

4.关闭windows防火墙

netsh firewall set opmode disable

netsh advfirewall set allprofile state off

或者在powershell下执行

set-netfirewallprofile -profile domain,public,private -enabled false

5.打开远程连接

开启3389端口

reg add hklm\system\currentcontrolset\control\terminal" "server /v fdenytsconnections /t reg_dword /d 00000000 /f

关闭3389端口

reg add hklm\system\currentcontrolset\control\terminal" "server /v fdenytsconnections /t reg_dword /d 11111111 /f

或使用sconfig工具进行设置

6.关闭系统更新

使用sconfig工具进行设置

 

 

 

参考链接:

 

如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复

相关文章:

验证码:
移动技术网