Solved

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

Posted on 2010-11-09
6
765 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

 
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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
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…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

734 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