Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

transfer logins from sql 2000 to 2005/2008: (method2) works pretty good, however it doesn't transfer login's status (i.e. denied) nor the server level role membership, is there a script that covers these things?

What's the best way to verify a sql authenticated login's password on the source and destination server is the same? the source server is 2000, the destination server can be sql 2005 or sql 2008

share|improve this question

The code in Method 2 should do the trick, provided that you pass in the @include_db and @include_role parameters of the sp_help_revlogin_2000_to_2005 procedure to 1. When it creates the output are you seeing the dynamic SQL which calls the sp_addsrvrolemember? To have NT logins created as a DENY you'll need to remove the double dash "--" from before the sp_denylogin commands.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.