While we are still waiting on hardware drivers to make a full migration, we are beginning to deploy Windows 7. Because of my familiarity with nLite, I have started with vLite to create a similar unattended solution for Windows 7. I achieved some level of success my first afternoon; however, I am already debating its continued use since vLite was designed for Vista, is no longer being developed, and has hit limitations for some Windows 7 configurations. I will be evaluating alternatives shortly.
What our unattended configuration does:
- Wipes the primary hard drive, partitioning the entire disk as one primary partition, formated as NTFS
- Configure US/English locale settings and Pacific Standard Time timezone
- Set the local Administrator account password
- Set a temporary computer name
- Join the Active Directory domain
- Run unattended software installation scripts (Still to-do)
I copied the contents of our Windows 7 Enterprise DVD to my hard drive, ran vLite, and rebuilt the image. My first struggle was getting vLite to start, and then I also ended up with several "CD frisbees" from a couple of gotchas. So some noteworthy items:
- Download the WIM filter from http://rapidshare.com/files/137751695/WIMGAPI.rar.html. Extract the contents into the base folder of your vLite installation, typically %ProgramFiles%\vLite. Locate the directory for your architecture, right-click the INF file, and select Install.
- The installation will prompt for a computer name and user name if you do not add a local user. Because we are joining a domain, adding another user account is not needed and creates an additional risk. The work around is to add Domain Users to the local Users group. See http://technet.microsoft.com/en-us/library/dd349350(WS.10).aspx#BKMK_UnattendedSetupKnownIssues.
- To specify a Volume License Multiple Activation Key (MAK), you must use the Microsoft-Windows-Shell-Setup\ProductKey setting instead of Microsoft-Windows-Setup\UserData\ProductKey\Key. See http://technet.microsoft.com/en-us/library/ff715815(WS.10).aspx.
I found Technet's Unattended Windows Setup Reference useful in customizing our Autounattend.xml. Make sure you maintain this file outside of the vLite image because vLite will replace it if you rebuild. Just copy your version in after building the image, but before burning a CD or creating an ISO.
My Autounattend.xml is available for reference, in the public domain, here. I have stripped out all sensitive information, so you will need to replace data in brackets with your own. I want to stress using this configuration WILL WIPE YOUR DATA AND PARTITIONS, so use at your own risk and create backups before installing. Enjoy!

