?
Solved

SQL Migration - How to Transfer Logins?

Posted on 2012-12-22
2
Medium Priority
?
509 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…
Suggested Courses

762 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