Jump to content

Intall windows on disk from which it is booting.

Recommended Posts


how to install windows onto disk from which it is booting.





I am doing an unattended installation. I copied boot.wim on particular disk and will boot from that disk. after booting the unattended installation starts. In answer file we need to specify the disk and partition on which OS gets installed. Is there any way to default option to install on the booted partition instead of providing diskid and partitionid in answer file.


Link to comment
Share on other sites

The InstallToAvailablePartition setting specifies whether to install the Windows operating system to the first available partition that has enough space and does not already contain an installation of Windows.


If you are installing Windows to a blank disk, you must create and format partitions with the CreatePartitions and ModifyPartitions settings, and set one of the partitions as the active partition. After the partitions are created and formatted, using the InstallToAvailablePartition setting will select the first available partition with enough space to install Windows.

Edit knew you would ask how

<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">
<Disk wcm:action="add">
<CreatePartition wcm:action="add">
<MetaData wcm:action="add">
<Value>Windows Vista ULTIMATE</Value>

Edited by maxXPsoft
Link to comment
Share on other sites

thanks for the reply..

question is that, i already have a partition which is formatted and copied winpe on it and it boots through that partition. Now i want to install os on the partition from which it has booted, without specifying the diskID or partitionID in autounattend.xml.


Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.

  • Create New...