torpex77 Posted April 16, 2010 Share Posted April 16, 2010 OK. I'm about ready to punt on this whole unattended windows 7 install thing.All I'm trying to do is have Windows 7 go through a basic install with no prompts, then run a script at the end of it. I'm tasked with windows sysadmin tasks for a small company - a dozen laptops. It simply can't be as hard as I'm making it. I have to be missing something. I've read pages and pages of posts here. Various bits of Microsoft documentation. Today, among other things, I went though the "microsoft step-by-step" guide. Created a "reference" image, sysprep, etc, and ended up with a custom boot install on USB. I put it in and boot and of course it still prompts for everything. I see various unattended.xml files, which seem to be able to provide answers to all of those prompts, but don't have any idea how to get windows to use them. I tried putting one on a USB drive then booting from my original install media, but that seemed to do absolutely nothing.I have to be missing something fundamental. Any ideas?Thanks! Link to comment Share on other sites More sharing options...
uid0 Posted April 16, 2010 Share Posted April 16, 2010 various unattended.xml Try renaming it autounattend.xml ? Link to comment Share on other sites More sharing options...
torpex77 Posted April 17, 2010 Author Share Posted April 17, 2010 (edited) Progress!!!!a. create bootable USB drive (using the instructions in the Create a Bootable UFD section of the Microsoft "Building a Standard Image of Windows 7" documentb. copy all the files from my Windows 7 install media to the USB drivec. create an Autounattended.xml file (I hand-edited an example, but I guess WAIK could do that tood. copy the Autounattended.xml file to the root of the bootable USB drivee. boot from USB Presto, unattended Win7. The only thing I was prompted for was to format the HD, but I might leave that in just as a safety measure.I think at this point it's just a matter of tweaking a few things, mainly to run my application install script from a network share.I feel much better... Edited April 17, 2010 by torpex77 Link to comment Share on other sites More sharing options...
kai4785 Posted April 23, 2010 Share Posted April 23, 2010 The hard lesson I only just learned was that your (auto)unattend.xml file is paired with the install.wim file that you are using to install/image from.Personally, I run a Linux shop, and do automated installs of Linux quite frequently, so I already had a PXE environment built. Adding Windows 2008 R2 to the mix is possible, and took quite a bit of reading official documentation to get working. I can author the XML files with WAIK, and store the XML file on a network share, then run 'setup.exe /unattend:\<path>\Whatever.xml' from WinPE. I can open the install.wim file from the DVD, or from the Network Share folder where I unpackaged the DVD. Both generate correct XMLs that should work. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now