fortypoundhead.com

Change Default Landing Page 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: 7297


Windows Server 2008 contains a plethora of new features associated with Terminal Server. A new key component is Terminal Services Web Access, a Citrix Web-Interface-like interface that provides web-based access to applications published via Terminal Services RemoteApp.

By default, when an authorized user connects to the server, they are dropped to the "RemoteApp Programs" tab by default. There are times, however, when you don't use RemoteApp in your environment, or you want the users to be send to the "Remote Desktop" tab by default instead.

Changing the default tab is very easy. In the default configuration, a user browses to:

http://myserver.mydomain.local/ts

The default page actually redirects the user to:

http://myserver.mydomain.local/ts/en-US/default.aspx

If you open the IIS manager on the terminal server, you'll notice that the default page in the TS virtual app is default.aspx. Open Windows Explorer, and navigate to the file location for default.aspx, which is c:\Windows\Web\ts.

Open the file in your favorite text editor, like notepad or Notepad++.

At around line 13, you'll find the bit that needs to change, shown in bold in the codebox below.

<%@ Page Language="C#" %>
void goToFolder(string getLangVal)
{
Response.Redirect(getLangVal + "/default.aspx" + Request.Url.Query,true);
}


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:23.20.157.174

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



Recent Forum Posts

Coding Archive?
dwirch posted on May 25, 2017 at about 12:38 in Site News

BWASL returns
dwirch posted on May 13, 2017 at about 15:24 in Site News

BWASL returns
dwirch posted on May 13, 2017 at about 8:46 in Site News

Job Spammer: Balashankar Bose Bose
dwirch posted on May 11, 2017 at about 10:05 in Spammers

Job Spammer: Bharti Jigyasi
dwirch posted on May 11, 2017 at about 7:58 in Spammers

List of Shady Characters
dwirch posted on April 25, 2017 at about 16:39 in Webmaster Stuff