Share via


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

  1. If you do not already have IIS installed, install IIS. To do this, follow these steps:

    1. Start Server Manager. To open Server Manager, click Start, point to Administrative Tools, and then click Server Manager.

    2. Under Roles Summary, click Add Roles.

    3. On the Before You Begin page, click Next.

    4. On the Select Server Roles page, select the Web Server (IIS) check box, click Add Required Features, and then click Next.

    5. On the Web Server (IIS) page, click Next.

    6. On the Select Role Services page, click Next.

    7. On the Confirm Installation Selections page, click Install.

    8. On the Installation Results page, verify that the installation succeeded, and then click Close.

  2. Click Start, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.

  3. In Internet Information Services (IIS) Manager, expand the server name, right-click Sites, and then click Add Web Site.

  4. 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.)

  5. When you finish, click OK.

  6. Start Registry Editor. To do this, click Start, type regedit in the Start Search box, and then press ENTER.

  7. Locate the following registry subkey:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft

  8. To specify a new install location for the TS Web Access Web site, do the following:

    1. Right-click Microsoft, point to New, and then click Key.

    2. Type Terminal Server Web Access as the subkey name, and then press ENTER.

    3. Right-click Terminal Server Web Access, point to New, and then click String Value.

    4. Type Website as the entry name, and then press ENTER.

    5. Right-click Website, and then click Modify.

    6. 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.

  9. Close Registry Editor.

  10. Install TS Web Access. For more information, see Install the TS Web Access Role Service.