fortypoundhead.com

Set Default Terminal Server for TS Web Access

Posted On 2010-07-14 by FortyPoundHead
Keywords: Terminal Services Remote Desktop RemoteApp TS Web Access Windows Server 2008 R2
Tags: Tip Tutorial Windows Server 2008
Views: 2755


Terminal Services Web Access (TS Web Access) is a role service in the Terminal Services role that enables users to connect from a Web browser to the remote desktop of any server or client computer where they have the appropriate access.

In some environments, you want to make it as simple as possible for the end users. Normally, a user would browse to the TS Web Access page, navigate to the Remote Desktop tab (you can change the default tab), enter a server name to connect to, then click connect.

One of the down sides of this method is that the user is expected to remember the name of the server that he or she needs to connect to. Wouldn't it be great if you could populate the field with a default value?

Well, you can. All it takes is a bit of HTML editing, and it can be accomplished quite handily.

On your TS Web Access server, navigate to the following path:

C:\Windows\Web\ts\en-US

In that directory, you'll find a file called desktops.aspx. Open it with your favorite text-only editor, such as Notepad.

Around about line 548, you'll find the following line:

&nbsp;<input name="MachineName" maxlength="256" id="MachineName"

Now, we need to add the default value, utilizing standard html form input methods. Add the "value" keyword to your inputbox, thus:

&nbsp;<input name="MachineName" value="MyTermServer.MyDomainName.com" maxlength="256" id="MachineName"

After saving the file, and exiting the text editor, you can now browse to page, and you'll see that the Connect To: box is now populated with the name you specified above.

If the name is not present in the box, you might need to refresh the page.


About the Author

FortyPoundHead has posted a total of 1974 articles.

 


Comments On This Post

No comments on this post yet!


Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.


Your IP address is:54.224.50.28

Before you can post, you need to prove you are human. If you log in, this test goes away.




Recent Forum Posts

Advanced search added
dwirch posted on September 23, 2017 at about 13:44 in Site News

Job Spammer: Gaurav Mehta - AgreeYa Solutions
dwirch posted on September 22, 2017 at about 10:35 in Spammers

Job Spammer: Prutha Siri - Javelin Systems
dwirch posted on September 10, 2017 at about 6:15 in Spammers

New security implemented
dwirch posted on September 7, 2017 at about 7:16 in Site News

Malicious IP Checker Companion Tool
dwirch posted on August 12, 2017 at about 20:24 in Site News

Job Spammer: Steve Adams
dwirch posted on August 8, 2017 at about 7:44 in Spammers