Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Win7 Unattendend Stops at Disk Configuration Step

Featured Replies

Hi,

My Win7 unattended.xml file works well for the most part but stops and prompts for partition info. I just want the drive to be wiped, formatted and for the install to just continue on it's way. Equally important, I don't want the 200mb "system" partition to be created in additon to the main Windows partion. I just want a single partition and the standard "C" drive

I have a working Vista unattended.xml that wipes the main drive and compared the code to this Win7 one and the it is basically identical, so I can't tell what the problem is. Can someone please look at this code and give me some advice.

What do I need to modify?

(Please let me know if you need to see more of the file then what I have pasted below.)

Thanks!!

brian

<?xml version="1.0" encoding="utf-8"?>

<unattend xmlns="urn:schemas-microsoft-com:unattend">

<settings pass="windowsPE">

<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<SetupUILanguage>

<UILanguage>en-us</UILanguage>

</SetupUILanguage>

<InputLocale>en-us</InputLocale>

<SystemLocale>en-us</SystemLocale>

<UILanguage>en-us</UILanguage>

<UserLocale>en-us</UserLocale>

</component>

<component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<DiskConfiguration>

<Disk wcm:action="add">

<CreatePartitions>

<CreatePartition wcm:action="add">

<Extend>true</Extend>

<Order>1</Order>

<Type>Primary</Type>

</CreatePartition>

</CreatePartitions>

<ModifyPartitions>

<ModifyPartition wcm:action="add">

<Active>true</Active>

<Format>NTFS</Format>

<Letter>C</Letter>

<Order>1</Order>

<PartitionID>1</PartitionID>

</ModifyPartition>

</ModifyPartitions>

<DiskID>0</DiskID>

<WillWipeDisk>true</WillWipeDisk>

</Disk>

<WillShowUI>Never</WillShowUI>

</DiskConfiguration>

<DynamicUpdate>

<WillShowUI>Never</WillShowUI>

</DynamicUpdate>

<ImageInstall>

<OSImage>

<InstallTo>

<PartitionID>1</PartitionID>

<DiskID>0</DiskID>

</InstallTo>

<WillShowUI>OnError</WillShowUI>

</OSImage>

</ImageInstall>

Just checked yours against mine & can't really see a problem @ all? Mine does exactly as you say.

Maybe run your xml through the wsim for an error check. Also how are you testing your install, maybe redo the image again before testing or burning.

Hope you sort it.

  • Author

Thanks for the response.

The xml validates without errors when I run it through the waik. Right now I burn to DVDs and test on physical hardware. HP workstation models (xw6600, 4600). Have also tested the .iso with VMware workstation on an xw6400. Am only using the DVD method because I couldn't get a USB drive to boot.

I always use fresh source files before I burn the DVD with a modified xml file.

So oyur code is the same basically? And yours goes straight through and just wipes the drive? Frustrating!

thanks!

  • Author

Hi,

I realized a major no-no. I'm trying to buil and answer file for Win7x64 and was using the x64 architecture (duh!). Well, I've rebuilt my answer file and now I get the error

"windows cannot parse the unattended answer files <DiskConfiguration> setting".

I'm glad I'm at least on the right track now :-)

I'll paste the code of my disk configuration section below. Would it help it I upload my entire autounattend.xml file like you did? Can I just use your unattended file in my WAIK and tweak the settings? Sorry for the rookie questions? thanks!

brian

<unattend xmlns="urn:schemas-microsoft-com:unattend">

<settings pass="windowsPE">

<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<SetupUILanguage>

<UILanguage>en-us</UILanguage>

</SetupUILanguage>

<InputLocale>en-us</InputLocale>

<SystemLocale>en-us</SystemLocale>

<UILanguage>en-us</UILanguage>

<UserLocale>en-us</UserLocale>

</component>

<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<DiskConfiguration>

<WillShowUI>OnError</WillShowUI>

<Disk wcm:action="add">

<CreatePartitions>

<CreatePartition wcm:action="add">

<Extend>true</Extend>

<Order>1</Order>

<Type>Primary</Type>

</CreatePartition>

</CreatePartitions>

<ModifyPartitions>

<ModifyPartition wcm:action="add">

<Active>true</Active>

<Format>NTFS</Format>

<Letter>C</Letter>

<PartitionID>1</PartitionID>

<TypeID></TypeID>

<Order>1</Order>

</ModifyPartition>

</ModifyPartitions>

<DiskID>0</DiskID>

<WillWipeDisk>true</WillWipeDisk>

</Disk>

</DiskConfiguration>

<EnableFirewall>false</EnableFirewall>

<ImageInstall>

<OSImage>

<InstallTo>

<DiskID>0</DiskID>

<PartitionID>1</PartitionID>

</InstallTo>

<WillShowUI>OnError</WillShowUI>

</OSImage>

</ImageInstall>

<UserData>

No reason you can't use the xml I uploaded & propagate the fields that are missing or empty with the WSIM. Yes mine is an x86 version.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.