How to: Configure Cache Security for Team Foundation Server Proxy
As a Team Foundation Server administrator, you must add a Team Foundation Server Proxy service account and specify a password to maintain security for the Team Foundation Server Proxy.
Note
By default, you created this account and password when you installed Team Foundation Server Proxy. For more information about how to install Team Foundation Server Proxy and user accounts required for Team Foundation Server setup, see the Team Foundation Installation Guide. For more information, visit the Team System Documentation Directory (https://go.microsoft.com/fwlink/?LinkId=62213).
If you must change the proxy service account or password, you can use IIS Manager or the proxy installation wizard to make the changes.
Required Permissions
To perform this procedure, you must be a member of the Administrators security group on the Team Foundation Server Proxy computer.
To add a Team Foundation Server Proxy service account using IIS Manager
Make sure that the new proxy service account is a member of the Team Foundation Valid Users group.
For more information, see Team Foundation Server Permissions.
On the Team Foundation Server Proxy server, on the Start menu, point to Administrative Tools, and then click Computer Management.
In the left pane, expand Computer Management (Local), System Tools, Local Users and Groups, and then click Groups.
In the right pane, double-click IIS_WPG.
On the General tab, click Add.
In the Enter the object names to select box, type the proxy service account name, for example, Domain\TFSSERVICE.
Click Start, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
In the left pane, expand the Internet Information Services node and the <server name> (local computer) node.
Under Application Pools, right-click TFS Proxy AppPool, and then click Properties.
Click the Identity tab.
Update the User name and Password boxes with the proxy service account name and password.
Close IIS Manager.
Locate the cache root folder and verify that only the proxy service account has Read and Write permissions.
Locate the %WINDIR%\Temp folder and verify that the service account has Read & Execute, List Folder Contents, and Read permissions.
For more information about the root cache folder, see How to: Change Cache Settings for Team Foundation Server Proxy.
To add a service account by using the Team Foundation Server Proxy installation wizard
On the Team Foundation Server Proxy server, open Windows Explorer and locate the proxy installation directory.
Note
The default proxy installation directory is …\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\Web Services\VersionControlProxy.
Make a backup of the Proxy.config file.
For example, you can copy the file to a temporary folder and rename the file Proxy.config.backup.
Click Start, point to Control Panel, and then click Add or Remove Programs.
In the Add or Remove Programs dialog box, click Microsoft Visual Studio 2005 Team Foundation Server (proxy) - ENU.
Uninstall Team Foundation Server proxy by clicking Change/Remove, Uninstall and then click Next.
In the confirmation dialog box, click OK.
Reinstall Team Foundation Server proxy and specify the new proxy service account.
Restore the Proxy.config file to the proxy installation directory.
Change the Password for the Service Account
If you already have a Team Foundation Server Proxy service account, and you want to change the password, you can change it by using IIS Manager or by using the Team Foundation Server Proxy installation wizard.
To change the password using IIS Manager
On the Team Foundation Server Proxy server, open IIS Manager.
In the left pane, expand the Internet Information Services node and the <proxy server name> (local computer) node.
Under Application Pools, right-click TFS Proxy AppPool, and then click Properties.
Click the Identity tab, change the password in the Password box, and then click OK.
Close IIS Manager.
To change the password using the Team Foundation Server Proxy installation wizard
On the Team Foundation Server Proxy server, on the Start menu, point to Control Panel, and then click Add or Remove Programs.
In the Add or Remove Programs dialog box, click Microsoft Visual Studio 2005 Team Foundation Server (proxy) - ENU.
Click Change/Remove, Repair/Reinstall and then click Next.
Set the service account password and complete the installation.
See Also
Tasks
How to: Enable Source Control Caching for Team Foundation Server Proxy
How to: Examine Cache Performance for Team Foundation Server Proxy