Menu
InformatiWeb Pro
  • Index
  • System admin
  • Virtualization

Login

Registration Password lost ?
FR
  • Windows Server
    • WMS 2012
    • WS2012 R2
    • WS2016
  • Citrix
    • Citrix NetScaler Gateway
    • Citrix XenApp / XenDesktop
    • Citrix XenServer
  • VMware
    • VMware ESXi
    • VMware vSphere
    • VMware Workstation
  • Microsoft
    • Hyper-V
  • RAID
    • Adaptec SmartRAID
  • UPS
    • APC Back-UPS Pro
  • Firewall
    • pfSense
  • InformatiWeb Pro
  • System admin
  • Windows Server
  • Courses
  • Learn how to deploy RDS on WS 2012 and 2012 R2
  • Enable SSO for the RDS web access
14 / 27
  • Enable SSO for RemoteApps
  • Secure access to your RDS infrastructure
  • Windows Server
  • 08 February 2019 at 15:57 UTC
  • InformatiWeb
  • 1/2

Enable single sign-on (SSO) for the RDS web access on Windows Server 2012 / 2012 R2 / 2016

In business, it's common to log on to your computer with an Active Directory account.
Thanks to this centralized authentication and the management of the policies, it's even possible to activate the SSO (Single Sign-On).

As you already know, by default, your users need to log in twice if you offer them desktops and/or RemoteApp programs through the RDS (Remote Desktop Services) web access.

To improve the user experience and prevent them from having to authenticate twice, you can use remote connections of Windows or enable SSO for RDS web access.

In this tutorial, we will show you how to configure the SSO for the RDS web access.

Note : in order for RemoteApp programs launched from the client machine (via Windows remote connections or via web access) to be launched without having to re-authenticate a second time, you will first have to enable SSO for your RDS session hosts by following our previous tutorial : Enable single sign-on (SSO) for access to RemoteApp programs and published desktops

  1. Enable Windows authentication on RDS web access
  2. Enable Windows authentication on IIS web server
  3. Testing RDS web access using Windows authentication
  4. Configure the Single Sign-On (SSO)
  5. Enable the private mode by default

1. Enable Windows authentication on RDS web access

To get started, you must enable Windows authentication on the RDS web access.
To do this, you must start the notepad as an administrator and open this file : C:\Windows\Web\RDWeb\Pages\Web.config

Note : make a copy of this file before modifying it to be able to restore it in case of problem.

In this file, you will find a section explaining how to enable Windows Authentication on RD Web Access.

To start, uncomment the "<authentication mode="Windows"/>" tag by removing the "<!--" and "-->" (which are HTML comments).
Then, comment out the "<authentication mode="Forms">...</authentication>" block by adding "<!--" and "-->" around it (as on the image below).

A little further down, you will find a "<system.webServer>" section.

In this section, comment out the "<modules ...>...</modules>" and "<security>...</security>" tags like this.

2. Enable Windows authentication on IIS web server

For Windows authentication to work, you must also enable it in Internet Information Services (IIS) Manager.
To enable it for the Remote Desktop Services (RDS) web access, go to "Sites -> Default Web Site -> RDWeb" and click "Authentication" (in the IIS section).

Disable the anonymous authentication (since you no longer have the login form for the web access).

Then, enable the Windows authentication.

Once activated, IIS will tell you about the extended protection to configure.
To do this, select Windows Authentication from the list, then click "Advanced Settings" in the right column.

Choose "Extended Protection: Accept".

Then, click on "Suppliers" (in the right column).

And verify that the "Negotiate" and NTLM providers are enabled and displayed in that order.

Finally, select the default website (which includes RDWeb) and click "Restart" in the right column.

Note : if you want to do it via the command line, you can use this command : iisreset /restart

3. Testing RDS web access using Windows authentication

Because the Windows authentication is enabled, when you try to access Remote Desktop Services web access, your web browser will first ask you to log in.
Use an Active Directory user who is authorized to use RemoteApp programs and/or desktops on your RDS server and click OK.

If the user is allowed to access it, he will have access without problem to the RemoteApp programs and/or to the desktops available to him.

If you close the authentication window, you will not have access to this web access.

Next page

Share this tutorial

Partager
Tweet

To see also

  • WS 2012 / 2012 R2 - RDS - Set up HA on your RDS infrastructure

    Windows Server 6/7/2019

    WS 2012 / 2012 R2 - RDS - Set up HA on your RDS infrastructure

  • WS 2012 / 2012 R2 / 2016 - RDS - Access RemoteApp via a modern application

    Windows Server 3/8/2019

    WS 2012 / 2012 R2 / 2016 - RDS - Access RemoteApp via a modern application

  • WS 2012 / 2012 R2 / 2016 - RDS - Attempt to unblock the session as a user

    Windows Server 4/28/2019

    WS 2012 / 2012 R2 / 2016 - RDS - Attempt to unblock the session as a user

  • WS 2012 / 2012 R2 / 2016 - RDS - Change the properties of RemoteApps

    Windows Server 3/16/2019

    WS 2012 / 2012 R2 / 2016 - RDS - Change the properties of RemoteApps

Comments

You must be logged in to post a comment

Share your opinion

Pinned content

  • Software (System admin)
  • Linux softwares
  • Our programs
  • Terms and conditions
  • Share your opinion

Contact

  • Guest book
  • Technical support
  • Contact

® InformatiWeb-Pro.net - InformatiWeb.net 2008-2022 - © Lionel Eppe - All rights reserved.

Total or partial reproduction of this site is prohibited and constitutes an infringement punishable by articles L.335-2 and following of the intellectual property Code.