You can logon to TFS automatically as another user by utilizing the stored passwords feature of Windows:
- Start Menu Search| type User Accounts
- Under tasks, click “Manage your network passwords”
- Add the TFS URL, username, and password
I use a notebook computer in which I normally log in with a local account. Using a domain account on this notebook is a pain, because I am frequently on the road. The TFS server, however, requires a domain account. By using this technique, I am able to use TFS while still logged-in as the local computer account on the notebook. Much better than switching users to/from a domain account.