Solved

Customise TS Web Access "Connection options" - Windows Server 2008

Posted on 2010-11-09
6
752 Views
Last Modified: 2012-06-27
Hello,

I have installed a windows 2008 server R1 with Terminal Services.  I have enabled TS Web Access and it works well, I am now at the point of tweaking it for my staff.  What they would like is the following:  On the TS Web Access page on the Remote Desktop TAB there is a "Connect to:" box where you type the name of the computer you want to connect to.  We want this to be populated by default with the name of our terminal server.  You used to be able to do it in 2003 by editing the web page, but I can't see how to do it in 2008.  

I have attached a picture of the screen I am talking about.  Simply instead of having a greyed out "computername" in the box we want the name of our terminal server in black as though we had just typed it.

any help much appreciated.

P.S. we are not using sharepoint so please do not put solutions using it, also we have the RDP connection on the RemoteApp Programs TAB but that works over port 3389, we are aiming to use port 443 so this is the TAb we need to sort. I want to populate the Connect to box
0
Comment
Question by:tonyperth
  • 4
  • 2
6 Comments
 
LVL 28

Accepted Solution

by:
bgoering earned 500 total points
ID: 34099077
Navigate to C:\Windows\Web\RDWeb\Pages\en-US (or wherever you content installed for RDWeb - this was tested on 2008 R2 so your results might be slightly different)

Edit the file Desktops.aspx

Find the line:
const string L_DefaultComputerNameValue_Text = "Computer Name";
and replace with something like this
const string L_DefaultComputerNameValue_Text = "myhost.mydomain.com&nbsp";

Search for "machinename" looking for an input tag something like:
<input name="MachineName" maxlength="255" id="MachineName"
     class="textInputField" onfocusin="jscript:ClearTxt(this);" onblur="jscript:checkLen(this, 0);"
     type="text" onkeydown="jscript:checkKey(this);" onkeyup="jscript:checkLen(this, 1);" />
and replace with:
<input value="myhost.mydomain.com" name="MachineName" maxlength="255" id="MachineName"
     class="textInputField" onfocusin="jscript:ClearTxt(this);" onblur="jscript:checkLen(this, 0);"
     type="text" onkeydown="jscript:checkKey(this);" onkeyup="jscript:checkLen(this, 1);" />

I'm not sure what you mean about using port 443 instead of 3389... Where is this?

Good Luck
0
 
LVL 8

Author Comment

by:tonyperth
ID: 34100038
Thanks for your response bgoering, I will give that a go later today.  Don't worry about the ports, I am assuming that this page works the same way as SBS's Remote Web Workplace where all the RDP traffic is routed using the SSL over port 443 rather than the normal RDP port 3389.

I will let you know how I get on.

Cheers,

Tony
0
 
LVL 8

Author Comment

by:tonyperth
ID: 34100384
Hello bgoering,

That has not worked unfortunately.  The box now comes up clear, do I need to change the folowing part as well?

 onfocusin="jscript:ClearTxt(this)
0
Are end users causing IT problems again?

You’ve taken the time to design and update all your end user’s email signatures, only to find out they’re messing up the HTML, changing the font and ruining the imagery. What can you do to prevent this? Find out how you can save your signatures from end users today.

 
LVL 8

Author Comment

by:tonyperth
ID: 34100426
scratch that, please ignore my last post
0
 
LVL 8

Author Closing Comment

by:tonyperth
ID: 34100469
Hello bgoering,

i was editing the wrong servers file, Duh!

Now that I have edited the correct server I have found that I could only do the second part:

 class="textInputField" onfocusin="jscript:ClearTxt(this);" onblur="jscript:checkLen(this, 0);"
type="text" onkeydown="jscript:checkKey(this);" onkeyup="jscript:checkLen(this, 1);" />

R1 doe snot seem to have an entry for:

const string L_DefaultComputerNameValue_Text

And I could not find anything comparable.

However just doing the second part seems to have worked, I have tested it a couple of times and it is working well.  thank you for all your help.

Tony
0
 
LVL 28

Expert Comment

by:bgoering
ID: 34101279
Glad you got it going - I don't have a 2008 R1 server to look at, so figured it out on R2. Figured it should be pretty close.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now