Recently I had a SBS2008 box that wouldn’t take the Primary DC role after a backup restore.
This article helped me out:
http://www.smattie.com/2012/02/19/transferring-fsmo-roles-in-windows-2008-using-ntdsutil/
Following this, I also had to fix the c:\windows\sysvol folder from trying to replicate.