![how to setup remote desktop server 2012 r2 how to setup remote desktop server 2012 r2](http://www.chicagotech.net/WordPress/wp-content/uploads/2022/01/image-2.png)
When you run the above command, you will see the following progress: We will use theĬmdlet and run it on the Connection Broker this time.Īdd-RDServer -Server -Role RDS-RD-SERVER -ConnectionBroker We will now add another session host and a Licensing server.įirst, let’s add the second RD Session Host server to our deployment.
![how to setup remote desktop server 2012 r2 how to setup remote desktop server 2012 r2](https://www.informaticar.net/wp-content/uploads/2015/08/Server2012_nondomain_rdp.jpg)
As you can see from the screenshot below, everything except the RD Gateway and Licensing server have been installed. Once the PowerShell setup finishes, we now go to and verify the installation.
![how to setup remote desktop server 2012 r2 how to setup remote desktop server 2012 r2](https://4sysops.com/wp-content/uploads/2019/09/RDP-connection-failed.png)
After all roles are installed, the server is restarted: New-SessionDeployment –ConnectionBroker –WebAccessServer –SessionHost ĭuring the install, we’ll see the following progress meters:Ħ.
How to setup remote desktop server 2012 r2 install#
Now we run the below cmdlet on RDSH01 to install RD Connection Broker, RD Web Access and RD Session Host on RDCBWA: We will need to add RDSH01 and DC01 to All Servers pool on RDCBWA before we start the deployment. – RD Connection Broker, RD Web Access, and RD Session Host In this deployment, we will use 3 servers for the deployment: However, this will work in the GUI if you do the same process. The Session Host role needs a reboot after the install, and we received the above error as PowerShell cannot resume the deployment after a reboot. If you are installing the Session Host on the Connection Broker, then you need to run this cmdlet on a remote server, as running it on the connection Broker will give you the following error: With that, let’s get rolling!īefore we begin though, we need to import the RDS module using theĬmdlet to begin with the installation. In this blog, we are going to walk you through setting this up. One such example is deploying RDS within your environment. Over the past 8 years, we have seen PowerShell become an integral part of Windows. Hello AskPerf Readers! Dhiraj here from the Windows Performance team to talk about deploying RDS using Windows PowerShell on Windows Server 2012 R2.Īs you know, PowerShell has been around for quite a few years now (November 2006 to be exact). First published on TECHNET on Mar 04, 2015