title: TFS 2015 workspace keeps coming back after delete
body: <p>I can't remap my dev folder to TFS 2015 after an upgrade.  Here's what I've done:</p>
  
  <ul>
  <li>Migrated from TFS 2010 to TFS 2015 by:</li>
  <li>Backing up the TFS databases and restoring them on to the new server (SQL 2014)</li>
  <li>Installing TFS 2015</li>
  <li>Running the upgrade wizard</li>
  </ul>
  
  <p>The new server has replaced the old one and has the same IP address.  My dev machine is Windows 10 Enterprise and my user is in the admin group.  UAC is off.</p>
  
  <ul>
  <li>I connect to TFS in VS2013; I then go to <code>Team Explorer &gt; Configure Workspace</code>, and enter the folder containing my solutions. </li>
  <li>I click <code>Map &amp; Get</code>, and it tells me:</li>
  </ul>
  
  <blockquote>
    <p>The working folder XXXX is already in use by the workspace YYYY;MyUser
    on computer MyComputer</p>
  </blockquote>
  
  <ul>
  <li>I click <code>Advanced</code>, and it lets me remove the workspace.</li>
  </ul>
  
  <p>However, when I attempt to remap the same folder, I get the same message.</p>
  
  <p>I've also deleted the workspace using the command line (<code>tf workspace /delete</code>); the delete appears to work since when I try to delete it again, it tells me the workspace doesn't exist.</p>
  
  <p>However, no matter how I try to remap the same folder, the workspace keeps coming back.</p>
  
  <ul>
  <li><p>I've also deleted the cache in <code>C:\Users\Myuser\AppData\Local\Microsoft\Team Foundation\5.0\Cache</code></p></li>
  <li><p>I've queried <code>tbl_Workspace</code> and <code>tbl_WorkspaceMapping</code> in the actual TFS database and sure enough, the workspace is indeed there.</p></li>
  </ul>
  
  <p>How can I get rid of it completely?</p>