Migrating Sitecore users from one instance to another without losing their passwords using SQL 2008 R2.
You can copy Sitecore users from one instance to another using a package however their passwords will be reset. If you want to copy users without losing passwords The Inside Corner site has a page that describes how to migrate Sitecore users from one installation to another: http://www.theinsidecorner.com/en/SiteAdmins/SiteSecurity/SitecoreAccounts/MigratingAccounts.
This description is a bit out of date if you are using the database script method with SQL Server 2008 R2 because the SSMS wizard has been changed.
Here’s how to do it with SQL 2008 R2:
- Right click on the core database and choose Generate Scripts
- If SSMS shows an Introduction page, click next
- Select specific database objects
- Expand Tables
- Select all tables with a name starting with aspnet_
- Click next
- Select the advanced button
- Change “Script DROP and CREATE” to Script DROP and CREATE
- Change “Types of data to script” to Schema and data
- Choose whatever option to save the script that works for you, clipboard, file or new query editor window.
PS: I suspect this would work with any ASP.NET site that uses the membership provider but who does regular asp.net sites anymore?