Solved

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

Posted on 2010-11-09
6
771 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
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

623 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