Solved

Creating AutoUnattended.xml file for Windows 2012 machines

Posted on 2015-01-30
1
98 Views
Last Modified: 2015-02-02
Come you help with AutoUnattend.xml Disk Configuration settings for the following recommended configuration: a system partition, a Windows partition (drive C), and a Data partition (drive D).

Thanks

I tried this configuration file with my WDS Server and it's not working:

<DiskConfiguration>

  <Disk wcm:action="add">
    <DiskID>0</DiskID>
    <WillWipeDisk>true</WillWipeDisk>
    <CreatePartitions>

      <!-- System partition -->
      <CreatePartition wcm:action="add">
        <Order>2</Order>
        <Type>Primary</Type>
        <Size>350</Size>
      </CreatePartition>

      <!-- Windows partition -->
      <CreatePartition wcm:action="add">
        <Order>3</Order>
        <Type>Primary</Type>
        <Size>75000</Size>

      </CreatePartition>
    </CreatePartitions>

      <!-- Recovery image partition -->
      <CreatePartition wcm:action="add">
        <Order>1</Order>
        <Type>Primary</Type>
        <Size>15000</Size>
      </CreatePartition>

    <ModifyPartitions>

      <!-- System partition -->
      <ModifyPartition wcm:action="add">
        <Order>1</Order>
        <PartitionID>1</PartitionID>
        <Label>System</Label>
        <Letter>S</Letter>
        <Format>NTFS</Format>
        <Active>true</Active>
      </ModifyPartition>

      <!-- Windows partition -->
      <ModifyPartition wcm:action="add">
        <Order>2</Order>
        <PartitionID>2</PartitionID>
        <Label>Windows</Label>
        <Letter>C</Letter>
        <Format>NTFS</Format>
      </ModifyPartition>

      <!-- Recovery image partition -->
      <ModifyPartition wcm:action="add">
        <Order>3</Order>
        <PartitionID>3</PartitionID>
        <Label>Recovery</Label>
        <Format>NTFS</Format>
        <TypeID>0x27</TypeID>
      </ModifyPartition>

    </ModifyPartitions>
  </Disk>
  <WillShowUI>OnError</WillShowUI>
</DiskConfiguration>

<ImageInstall>
  <OSImage>
    <InstallTo>
      <DiskID>0</DiskID>
      <PartitionID>2</PartitionID>
    </InstallTo>
  </OSImage>
</ImageInstall>
0
Comment
Question by:Anagkazo
1 Comment
 
LVL 10

Accepted Solution

by:
Gajendra Rathod earned 500 total points
ID: 40581257
You can create autoUnattended.xml for both UEFI and BIOS based setups.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

If, like me, you have a lot of Dell servers in the estate you manage this article should save you a little time. When attempting to login to iDrac on any server I would be presented with two errors. The first reads "Do you want to run this applicati…
What to do when Windows Update is not working correctly? What tools can I use to detect the cause of the malfunction problem? What does this numeric error code mean? These and other questions that you have been asking in the past are answered here (…
In this Micro Tutorial viewers will learn how they can get their files copied out from their unbootable system without need to use recovery services. As an example non-bootable Windows 2012R2 installation is used which has boot problems.
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now