实验环境:虚拟机下 一个网段,可以互相通信
一台 Windows server2016 (ad域环境和rds服务)------192.168.100.1
一台 Windows server 2016 或 win10 都可以只要可以远程连接ad域那个server就行------
192.168.100.2
![](https://img-blog.csdnimg.cn/img_convert/33c458308dd6b809a4a95ee6c7acd484.png)
一定要有域,在100.1上创建域,需要使用rds的加入进域
一定要有域,在100.1上创建域,需要使用rds的加入进域
不会加入或者创建的看我往期博客
首先让100.2加入域
![](https://img-blog.csdnimg.cn/img_convert/af4f37e4538e3e068c8a96ab17bc8331.png)
然后到100.1也就是ad域上做rds
要先准备一个软件放进虚拟机安装一下,等会让别的虚拟机远程使用
![](https://img-blog.csdnimg.cn/img_convert/d50a64954a92ae34846dd8954615afc9.png)
我准备了一个思科
在rds服务器上
![](https://img-blog.csdnimg.cn/img_convert/14ce735a12fb60d1818251b312707e57.png)
添加角色和功能
![](https://img-blog.csdnimg.cn/img_convert/14adfacb879b74c1eaa2cd0e7d076a74.png)
下一步
![](https://img-blog.csdnimg.cn/img_convert/2fb32ecbd6af3b08268d2ff7b9e81e34.png)
下一步
![](https://img-blog.csdnimg.cn/img_convert/b6a09ba1c7abd4ff6a41946f08aa017a.png)
下一步
![](https://img-blog.csdnimg.cn/img_convert/569843048d1545e1fdceba0efe4abdf2.png)
选择 远程桌面服务 下一步
![](https://img-blog.csdnimg.cn/img_convert/0c293332f38beaa517cd7e1ad81ecf02.png)
什么都不选,下一步
![](https://img-blog.csdnimg.cn/img_convert/cc1783322209d0010c66f8323d5480dd.png)
下一步
![](https://img-blog.csdnimg.cn/img_convert/9222ae991c7ece6ba664bbd43d0a7a75.png)
选前5个,下一步
![](https://img-blog.csdnimg.cn/img_convert/a8ee1c53d01b42cb0894d2cccff991b2.png)
下一步
![](https://img-blog.csdnimg.cn/img_convert/76844a672ad1c19313fd451c1d28f40a.png)
下一步
![](https://img-blog.csdnimg.cn/img_convert/a9c9446e5ec80920e15a2dda873bd6ff.png)
下一步
![](https://img-blog.csdnimg.cn/img_convert/b05c9589a4ba7c1a8198d22628c5db44.png)
安装完成以后,重启一下
![](https://img-blog.csdnimg.cn/img_convert/fd5f2f85d9da824e9f56ec233dcb5099.png)
添加角色和功能
![](https://img-blog.csdnimg.cn/img_convert/af6a409642b5a555d7be63308b1ab2e1.png)
下一步
![](https://img-blog.csdnimg.cn/img_convert/ab8f3bcccb83da3ecebdeaa3f8c23a23.png)
这里选择 远程桌面服务安装
下一步
![](https://img-blog.csdnimg.cn/img_convert/341906457e82c000adf84c8cb032e270.png)
标准部署 下一步
![](https://img-blog.csdnimg.cn/img_convert/64d471c77d6c67bf5cac0890c0ac67cd.png)
选择 第二个 基于会话的桌面部署
![](https://img-blog.csdnimg.cn/img_convert/a06f021e0a55ebe1b4336b3d37c432d2.png)
下一步
![](https://img-blog.csdnimg.cn/img_convert/e99fb81c871d6e0e2cf7fb630e51c4bb.png)
下一步
![](https://img-blog.csdnimg.cn/img_convert/96eac479c389ca1ac405a116352c3246.png)
把他添加过去,下一步
![](https://img-blog.csdnimg.cn/img_convert/65c9908e2e1d868162fddaeffc61c6f8.png)
添加过去下一步
![](https://img-blog.csdnimg.cn/img_convert/c5d1a6703785bf06dcb8ca564ac022ac.png)
√需要时自动重新启动目标服务器,然后部署
部署完关闭这个安装页面
到服务器管理
![](https://img-blog.csdnimg.cn/img_convert/1e14b9b97e49c47e0b1e014ed413b377.png)
选择远程桌面服务
![](https://img-blog.csdnimg.cn/img_convert/0e376dd2e4bc83965e39cc9963ce3205.png)
创建会话集合
![](https://img-blog.csdnimg.cn/img_convert/13b61987c37b8a72d763fba9bab91f30.png)
下一步
![](https://img-blog.csdnimg.cn/img_convert/6512f9e1cccce90183a93f0b2c74b3fe.png)
名称随便取
![](https://img-blog.csdnimg.cn/img_convert/35297e863c258aa533adb0cc31b40fb5.png)
添加进去
![](https://img-blog.csdnimg.cn/img_convert/4f80b16f6382124b57f0d104f74f37de.png)
下一步
![](https://img-blog.csdnimg.cn/img_convert/01bdf06d0532d26aa963ba6a69ba010d.png)
我们随便创建个目录,然后把路径写进去
![](https://img-blog.csdnimg.cn/img_convert/66664c90ac214c8508fc2cb719a2d01b.png)
创建
![](https://img-blog.csdnimg.cn/img_convert/79bdbd69e2ad6fa058e0d07ef991b1bb.png)
创建完成
![](https://img-blog.csdnimg.cn/img_convert/96633f08189aa34279c4cfd330dbf69a.png)
点击刚刚我们创建的那个也就是123那个名字
![](https://img-blog.csdnimg.cn/img_convert/d98a940b9716f2b5998f93409ee000ff.png)
发布remoteapp程序
![](https://img-blog.csdnimg.cn/img_convert/a10a0d453adce38d4c5805139012ac3e.png)
选择要分享的软件
![](https://img-blog.csdnimg.cn/img_convert/84f977a61e0944be868e9cc8470d0a05.png)
发布
![](https://img-blog.csdnimg.cn/img_convert/98681aa3f76dc9b575548ab03ffbb200.png)
关闭
然后到客户机去访问
https://rds服务器ip/rdweb
![](https://img-blog.csdnimg.cn/img_convert/849bc5516c3ba94c4f57408228976ffb.png)
![](https://img-blog.csdnimg.cn/img_convert/7c41b9b144b3293059a9124a7c8e9495.png)
输入在rds上创建的账户或者直接管理员登陆也可以
域名\用户名
![](https://img-blog.csdnimg.cn/img_convert/23a6d7c8a9cd9947fd0f5f2539e7f394.png)
![](https://img-blog.csdnimg.cn/img_convert/d84bdfe16bd05305fc5535260a4782a3.png)
双击思科模拟器
![](https://img-blog.csdnimg.cn/img_convert/0d20b069f209e01776b0c7dd87759655.png)
连接
![](https://img-blog.csdnimg.cn/img_convert/32e2ab1c8f7cb576ab03a355463c2d3b.png)
![](https://img-blog.csdnimg.cn/img_convert/caafe330a6b222508b40df649cdfbdd7.png)