Hi Colleagues,
I'm currently working on a consistent build process for a customer and trying to script out some of the steps after a Windows XP build is complete to eliminate any discrepency about how a build is completed.
What I dream of:
When the machine reboots after it is imaged, through the mini setup the only thing that is asked for is the computer name. So that is covered. However, once it gets in to windows, it would be awesome if a script ran that did the following things:
1. Prompt the person with a nice dialog box asking them if they would like to add the machine to a domain, and if so, which one. A list, radio box, or even just an input box to type in the name would be fine. It then adds the machine to the specified domain. If not adding the machine, go to #3.
2. Prompt the person again with a dialog box asking them if they would like to add any users to the local administrators group. If so, then presenting them again with an input box of some sort to type in the users domain\username. It then adds that user to the local admins group.
3. They have several models of laptops that they use one image for. One inconsistency is with the different manufacturers of wireless cards in each model. They also use a wireless management software that when the build is complete, if the machine has a different NIC card than the master machine that the image was build on, it does not work properly and complains about the latest wireless drivers not being installed when in fact Device Manager in Windows says they are fine. In order to fix this, the wireless drivers for the appropriate card need to be reinstalled one more time.
It would be great if I could get a script to prompt the user with another dialog box asking them which machine type it is and then it also installs the right wireless drivers for that machine type. Then exit.
4. I may add a few other things in with this so I need to be able to edit it to add in other commands before it exits.
5. And Finally, I need it to not run again at next startup. This I think can be achieved by just putting a link in the startup folder and when the script exits it just deletes the link out of the startup folder.
I have to believe this can be done. I just am not skilled enough at the moment or have the time to research the answer before this project is due.
Much thanks in advance!!!!
Start Free Trial