Either the unattend.xml file is extremely hoaky or I've really got something screwed up. I'm new to automated imaging with Windows 7, our previous image was XP which was created by another guy. So, I am looking for some of the basics to see if there is something I've missed.
We use a linux pre-boot environment, call rdeploy to drop the IMG file onto the drive, done this part hundreds of times with our XP image. This all seems to work just fine. My process is I build the unattend.xml with the SIM, build an image in audit mode, put the unattend.xml in the sysprep folder and run sysprep. Then suck the image off the drive with rdeploy then deploy it to a test machine.
During Winpe/setup it is ignoring my disk configuration settings in the unattend.xml and ends up just formatting the entire drive as one big 250GB partition instead of what I told it to do, I can't get it to just create a 20GB partition and leave the rest unallocated. It acts on several other settings in the xml so I know it is reading it. Here's one of my test XMLs, please take a look and let me know if there is anything screwed up with it. Also, if there are any pre-requisites that I should be doing, please let me know.
<?xml version="1.0" encoding="utf-8"?>
<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.micro...fig/2002/State" xmlns:xsi="http://www.w3.org/20...hema-instance">
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.micro...fig/2002/State" xmlns:xsi="http://www.w3.org/20...hema-instance">
<!-- Create primary partition, 20 GB -->
<!-- Create extended partition and fill the rest of the hard disk -->
<!-- Create logical partition within the extended partition, 6 GB -->
Welcome to MSFN ForumRegister now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account
Windows 7 unattend.xml not partitioning HD
Posted 20 December 2010 - 06:55 PM
Posted 20 December 2010 - 08:45 PM
ggarman, I am no expert here but I use xml to create partitions and install W7 on VM for testing. I did not see any modify commands (<ModifyPartitions> and <ModifyPartition>) to format, define file systems and assign drive letters and labels. I do all of these and it works fine. Also, I suggest you run Windows System Image Manager (WSIM) against your xml if you have not done so. Enjoy, John.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users