Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 778
  • Last Modified:

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

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
tonyperth
Asked:
tonyperth
  • 4
  • 2
1 Solution
 
bgoeringCommented:
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
 
tonyperthAuthor Commented:
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
 
tonyperthAuthor Commented:
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
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

 
tonyperthAuthor Commented:
scratch that, please ignore my last post
0
 
tonyperthAuthor Commented:
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
 
bgoeringCommented:
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

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now