i wrote one for my last place, (at request of the server guys) i am sure there is a document from MS which i followed (scripted each of the tasks). its not too hard seem to recall it was only a question of stopping DHCP service, copying a couple of folders sideways and then backing up some registry hives (i nabbed a dll my bro wrote to do regsitry backup and restore as part of citrix user profile logon affair), restore was simply there reverse