IIS, IIS8, Programming, Software, Technology, Various Languages, Web Server, Windows 2012

Allow Single Sign-on for RemoteApps in Windows 2012

In RemoteApps for Windows Server 2012 the support for .RDP and .MSI file distribution has been discontinued in favor of using the Web portal method. In this article I will review how to allow single sign-on for users on a LAN for RemoteApps hosted by Windows Server 2012.

Configuring the Server

If you go with the default settings for RemoteApps in Windows Server 2012, then by default the Web portal will ask each user to authenticate to the server before being allowed to see the apps they have been granted access to. If you are on a LAN where each user is has already authenticated to Active Directory, you likely don’t want your users to have to go through the process of logging into their network accounts, since the already did this to log onto their PCs and authenticate to your network.

The plus side of things here is that the default settings for RDWeb (the default site where RemoteApps are hosted) can be managed in a Web.config file that you can update in IIS. As you are probably aware, you can bring up IIS on Windows Server 2012 from the Tools menu bar option (top right hand side) of the Server Manager tool.

Also, in my opinion, the Server Manager tool is actually pretty great in centralizing a lot of Server features that were previously scattered throughout the server before.

Once you have IIS up and running, you will need to open up the following path within IIS:

  1. Your Server Name
  2. Sites
  3. Default Web Site
  4. RDWeb
  5. Then, under RDWeb, (left) click on Pages
  6. In the IIS section of the management window you will see a category called Authentication. Double-click this to open it.
  7. Now make sure that you disable both Anonymous Authentication and Forms Authentication.
  8. Enable Windows Authentication.

Great, now that’s all that you have to do on the server side.

Configuring the Client Computers

    1. On each client computer, you will need to ensure that your Web server name is added to the trusted sites list in Internet Explorer:
      https:// [My Server Name] .example .com
    2. Then you will need to click on the ‘Custom Level option under trusted sites.
    3. If you are using IE11, scroll the the very bottom of the Security Settings for Trusted Sites.
    4. Under the section: User Authentication: Logon, select the option:
      Automatic logon with current user name and password

This should be enough to get your users single sign-on to the RemoteApps site. Once this is in place, I am sure that you will find it great that you can manage each user’s apps from a centralized server rather than having to manage .RDP or .MSI installations on each user’s machine.

Advertisement

1 thought on “Allow Single Sign-on for RemoteApps in Windows 2012”

  1. I got it to work until the RDP app opened and user needs to log into to the VM that resides on the Hyper V 2012 R2. If SSO works, User logged onto Domain Computer, RDWEB will open and user clicks on the RDP icon in the RemoteApp, them it will launch RDP session to VM and auto log in as well. I got stuck at the last log on to the VM. Please Advise.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s