Tech or Treat! Write an article about your scariest tech disaster to win gadgets!Learn more

x
?
Solved

SQL Migration - How to Transfer Logins?

Posted on 2012-12-22
2
Medium Priority
?
512 Views
Last Modified: 2012-12-23
Original: Server 2008 x86 with one instance (default) on SQL Server 2008 and the rest on SQL Server 2008R2.

New: Server 2008R2 x64 with all instances on SQL Server 2008R2.

Process: Closed all active connections to all databases on all instances and took SQL backups of every database. Then proceeded to take a block level backup via our CDP server of all partitions. Proceeded then to migrate the server from physical to virtual to our ESXi 5.1 host for comparison purposes. Next we deleted the arrays off the physical server, created new, installed Windows Server 2008R2, updated, installed SQL Server 2008R2 and created the new instances from scratch. We then detached all databases from the old SQL server that is running on the VM (and closed to outside connections) and transferred all .mdf and .ldf data to the new server. We then attached the databases and logfile to the instances on the new server.

Problem: I see that each database carried over the security logins, but the logins at the instance level are not present. Logging into the database (i.e. via GP Dynamics) states that the login does not exist. I don't want to zero out the passwords, nor delete and recreate the user logins. Is ther anyway to carry all login information over, preservering/transpiring the unique identifiers so that come Monday morning all users can login as usual?
0
Comment
Question by:Tercestisi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 43

Accepted Solution

by:
Eugene Z earned 2000 total points
ID: 38716497
please try the detailed instruction:


How to transfer logins and passwords between instances of SQL Server

http://support.microsoft.com/kb/918992
0
 

Author Comment

by:Tercestisi
ID: 38716504
Thanks.

That's exactly what I just did and it worked fine (I was thrown off by the description of "Method 3: Create a log in script that has a blank password").
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
This month, Experts Exchange sat down with resident SQL expert, Jim Horn, for an in-depth look into the makings of a successful career in SQL.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question