Configure RDS 2012 RDWeb for Access via Email (UPN)

How to configure RDS Web Services for Email Login.

Make a copy of the RDS web Folder before making any changes.

Go to the following folder on your RDweb Server.


Open the following file with a text editing tool like Notepad ++.



You will need to edit lines 19, 27, and 28 so that it shows email address.

Save and then exit

Search for the following file under C:\Windows\Web\RDWeb\Pages\webscripts-domain.js

Then make the following changes:


On line 44 add “//” at the beginning of the line.

on line 46 remove “else” so you are left with if as shown in the screen shot.

There you have it, RDWeb now configured for your users to login via the UPN (Email address).


To make things easy, I have created the files so that you can replace the default, you can download these from this address: Download here

2 thoughts on “Configure RDS 2012 RDWeb for Access via Email (UPN)

Add yours

  1. I did this and when I go to login, it fails with “The Email Address or password that you entered is not valid. Try typing it again.”

Leave a Reply

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

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

Facebook photo

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

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Create a website or blog at

Up ↑

%d bloggers like this: