TF53011: domain\username is not a licensed user after restore<p align=left><font face=Arial size=2><span lang=EN-GB style="font-size:11pt;font-family:'Times New Roman'"><strong><em>Scenario:</em></strong></span></font></p> <ol> <li> <div align=left>Before reinstall TFS, backup databases and encryption key. </div> <li> <div align=left>Right after reinstalling SharePoint and TFS, everything is working properly. There are four groups in Global Groups, include Team Foundation Licensed Users group and my userid in it.</div> <li> <div align=left>But after restoring, when I excute <span style="font-size:11pt;font-family:'Times New Roman'"><font face=Arial><font size=2><strong>SetupWarehouse </strong>command, I've already been not a licensed user, the command failed.</font></font></span></div> <li> <div align=left><span style="font-size:11pt;font-family:'Times New Roman'"><font face=Arial size=2>Use TFSService login, and do the biuld warehouse command, done.</font></span></div> <li> <div align=left><span style="font-size:11pt;font-family:'Times New Roman'"><font face=Arial size=2>The rest steps done by TFSService account.</font></span></div> <li> <div align=left><span style="font-size:11pt;font-family:'Times New Roman'"><font face=Arial size=2>When I use my userid to connect to TFS, &quot;TF53011: domain\username is not a licensed user&quot; occured.</font></span></div> <li> <div align=left><span style="font-size:11pt;font-family:'Times New Roman'"><font face=Arial size=2>Using TFSService to connect to TFS is working, but cannot be added any account into Valid User Group.</font></span></div></li></ol> <p align=left><span style="font-size:11pt;font-family:'Times New Roman'"><font face=Arial size=2>Help me please.</font></span></p> <p align=left><span style="font-size:11pt;font-family:'Times New Roman'"><font face=Arial size=2></font></span> </p> <p align=left><span style="font-size:11pt;font-family:'Times New Roman'"><font face=Arial size=2>Thanks,</font></span></p> <p align=left><span style="font-size:11pt;font-family:'Times New Roman'"><font face=Arial size=2>-Andrew</font></span></p>© 2009 Microsoft Corporation. All rights reserved.Thu, 09 Oct 2008 21:15:44 Z0939d3aa-6acc-41f1-b674-c33a9f75351dhttp://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/0939d3aa-6acc-41f1-b674-c33a9f75351d#0939d3aa-6acc-41f1-b674-c33a9f75351dhttp://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/0939d3aa-6acc-41f1-b674-c33a9f75351d#0939d3aa-6acc-41f1-b674-c33a9f75351dAndrew Huanghttp://social.msdn.microsoft.com/Profile/en-US/?user=Andrew%20HuangTF53011: domain\username is not a licensed user after restore<p align=left><font face=Arial size=2><span lang=EN-GB style="font-size:11pt;font-family:'Times New Roman'"><strong><em>Scenario:</em></strong></span></font></p> <ol> <li> <div align=left>Before reinstall TFS, backup databases and encryption key. </div> <li> <div align=left>Right after reinstalling SharePoint and TFS, everything is working properly. There are four groups in Global Groups, include Team Foundation Licensed Users group and my userid in it.</div> <li> <div align=left>But after restoring, when I excute <span style="font-size:11pt;font-family:'Times New Roman'"><font face=Arial><font size=2><strong>SetupWarehouse </strong>command, I've already been not a licensed user, the command failed.</font></font></span></div> <li> <div align=left><span style="font-size:11pt;font-family:'Times New Roman'"><font face=Arial size=2>Use TFSService login, and do the biuld warehouse command, done.</font></span></div> <li> <div align=left><span style="font-size:11pt;font-family:'Times New Roman'"><font face=Arial size=2>The rest steps done by TFSService account.</font></span></div> <li> <div align=left><span style="font-size:11pt;font-family:'Times New Roman'"><font face=Arial size=2>When I use my userid to connect to TFS, &quot;TF53011: domain\username is not a licensed user&quot; occured.</font></span></div> <li> <div align=left><span style="font-size:11pt;font-family:'Times New Roman'"><font face=Arial size=2>Using TFSService to connect to TFS is working, but cannot be added any account into Valid User Group.</font></span></div></li></ol> <p align=left><span style="font-size:11pt;font-family:'Times New Roman'"><font face=Arial size=2>Help me please.</font></span></p> <p align=left><span style="font-size:11pt;font-family:'Times New Roman'"><font face=Arial size=2></font></span> </p> <p align=left><span style="font-size:11pt;font-family:'Times New Roman'"><font face=Arial size=2>Thanks,</font></span></p> <p align=left><span style="font-size:11pt;font-family:'Times New Roman'"><font face=Arial size=2>-Andrew</font></span></p>Tue, 18 Sep 2007 20:56:38 Z2007-10-12T20:04:34Zhttp://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/0939d3aa-6acc-41f1-b674-c33a9f75351d#d4c9c733-7143-4505-bcf9-fe43fc22270dhttp://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/0939d3aa-6acc-41f1-b674-c33a9f75351d#d4c9c733-7143-4505-bcf9-fe43fc22270dAndrew Huanghttp://social.msdn.microsoft.com/Profile/en-US/?user=Andrew%20HuangTF53011: domain\username is not a licensed user after restore<p>Also:</p> <p align=left> </p> <p align=left>Using TFSService login and all things done. All original users are in Team Foundation Valid Users group, but they cannot login the TFS with the error: </p> <p align=left><strong>TF53011: domain\username is not a licensed user.</strong></p> <p align=left> </p> <p align=left>What's the solution, please.</p> <p align=left> </p> <p align=left> </p> <p align=left><font face=Arial size=2></font> </p>Wed, 19 Sep 2007 15:15:01 Z2007-09-19T15:15:01Zhttp://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/0939d3aa-6acc-41f1-b674-c33a9f75351d#e7bb728b-eea0-4522-9a58-014325d273cdhttp://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/0939d3aa-6acc-41f1-b674-c33a9f75351d#e7bb728b-eea0-4522-9a58-014325d273cdAndrew Huanghttp://social.msdn.microsoft.com/Profile/en-US/?user=Andrew%20HuangTF53011: domain\username is not a licensed user after restore<span> <p align=left><font face=Arial size=2><span lang=EN-GB style="font-size:11pt;font-family:'Times New Roman'"><strong><em>Scenario:</em></strong></span></font></p> <ol> <li> <div align=left>Before reinstall TFS, backup databases and encryption key. </div> <li> <div align=left>Right after reinstalling SharePoint and TFS, everything is working properly. There are four groups in Global Groups, include Team Foundation Licensed Users group and my userid in it.</div> <li> <div align=left>But after restoring, when I excute <span style="font-size:11pt;font-family:'Times New Roman'"><font face=Arial><font size=2><strong>SetupWarehouse </strong>command, I've already been not a licensed user, the command failed.</font></font></span></div> <li> <div align=left><span style="font-size:11pt;font-family:'Times New Roman'"><font face=Arial size=2>Use TFSService login, and do the biuld warehouse command, done.</font></span></div> <li> <div align=left><span style="font-size:11pt;font-family:'Times New Roman'"><font face=Arial size=2>The rest steps done by TFSService account.</font></span></div> <li> <div align=left><span style="font-size:11pt;font-family:'Times New Roman'"><font face=Arial size=2>When I use my userid to connect to TFS, &quot;TF53011: domain\username is not a licensed user&quot; occured.</font></span></div> <li> <div align=left><span style="font-size:11pt;font-family:'Times New Roman'"><font face=Arial size=2>Using TFSService to connect to TFS is working, but cannot be added any account into Valid User Group.</font></span></div></li></ol> <p align=left><span style="font-size:11pt;font-family:'Times New Roman'"><font face=Arial size=2><span>Also:</p> <p align=left> </p> <p align=left>Using TFSService login and all things done. All original users are in Team Foundation Valid Users group, but they cannot login the TFS with the error: </p> <p align=left><strong>TF53011: domain\username is not a licensed user.</strong></p> <p align=left> </p></span></font></span> <p align=left><span style="font-size:11pt;font-family:'Times New Roman'"><font face=Arial size=2>Help me please.</font></span></p> <p align=left><span style="font-size:11pt;font-family:'Times New Roman'"><font face=Arial size=2></font></span> </p> <p align=left><span style="font-size:11pt;font-family:'Times New Roman'"><font face=Arial size=2>Thanks,</font></span></p> <p align=left><span style="font-size:11pt;font-family:'Times New Roman'"><font face=Arial size=2>-Andrew</font></span></p></span>Wed, 19 Sep 2007 15:18:14 Z2007-09-19T15:18:14Zhttp://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/0939d3aa-6acc-41f1-b674-c33a9f75351d#0f1551cd-1f66-4bdd-8e3f-0d7fc606a3dehttp://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/0939d3aa-6acc-41f1-b674-c33a9f75351d#0f1551cd-1f66-4bdd-8e3f-0d7fc606a3deAndrew Huanghttp://social.msdn.microsoft.com/Profile/en-US/?user=Andrew%20HuangTF53011: domain\username is not a licensed user after restoreCould somebody give me a help? thanks <p align=left><font face=Arial size=2></font> </p>Mon, 24 Sep 2007 13:45:13 Z2007-09-24T13:45:13Zhttp://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/0939d3aa-6acc-41f1-b674-c33a9f75351d#446a7cdb-f1eb-4a29-82fe-902e95dec9bfhttp://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/0939d3aa-6acc-41f1-b674-c33a9f75351d#446a7cdb-f1eb-4a29-82fe-902e95dec9bfHua Chenhttp://social.msdn.microsoft.com/Profile/en-US/?user=Hua%20ChenTF53011: domain\username is not a licensed user after restore<p align=left><font face=Arial size=2>Hello Andrew,</font></p> <p align=left> </p> <p align=left>   Sorry for the inconvenience.</p> <p align=left> </p> <p align=left>   Could you please try to use the TFSSetup account to connect to the TFS. It is in the licensed user group.</p> <p align=left> </p> <p align=left>   And try to add your userid to the licensed user group? Thanks.</p> <p align=left> </p> <p align=left>  Good luck.</p>Tue, 25 Sep 2007 05:05:37 Z2007-09-25T05:05:37Zhttp://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/0939d3aa-6acc-41f1-b674-c33a9f75351d#fe7fd7fe-b021-4cc3-810a-a9076ed6889dhttp://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/0939d3aa-6acc-41f1-b674-c33a9f75351d#fe7fd7fe-b021-4cc3-810a-a9076ed6889dMatthew Hoover - MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Matthew%20Hoover%20-%20MSFTTF53011: domain\username is not a licensed user after restore<p class=MsoNormal style="margin:0in 0in 0pt"><font face=Calibri size=3>The only time that the licensed users group comes into play is when you have a Workgroup license.<span style="">  </span>The Workgroup license only allows 5 people to connect to the server.<span style="">  </span>The list of 5 people is in the global group “Team Foundation Licensed Users”.<span style="">  </span>You can use the command line tool TfsSecurity.exe to add users to the group (documented at </font><a title="http://msdn2.microsoft.com/en-us/library/ms400759(vs.80).aspx" href="http://msdn2.microsoft.com/en-us/library/ms400759(vs.80).aspx"><font face=Calibri color="#800080" size=3>http://msdn2.microsoft.com/en-us/library/ms400759(vs.80).aspx</font></a><font face=Calibri size=3>), but you may have to run TfsSecurity as the service account.<span style="">  </span>If you have questions about what kind of license you are using, Brian Harry’s blog post </font><a title="http://blogs.msdn.com/bharry/archive/2006/10/04/Last-word-on-TFS-Expirations-_2800_I-hope_2900_.aspx" href="http://blogs.msdn.com/bharry/archive/2006/10/04/Last-word-on-TFS-Expirations-_2800_I-hope_2900_.aspx"><font face=Calibri color="#800080" size=3>http://blogs.msdn.com/bharry/archive/2006/10/04/Last-word-on-TFS-Expirations-_2800_I-hope_2900_.aspx</font></a><font size=3><font face=Calibri> has a tool that will examine your system and tell you what kind of license you are using.</font></font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font size=3><font face=Calibri>--Matt Hoover</font></font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font size=3><font face=Calibri>Visual Studio Team Foundation Server</font></font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font size=3><font face=Calibri>Software Design Engineer</font></font></p> <p align=left><font face=Arial size=2></font> </p>Tue, 25 Sep 2007 17:41:10 Z2007-09-25T17:41:10Zhttp://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/0939d3aa-6acc-41f1-b674-c33a9f75351d#05643873-8e3f-499d-a5f3-f29292d4c054http://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/0939d3aa-6acc-41f1-b674-c33a9f75351d#05643873-8e3f-499d-a5f3-f29292d4c054Andrew Huanghttp://social.msdn.microsoft.com/Profile/en-US/?user=Andrew%20HuangTF53011: domain\username is not a licensed user after restore<p>Thanks, Hua,</p> <p align=left> </p> <p align=left>Actually, my userid has already been in licensed user group. and I added one development group into TF valid user group. But they cannot login with their username.</p> <p align=left><font face=Arial size=2></font> </p>Wed, 26 Sep 2007 20:38:15 Z2007-09-26T20:38:15Zhttp://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/0939d3aa-6acc-41f1-b674-c33a9f75351d#fa72904c-adc7-4505-9d5c-33999bc90b6ehttp://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/0939d3aa-6acc-41f1-b674-c33a9f75351d#fa72904c-adc7-4505-9d5c-33999bc90b6eAndrew Huanghttp://social.msdn.microsoft.com/Profile/en-US/?user=Andrew%20HuangTF53011: domain\username is not a licensed user after restore<p align=left><font face=Arial size=2>Thanks,   <b><a id="_ctl0_MainContent__ctl0_PostForm_ReplyPostedBy" href="http://forums.microsoft.com/MSDN/User/Profile.aspx?UserID=7685&amp;SiteID=1"><font color="#013da4">Matthew </font></a></b></font></p> <p align=left><strong></strong> </p> <p align=left><strong>Same message above.</strong></p> <p align=left><strong></strong> </p> <p align=left>I think, it isn't the reason whether somebody is in the valid users group or not. Maybe need some configuration. Anyway, thanks again. Would have any advice?</p>Wed, 26 Sep 2007 20:42:34 Z2007-09-26T20:42:34Zhttp://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/0939d3aa-6acc-41f1-b674-c33a9f75351d#ae33cd6e-5d00-405c-b630-54b17788e263http://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/0939d3aa-6acc-41f1-b674-c33a9f75351d#ae33cd6e-5d00-405c-b630-54b17788e263Matthew Hoover - MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Matthew%20Hoover%20-%20MSFTTF53011: domain\username is not a licensed user after restore<p class=MsoNormal style="margin:0in 0in 0pt"><font size=3><font face=Calibri>Let me make sure that I understand you configuration.<span style="">  </span>Your Team Foundation Server is licensed as the Workgroup edition, not the full edition.</font></font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font size=3><font face=Calibri>If you are using the Workgroup edition of Team Foundation Server, you are limited to 5 users, and those five users must be members of the global group “Team Foundation Licensed Users”.</font></font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font size=3><font face=Calibri>You can determine which users are a member of the “Team Foundation Licensed Users” group with the following command:</font></font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face=Calibri size=3> </font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font size=3><font face=Calibri>TFSSecurity.exe /server:<i style="">&lt;server&gt;</i> /imx &quot;Team Foundation Licensed Users&quot;</font></font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face=Calibri size=3> </font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font size=3><font face=Calibri>If a given user is not a member of the group, you can add them either through the GUI (Team -&gt; Team Foundation Server -&gt; Group Membership), or using TFSSecurity.exe.<span style="">  </span>But the user must be a member of the “Team Foundation Licensed Users” group in order to access TFS.</font></font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font size=3><font face=Calibri>--Matt Hoover</font></font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font size=3><font face=Calibri>Visual Studio Team Foundation Server</font></font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font size=3><font face=Calibri>Software Design Engineer</font></font></p> <p> </p>Wed, 26 Sep 2007 21:19:26 Z2007-10-12T20:04:34Zhttp://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/0939d3aa-6acc-41f1-b674-c33a9f75351d#8ae67ac2-6db8-4301-8222-8090e6d10194http://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/0939d3aa-6acc-41f1-b674-c33a9f75351d#8ae67ac2-6db8-4301-8222-8090e6d10194Andrew Huanghttp://social.msdn.microsoft.com/Profile/en-US/?user=Andrew%20HuangTF53011: domain\username is not a licensed user after restore<p align=left><font face=Arial size=2>Thanks, Matt.</font></p> <p align=left> </p> <p align=left>Our TFS should be full edition because we use the cd to install before, it can work for many users (over 20).</p> <p align=left> </p> <p align=left>By the way, how to check my TFS edition?</p> <p align=left> </p> <p align=left>Thanks,</p> <p align=left>-Andrew</p>Wed, 26 Sep 2007 22:20:23 Z2007-09-26T22:20:23Zhttp://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/0939d3aa-6acc-41f1-b674-c33a9f75351d#44884d8d-a2c7-4f1d-9e00-24bdf3d68d46http://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/0939d3aa-6acc-41f1-b674-c33a9f75351d#44884d8d-a2c7-4f1d-9e00-24bdf3d68d46Mike Kok - MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Mike%20Kok%20-%20MSFTTF53011: domain\username is not a licensed user after restore<p>Andrew,</p> <p align=left> </p> <p align=left>I believe the .zip linked to at the end of Brian Harry's blog post <a title="http://blogs.msdn.com/bharry/archive/2006/10/04/Last-word-on-TFS-Expirations-_2800_I-hope_2900_.aspx" href="http://blogs.msdn.com/bharry/archive/2006/10/04/Last-word-on-TFS-Expirations-_2800_I-hope_2900_.aspx">here</a> can be used to check what version of TFS is installed.  Hopefully it can be of some use for figuring out this issue.</p> <p align=left><font face=Arial size=2></font> </p>Wed, 03 Oct 2007 18:08:42 Z2007-10-03T18:08:42Z