I have been wrestling with that issue for a while now. I am setting up Windows 7 images in a corporate environment and need a script to make the imaging process do what Sysprep used to do. I have searched and searched, and I have seen script after script that would do what I need, except that we don't have just one domain. What I am looking for is:
1. Prompt the tech to rename the machine, and then renames it.
2. Prompt the tech to enter the domain to be joined
3. Prompt the tech for a username and password that has rights to rename machines and join domain, and then joins the machine to the domain.
I am VBS challenged, although I see the wisdom in learning it. I just don't have the time to do it at the moment- I have this project breathing down my neck.
Environment is AD network on 2K3 servers and Win 7 workstations. I'm going to have it run from the Cmd file that runs at the end of the sysprep mini-setup.
Thank for your time!