Setting up Remote Desktop Services in Windows Server 2022

Posted on 19th June 2023

Windows Server 2022 comes with a new feature called Remote Desktop Services. This allows you to connect to your server from another computer and use it as if you were sitting in front of it. This can be useful if you need to access your server from a different location or if you want to allow other people to use your server.

In this article, we will show you how to set up Remote Desktop Services in Windows Server 2022. We will also show you how to configure your server to allow other people to connect to it.

How to Set Up Remote Desktop Services in Windows Server 2022

Setting up Remote Desktop Services in Windows Server 2022 is a relatively simple process. We will walk you through the steps required to set up your server for remote access.

  1. Open the Server Manager from the Start menu. If you do not see the Server Manager, you can open it by clicking on the Tools menu and then selecting Server Manager.
  2. In the Server Manager, click on the Remote Desktop Services link in the left-hand menu.
  3. In the Remote Desktop Services menu, click on the Overview link.
  4. In the Overview page, click on the link to Install Remote Desktop Services.
  5. In the Installation Type page, select the role service that you want to install. For most purposes, the Remote Desktop Session Host will be sufficient. Click Next to continue.
  6. In the Deployment Scenario page, select the deployment scenario that best fits your needs. For most purposes, the Standard Deployment scenario will be sufficient. Click Next to continue.
  7. In the RD Session Host Servers page, select the server on which you want to install Remote Desktop Services. Click Next to continue.
  8. In the RD Licensing Servers page, select the server on which you want to install the RD Licensing role service. Click Next to continue.
  9. In the RD Gateway Servers page, select the server on which you want to install the RD Gateway role service. Click Next to continue.
  10. In the RD Connection Broker Servers page, select the server on which you want to install the RD Connection Broker role service. Click Next to continue.
  11. In the Web Access Servers page, select the server on which you want to install the Web Access role service. Click Next to continue.
  12. In the Confirm Installation Selections page, review your selections and then click Install to begin the installation process.
  13. In the Results page, you will see the status of the installation process. Once the installation is complete, click Close to finish.

How to Configure Your Server for Remote Access

Now that you have installed the Remote Desktop Services role services, you need to configure your server to allow other people to connect to it.

  1. Open the Server Manager from the Start menu. If you do not see the Server Manager, you can open it by clicking on the Tools menu and then selecting Server Manager.
  2. In the Server Manager, click on the Remote Desktop Services link in the left-hand menu.
  3. In the Remote Desktop Services menu, click on the Collections link.
  4. In the Collections page, click on the link to create a new collection.
  5. In the Create Collection page, enter a name for your collection and then click Next to continue.
  6. In the Select Users page, select the users or groups that you want to be able to connect to your server. Click Next to continue.
  7. In the Select Resources page, select the resources that you want to make available to your users. Click Next to continue.
  8. In the Completing the Create Collection Wizard page, review your selections and then click Create to finish.
  9. In the Results page, you will see the status of the collection creation process. Once the collection has been created, click Close to finish.

Conclusion

In this article, we have shown you how to set up and configure Remote Desktop Services in Windows Server 2022. This can be a useful feature if you need to access your server from a different location or if you want to allow other people to use your server.

Remote Desktop Services (RDS) is a Windows Server role that provides technologies for remote desktop access, virtualization, and Terminal Services. RDS provides a central location for managing remote desktops, applications, and user profiles. RDS is used to provide a complete remote desktop experience to users.

RDS is available in all editions of Windows Server 2022. RDS is installed via the Server Manager console. To install RDS, follow these steps:

1. Open the Server Manager console.

2. Click on the “Manage” drop-down menu and select “Add Roles and Features”.

3. On the “Before you begin” page, click “Next”.

4. On the “Select installation type” page, select “Role-based or feature-based installation” and click “Next”.

5. On the “Select destination server” page, select the server on which you want to install RDS and click “Next”.

6. On the “Select server roles” page, check the box next to “Remote Desktop Services” and click “Next”.

7. On the “Select features” page, click “Next”.

8. On the “Remote Desktop Services” page, click “Next”.

9. On the “Confirm installation selections” page, click “Install”.

10. On the “Results” page, click “Close”.

After RDS is installed, you need to configure it. The first step is to create a Certificate Authority (CA). A CA is used to issue certificates that are used to authenticate RDS connections. To create a CA, follow these steps:

1. Open the Server Manager console.

2. Click on the “Tools” drop-down menu and select “Certificate Authority”.

3. On the “Welcome to the Certificate Authority console” page, click “Next”.

4. On the ” CA Type” page, select “Stand-alone root CA” and click “Next”.

5. On the “Private key” page, select “Create a new private key” and click “Next”.

6. On the “Cryptography” page, select “SHA256” and click “Next”.

7. On the “Key pair and algorithm” page, select “2048” and click “Next”.

8. On the “Configure Certificate Database” page, click “Next”.

9. On the “Confirm CA name” page, click “Next”.

10. On the “Set Certificate Validity Period” page, enter “5” in the “Years” field and click “Next”.

11. On the “Configure Certificate Database” page, click “Finish”.

After the CA is created, you need to create an RDS certificate. The certificate is used to authenticate RDS connections. To create an RDS certificate, follow these steps:

1. Open the Server Manager console.

2. Click on the “Tools” drop-down menu and select “Certificate Authority”.

3. In the “Certificate Authority” console, expand the “Certificates” folder.

4. Right-click on the “Certificates” folder and select “New” > “Certificate”.

5. On the “Request Certificate” page, select “Advanced request” and click “Create and submit a request to this CA”.

6. On the “Advanced Certificate Request” page, select “Create a new certificate” and click “Submit”.

7. On the “Certificate enrollment” page, select “Web Server” as the “Certificate template” and click “Enroll”.

8. On the “Certificate enrollment” page, click “OK”.

9. On the “Certificate issued” page, click “Finish”.

After the certificate is created, you need to bind it to the RDS service. To bind the certificate to the RDS service, follow these steps:

1. Open the Server Manager console.

2. Click on the “Tools” drop-down menu and select “Remote Desktop Services”.

3. In the “Remote Desktop Services” console, expand the “Roles” folder.

4. Right-click on the “Remote Desktop Services” role and select “Edit Bindings”.

5. On the “Edit Bindings” page, select the “Certificates” tab.

6. Click on the “Add” button.

7. On the “Select Certificate” page, select the certificate that you created and click “OK”.

8. On the “Edit Bindings” page, click “OK”.

The next step is to create an RDS collection. An RDS collection is a group of servers that are used to host RDS applications and desktops. To create an RDS collection, follow these steps:

1. Open the Server Manager console.

2. Click on the “Tools” drop-down menu and select “Remote Desktop Services”.

3. In the “Remote Desktop Services” console, expand the “Collections” folder.

4. Right-click on the “Collections” folder and select “New” > “Collection”.

5. On the “Before you begin” page, click “Next”.

6. On the “Select collection type” page, select “Remote Desktop Services installation” and click “Next”.

7. On the “Specify display name” page, enter a display name for the collection and click “Next”.

8. On the “Select deployment type” page, select “Virtual machine-based desktop deployment” and click “Next”.

9. On the “Specify RD Connection Broker server” page, enter the FQDN of the server that will be used as the RD Connection Broker and click “Next”.

10. On the “Specify RD Web Access server” page, enter the FQDN of the server that will be used as the RD Web Access server and click “Next”.

11. On the “Configure certificates” page, select the certificate that you created and click “Next”.

12. On the “Specify domain controller” page, enter the FQDN of the domain controller and click “Next”.

13. On the “Specify DNS settings” page, enter the DNS settings for the RDS collection and click “Next”.

14. On the “Specify deployment settings” page, select the “Create a new virtual network” option and click “Next”.

15. On the “Configure virtual network settings” page, enter the settings for the virtual network and click “Next”.

16. On the “Specify network address translation (NAT) settings” page, enter the NAT settings for the RDS collection and click “Next”.

17. On the “Specify collection settings” page, enter the settings for the RDS collection and click “Next”.

18. On the “Confirm installation selections” page, click “Install”.

19. On the “Results” page, click “Close”.

After the RDS collection is created, you need to add servers to the collection. To add servers to the collection, follow these steps:

1. Open the Server Manager console.

2. Click on the “Tools” drop-down menu and select “Remote Desktop Services”.

3. In the “Remote Desktop Services” console, expand the “Collections” folder.

4. Right-click on the collection that you want to add servers to and select “Add Servers”.

5. On the “Before you begin” page, click “Next”.

6. On the “Select servers” page, select the servers that you want to add to the collection and click “Next”.

7. On the “Confirm installation selections” page, click “Install”.

8. On the “Results” page, click “Close”.

After the servers are added to the collection, you need to create an RDS application. An RDS application is a Windows application that is published to RDS users. To create an RDS application, follow these steps:

1. Open the Server Manager console.

2. Click on the “Tools” drop-down menu and select “Remote Desktop Services”.

3. In the “Remote Desktop Services” console, expand the “Collections” folder.

4. Right-click on the collection that you want to create the RDS application in and select “Edit Properties”.

5. On the “General” tab, click on the “Applications” tab.

6. Click on the “Add” button.

7. On the “Add Application” page, enter the name of the application and click “Next”.

8. On the “Application Path” page, enter the path to the application and click “Next”.

9. On the “Command Line Arguments” page, enter the command line arguments for the application and click “Next”.

10. On the “Working Directory” page, enter the working directory for the application and click “Next”.

11. On the “Start in” page, enter the start in directory for the application and click “Next”.

12. On the “Icon” page, enter the path to the icon for