Solved

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

Posted on 2010-11-09
6
761 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
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…

791 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