The situation:
You have created an unattended installation of windows (using nLite + DriverPacks BASE or other programs), but usually this isn’t enough, you need more things to be done. So we write batch files to do the following silently & automatically:
- Changing the default input language by creating & importing a .reg file
- Installing fonts
- Installing programs like kmplayer, Office (2003), and Adobe Reader
- Installing .msi (Microsoft installer) packages
- Installing Microsoft hotfixes, patches & fixes (which you didn’t embed already for whatever reason) with .exe extension
- Installing a troublesome VB6 (visual basic 6) program
- Placing a shortcut on all users’ desktop
- Getting the user input to use later (the only step which requires user interaction, obviously!)
- Changing the computer name to the name we got by user input in the previous step
- Inserting commands into batch files from another batch file
- Changing windows user’s account password based on the user input in step 8
- Disabling the automatic login behavior of windows
- Inserting executable files into startup of windows
- Restarting
- Continue running batch files after a system restart
- Configuring files to run only the first time each user logs in
- Joining the computer to a domain
During these steps we do minor stuff as well, like: creating directories, copying and deleting files, and making delays.
These batch files are originally designed for Windows XP, but most of them are usable for newer versions of windows as well (some may need minor adjustments). I don’t describe how to make the unattended installation of windows itself, or how to work with DriverPacks BASE, you can find out about them by doing a search on the web. I mention the whole design of the batch files, the clues, important notes and the examples all in one place here. So, let’s get started.
Continue reading Batch files for unattended windows installation to take care of additional work