﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Discuss Content Posted by Gregory Larsen / Article Discussions / Article Discussions by Author  / Migrating Logins To Another Server / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Thu, 20 Jun 2013 04:40:51 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Migrating Logins To Another Server</title><link>http://www.sqlservercentral.com/Forums/Topic16740-90-1.aspx</link><description>is this still possible with sql server 2005/2008 with the new DMV's?</description><pubDate>Fri, 11 Mar 2011 13:44:14 GMT</pubDate><dc:creator>kwoznica</dc:creator></item><item><title>RE: Migrating Logins To Another Server</title><link>http://www.sqlservercentral.com/Forums/Topic16740-90-1.aspx</link><description>Hi,Does using the script from [b]sp_help_revlogin [/b]also copy the user's permisions?Thanks,Joel</description><pubDate>Wed, 30 Sep 2009 09:22:34 GMT</pubDate><dc:creator>joel_langlois</dc:creator></item><item><title>RE: Migrating Logins To Another Server</title><link>http://www.sqlservercentral.com/Forums/Topic16740-90-1.aspx</link><description>&lt;P&gt;When using the script to transfer logins and passwords from one server to another. After doing so... Does the logins and passwords still appear on the server transfering from??? I am doing a parallel install and need to keep the production database logins and passwords still intact.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description><pubDate>Tue, 05 Oct 2004 07:07:00 GMT</pubDate><dc:creator>Chris Bjorson</dc:creator></item><item><title>RE: Migrating Logins To Another Server</title><link>http://www.sqlservercentral.com/Forums/Topic16740-90-1.aspx</link><description>This would be a lot better if it was fit to screen size rather than having to scroll back and forth to read it...</description><pubDate>Thu, 30 Sep 2004 06:04:00 GMT</pubDate><dc:creator>jack-64275</dc:creator></item><item><title>RE: Migrating Logins To Another Server</title><link>http://www.sqlservercentral.com/Forums/Topic16740-90-1.aspx</link><description>Thats the baby.  Thanks  &lt;img src=icon_smile_big.gif border=0 align=middle&gt; </description><pubDate>Wed, 01 Oct 2003 01:49:00 GMT</pubDate><dc:creator>David.Poole</dc:creator></item><item><title>RE: Migrating Logins To Another Server</title><link>http://www.sqlservercentral.com/Forums/Topic16740-90-1.aspx</link><description>Is sp_change_users_login you are looking for? </description><pubDate>Tue, 30 Sep 2003 10:26:00 GMT</pubDate><dc:creator>Allen Cui-55137</dc:creator></item><item><title>RE: Migrating Logins To Another Server</title><link>http://www.sqlservercentral.com/Forums/Topic16740-90-1.aspx</link><description>Can anyone remember the SP that fixes orphaned users?I seem to remember that if the login name and user name were the same it assigns a matching SID. </description><pubDate>Tue, 30 Sep 2003 09:39:00 GMT</pubDate><dc:creator>David.Poole</dc:creator></item><item><title>RE: Migrating Logins To Another Server</title><link>http://www.sqlservercentral.com/Forums/Topic16740-90-1.aspx</link><description>I agree it would be nice to transfer the default database.  As the script comes from Microsoft it does not set the default database, and that is what I presented in the article.Normally if I am only moving one database I modify the sp_help_revlogin SP to only select logins if they are associated with the database I am moving and I add "execute master..sp_defaultdb " commands to the SP to make sure the default db get set.It could also be modified to determine the default database and set it appropriately.  This would be a good enhancement to this script.Gregory A. Larsen, DBAContributor to 'The Best of SQLServerCentral.com 2002' book.  Get a copy here:http:www.sqlservercentral.com/bestof/purchase.aspNeed SQL Server Examples check out my website at http://www.geocities.com/sqlserverexamples</description><pubDate>Tue, 30 Sep 2003 09:00:00 GMT</pubDate><dc:creator>Greg Larsen</dc:creator></item><item><title>RE: Migrating Logins To Another Server</title><link>http://www.sqlservercentral.com/Forums/Topic16740-90-1.aspx</link><description>When you transfer master all the logins will come across so you would not have to run this script.  This script is used to copy logins and passwords without restore the master database.Gregory A. Larsen, DBAContributor to 'The Best of SQLServerCentral.com 2002' book.  Get a copy here:http:www.sqlservercentral.com/bestof/purchase.aspNeed SQL Server Examples check out my website at http://www.geocities.com/sqlserverexamples</description><pubDate>Tue, 30 Sep 2003 08:51:00 GMT</pubDate><dc:creator>Greg Larsen</dc:creator></item><item><title>RE: Migrating Logins To Another Server</title><link>http://www.sqlservercentral.com/Forums/Topic16740-90-1.aspx</link><description>It does not transfer the default database though. &lt;img src=icon_smile_dead.gif border=0 align=middle&gt; </description><pubDate>Tue, 30 Sep 2003 07:17:00 GMT</pubDate><dc:creator>Rabenklau</dc:creator></item><item><title>RE: Migrating Logins To Another Server</title><link>http://www.sqlservercentral.com/Forums/Topic16740-90-1.aspx</link><description>I just use the script to transfer the logins from a DEC ALPHA SQL 7 server to a new Intel SQL 2000 server with no problems.  I was unable to use the Transfer Logins DTS job on this combination.  Timely ...  Absolutely :&amp;gt;) </description><pubDate>Tue, 30 Sep 2003 06:03:00 GMT</pubDate><dc:creator>John Campbell-96530</dc:creator></item><item><title>RE: Migrating Logins To Another Server</title><link>http://www.sqlservercentral.com/Forums/Topic16740-90-1.aspx</link><description>I have experienced problems transferring logins so this article will be very useful if I have to do it in a live situation. Just one clarification. Would it be necessary to run this script if I restored backups to a completely new server. I imagine the order would be to transfer the system databases first followed by the user databases. Would the logins and users be correctly linked after the restore? </description><pubDate>Tue, 30 Sep 2003 03:38:00 GMT</pubDate><dc:creator>StefanJ</dc:creator></item><item><title>Migrating Logins To Another Server</title><link>http://www.sqlservercentral.com/Forums/Topic16740-90-1.aspx</link><description>Comments posted to this topic are about the content posted at &lt;A HREF=http://www.sqlservercentral.com/columnists/glarsen/migratingloginstoanotherserver.asp&gt;http://www.sqlservercentral.com/columnists/glarsen/migratingloginstoanotherserver.asp&lt;/A&gt;</description><pubDate>Sun, 28 Sep 2003 00:00:00 GMT</pubDate><dc:creator>Greg Larsen</dc:creator></item></channel></rss>