Change the Install Location of the TS Web Access Web Site
Applies To: Windows Server 2008
By default, when you install TS Web Access, the TS Web Access Web site installs to the Default Web Site in IIS (to the /TS virtual path). To specify a different Web site to install TS Web Access, you can configure a different target Web site in the registry. You must do this before you install the TS Web Access role service.
Warning
Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
To change the location of the TS Web Access Web site
If you do not already have IIS installed, install IIS. To do this, follow these steps:
Start Server Manager. To open Server Manager, click Start, point to Administrative Tools, and then click Server Manager.
Under Roles Summary, click Add Roles.
On the Before You Begin page, click Next.
On the Select Server Roles page, select the Web Server (IIS) check box, click Add Required Features, and then click Next.
On the Web Server (IIS) page, click Next.
On the Select Role Services page, click Next.
On the Confirm Installation Selections page, click Install.
On the Installation Results page, verify that the installation succeeded, and then click Close.
Click Start, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
In Internet Information Services (IIS) Manager, expand the server name, right-click Sites, and then click Add Web Site.
In the Add Web Site dialog box, add the information for the new Web site, such as the site name. Ensure that you do the following:
In the Physical path box, specify the path C:\Windows\Web, where "C:" represents the drive where you installed Windows.
To not conflict with the Default Web Site, you should either specify a different IP address in the IP address list, or specify a port other than port 80 in the Port box. (If you specify another port, ensure that the firewall is configured to permit HTTP or HTTPS traffic on that port, depending on your configuration.)
When you finish, click OK.
Start Registry Editor. To do this, click Start, type regedit in the Start Search box, and then press ENTER.
Locate the following registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft
To specify a new install location for the TS Web Access Web site, do the following:
Right-click Microsoft, point to New, and then click Key.
Type Terminal Server Web Access as the subkey name, and then press ENTER.
Right-click Terminal Server Web Access, point to New, and then click String Value.
Type Website as the entry name, and then press ENTER.
Right-click Website, and then click Modify.
In the Value data box, type the name of the Web site where you want to install the TS Web Access Web site (the site name that you specified in step 4 of this procedure), and then click OK.
Close Registry Editor.
Install TS Web Access. For more information, see Install the TS Web Access Role Service.