How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

      Comments Off on How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

Today, I am going to show you how to deploy simple Remote Desktop Gateway on the Microsoft Windows Server 2019 without complete Remote Desktop Services Infrastructure. It means I don’t have a farm of RD session host servers sitting behind and I don’t want to deploy Connection broker, web access and session host server (e.g. complete infrastructure).

  1. Login to Windows Server 2019.
  2. Open server manager and select add server roles and features.

    030420 2308 HowtoInstal1 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  3. On the Before You Begin page, click Next.

    030420 2308 HowtoInstal2 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  4. On the Installation Type page, select Role-based or feature based Installation.

    030420 2308 HowtoInstal3 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  5. On the Server Selection page, make sure select the Windows 2019 server and click Next.

    030420 2308 HowtoInstal4 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  6. On the Select server roles page, select Remote Desktop Services, click Next.

    030420 2308 HowtoInstal5 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  7. On the Select features page, click Next.

    030420 2308 HowtoInstal6 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

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

    030420 2308 HowtoInstal7 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  9. On the Select role services page, select Remote Desktop Gateway.

    030420 2308 HowtoInstal8 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  10. On the Add features that are required for Remote Desktop Gateway page, click Add features.

    030420 2308 HowtoInstal9 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  11. On the Select role services page, click Next.

    030420 2308 HowtoInstal10 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  12. On the Network Policy and Access Services page, click Next.

    030420 2308 HowtoInstal11 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  13. On the Web Server Role (IIS) page, click Next.

    030420 2308 HowtoInstal12 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  14. On the Select role services page, click Next.

    030420 2308 HowtoInstal13 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  15. On the Confirm installation selections page, select Restart the destination server automatically if required.

    030420 2308 HowtoInstal14 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  16. Click Yes on the restart warning message page and then click Install.

    030420 2308 HowtoInstal15 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  17. On the Results page, make sure installation progress without issues, click Close.

    030420 2308 HowtoInstal16 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  18. On the Server Manager, select Tools, click Remote Desktop Services and then click Remote Desktop Gateway Manager.

    030420 2308 HowtoInstal17 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  19. On the RD Gateway Manage page, select the windows server 2019 gateway server (in my case is CGY-RDSH01), click View and modify certificate properties of Configuration Status.

    030420 2308 HowtoInstal18 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  20. On the Properties page, in my case, I would like to access corporate network (servers) from External, so I need to purchase and install certificate from public CA. Select Import a certificate into the RD Gateway CGY-RDSH01 Certificates (Local Computer) Personal Store, click Browse and Import Certificate.

    030420 2308 HowtoInstal19 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  21. I have done exported the wildcard certificate .pfx file from other server and copied it to gateway server, select the .pfx file, click Open.

    030420 2308 HowtoInstal20 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  22. Enter Private key password, click OK.

    030420 2308 HowtoInstal21 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  23. Make sure the certificate successfully imports to RD Gateway server, click OK.

    030420 2308 HowtoInstal22 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  24. On the Properties page, click OK.

    030420 2308 HowtoInstal23 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  25. On the RD Gateway Manager, expand the RD gateway server, select Policies, click Create New Authorization.

    030420 2308 HowtoInstal24 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  26. On the Authorization Policies page, select Create a RD CAP and a RD RAP (recommended), click Next.

    030420 2308 HowtoInstal25 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  27. On the Connection Authorization Policy page, type the name for the RD CAP, in my case is RD CAP Policy.

    030420 2308 HowtoInstal26 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  28. On the Requirements page, select Password and click Add Group at User group membership (required).

    030420 2308 HowtoInstal27 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  29. Enter the security group name which allows to connect to the gateway server, in my case is Domain Users, click OK.

    030420 2308 HowtoInstal28 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  30. On the Device Redirection page, in my case, I allow device redirection for all client devices, select Enable device redirection for all client devices, click Next.

    030420 2308 HowtoInstal29 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  31. On the Session Timeout, select enable the, and change the idle and session timeout period settings as your requirements, click Next.

    030420 2308 HowtoInstal30 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  32. On the RD CAP Summary page, click Next.

    030420 2308 HowtoInstal31 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  33. On the Resource Authorization Policy page, type the name for the RD RAP, in my case is RD RAP Policy, click Next.

    030420 2308 HowtoInstal32 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  34. On the User Group, in my case is Domain Users, click Next.

    030420 2308 HowtoInstal33 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  35. On the Network Resource, in my case, select Allow users to connect to any network resource (computer), click Next.

    030420 2308 HowtoInstal34 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  36. On the Allowed Ports, select Allow connections only to port 3389, click Next.

    030420 2308 HowtoInstal35 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  37. On the RD RAP Summary page, click Finish.

    030420 2308 HowtoInstal36 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  38. On the Confirm Policy Creation page, click Close.

    030420 2308 HowtoInstal37 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  39. On the RD Gateway Manager, select the Gateway server (in my case is CGY-RDSH01), click Add RD Gateway Server Farm members at Configuration Status.

    030420 2308 HowtoInstal38 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  40. On the Properties page, select Server Farm, type the Gateway server name for RD Gateway server farm member, in my case is CGY-RDSH01, click Add.

    030420 2308 HowtoInstal39 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  41. On the Properties page, click Apply.

    030420 2308 HowtoInstal40 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  42. Make sure the Status of Gateway server shows OK (it may need to take some time for the server to start services), click OK.

    030420 2308 HowtoInstal41 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  43. Now, it’s the time to test gateway function from External client machine.
  44. Open Remote Desktop Connection from External Client.
  45. Enter computer name of corporate machine (client or server), click Show Options.

    030420 2308 HowtoInstal42 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  46. Select General and enter User name, click Advanced.

    030420 2308 HowtoInstal43 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  47. On the Advanced page, click Settings at Connect from anywhere.

    030420 2308 HowtoInstal44 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  48. On the Connection settings page, select Use these RD Gateway server settings, type FQDN of gateway server to the server name filed.
  49. On the Logon settings, select Use my RD Gateway credentials for the remote computer, click OK.

    030420 2308 HowtoInstal45 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  50. On the Remote Desktop Connection page, click Connect.

    030420 2308 HowtoInstal46 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  51. Enter the password of domain user, click OK.

    030420 2308 HowtoInstal47 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

  52. It will connect to the machine directly from external.

    030420 2308 HowtoInstal48 - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

