• we've big script you execute that in primary server that creates two stored procedures in master database 1.sp_hexadecimal

    2.sp_revlogin

    if you execute first one it give one more script for us you execute that one (result script)in secondary then you can transfer dbs.in the same way if you execute sp_revlogin you can transfer logins also.