In this part we will move forward and continue with RD Web Access page customization.

This time we will customize the page that’s shown after a user logs on.

This is how our login page looks like after branding Part 2

screenshot-59

When we login, the main page is actually made up of two pages. The first page is the page that shows you the published Desktops and RemoteApp programs.

I published several RemoteApps and arranged them into a folder structure.

Admin Tools: Disk CleanUp, Resources Monitor, Server Manager Snipping Tools

Economy: Calculator, Paint, WordPad

screenshot-62

Second Page is shown when you click the “Connect to a remote PC” tab.

screenshot-61

  • First we will focus on this part of the page (Web Access Navigation Bar).

screenshot-1

If you want to give access only to RemoteApps and remove second page completely, you will have to open IIS and expand the tree on the left and click Pages, then double-click Application Settings

screenshot-63

Select ShowDesktops. Notice its value is TRUE by default and click Edit to change it to FALSE. This change is immediate, without the need to restart IIS.

screenshot-64

screenshot-65

  • Next thing what we can change is the HELP LINK.

screenshot-66

OBS!!! The login page has a Help link as well which means that you could specify different Help content for the login page and the main page if you wish. Users usually never click on Help link and because of that I will change it to the MAIL, so that users can access webmail from the Main Page.

I will first remove/hide Help Link from the Main Page. We will need to edit %windir%\web\rdweb\pages\site.xsl file. (I will use Notepad++ which can be downloaded from https://notepad-plus-plus.org/download/v7.3.2.html )

Line 316 and change <td> to <!–<td>

Line 320 should look like this </td>–>

Line 322 should look like this <!–<td width=”15″> </td>

Line 324 should look like this <td width=”15″>&#160</td>–>

This is the result from line 316 to 325

screenshot-3

Reload the RDWA page and the Help Link is gone.

screenshot-4

  • Now let’s add Hotmail link to navigation bar (Like this you can add whatever you want)

<td>
<a href=”https://outlook.com&#8221; target=”_new”>
Hotmail
</a>
</td>
<td width=”15″> </td>
<td class=”dividerInNavigationBar”>|</td>
<td width=”15″> </td>

You will need to paste this code before Line 316, I mean click on line 315 and press enter to move to line 316 and paste this code. It should look like this

screenshot-5

Reload the RDWA page and there’s our new link!

screenshot-6

  • Next thing we can do is to remove Current folder test

screenshot-7

If you click on Admin Tools it will look like this

screenshot-8

I think it should be better to have only Admin Tools. Like that our Main Page will look cleaner. Let’s remove that. Browse to the windir%\web\rdweb\pages\site.xsl.

If you edited this file along in this post, you’ll need to go to line 542

screenshot-9

Change this code to be like

<div class="tswa_CurrentFolderLabel"><span><xsl:attribute name='id'><xsl:value-of select="$feedidprefix"/>CurrentFolderPath</xsl:attribute><xsl:value-of select="substring-after(appfeed:Publisher[1]/@DisplayFolder, '/')"/> </span></div>
CurrentFolderPath

screenshot-10

Save the file and reload the RDWA page. Current Folder will disappear. This time when we click on admin tools it will show us only the folder name.

screenshot-11

screenshot-12

That’s it.

Cheers,

Nedim