Hope you enjoy this post.

Cary Sun

Twitter: @SifuSun

ca16fbd3199de5f66b829b87082fb970?s=80&d=retro&r=g - How to Install Standalone Remote Desktop Gateway on the Microsoft Windows Server 2019

Author: Cary Sun

Cary Sun is an Principal Consultant, He has a strong background specializing in datacenter and deployment solutions, and has spent over 20 years in the planning, design, and implementation of network technologies and Management and system integration.He hold CISCO CERTIFIED INTERNETWORK EXPERT (CCIE No.4531) from 1997.Cary is also a Microsoft Most Valuable Professional (MVP) and Cisco Champion, He is a published author with serveral titles, include blogs on Checkyourlogs.net, author for many books. Specialties: CCIE /CCNA / MCSE / MCITP / MCTS / MCSA / Solution Expert / CCA
Blog:
http://www.carysun.com http://www.checkyourlogs.net
Twitter:@SifuSun

About Cary Sun

Cary Sun is an Principal Consultant, He has a strong background specializing in datacenter and deployment solutions, and has spent over 20 years in the planning, design, and implementation of network technologies and Management and system integration.He hold CISCO CERTIFIED INTERNETWORK EXPERT (CCIE No.4531) from 1997.Cary is also a Microsoft Most Valuable Professional (MVP) and Cisco Champion, He is a published author with serveral titles, include blogs on Checkyourlogs.net, author for many books. Specialties: CCIE /CCNA / MCSE / MCITP / MCTS / MCSA / Solution Expert / CCA Blog: http://www.carysun.com http://www.checkyourlogs.net Twitter:@SifuSun