[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

WAIK Unattend DiskConfiguration Issues

Posted on 2011-10-04
5
Medium Priority
?
2,012 Views
Last Modified: 2012-08-14
I am trying to create an unattend file on an image uploaded to a WDS server.  For some reason even though I specify to create 2 partitions on Disk 0 in the unattend answer file, it is creating a single partition on Disk 0 and 2 partitions on Disk 1. Disk 0 is a fixed size of 60GB.  I am allocating 100MB to the System Reserved partition and 59800MB to the Windows OS partition.  

 If you notice that the partitions on Disk 1 are offline this is because I have a SCSI emulated drive on a Hyper-V server.  This should not be a problem since I am trying to install the operating system on the IDE emulated Disk 0.

            <DiskConfiguration>
                <WillShowUI>OnError</WillShowUI>
                <Disk wcm:action="add">
                    <DiskID>0</DiskID>
                    <WillWipeDisk>true</WillWipeDisk>
                    <CreatePartitions>
                        <CreatePartition wcm:action="add">
                            <Order>1</Order>
                            <Type>Primary</Type>
                            <Size>100</Size>
                        </CreatePartition>
                        <CreatePartition wcm:action="add">
                            <Order>2</Order>
                            <Type>Primary</Type>
                            <Size>59900</Size>
                        </CreatePartition>
                    </CreatePartitions>
                    <ModifyPartitions>
                        <ModifyPartition wcm:action="add">
                            <Order>1</Order>
                            <PartitionID>1</PartitionID>
                            <Active>true</Active>
                            <Format>NTFS</Format>
                            <Label>System Reserved</Label>
                        </ModifyPartition>
                        <ModifyPartition wcm:action="add">
                            <Order>2</Order>
                            <PartitionID>2</PartitionID>
                            <Format>NTFS</Format>
                            <Label>OS</Label>
                            <Letter>C</Letter>
                        </ModifyPartition>
                    </ModifyPartitions>
                </Disk>
                <Disk wcm:action="add">
                    <DiskID>1</DiskID>
                    <WillWipeDisk>true</WillWipeDisk>
                    <CreatePartitions>
                        <CreatePartition wcm:action="add">
                            <Extend>true</Extend>
                            <Order>1</Order>
                            <Type>Primary</Type>
                        </CreatePartition>
                    </CreatePartitions>
                    <ModifyPartitions>
                        <ModifyPartition wcm:action="add">
                            <Order>1</Order>
                            <PartitionID>1</PartitionID>
                            <Format>NTFS</Format>
                            <Label>DATA</Label>
                            <Letter>D</Letter>
                        </ModifyPartition>
                    </ModifyPartitions>
                </Disk>
            </DiskConfiguration>
            <ImageInstall>
                <OSImage>
                    <InstallTo>
                        <DiskID>0</DiskID>
                        <PartitionID>2</PartitionID>
                    </InstallTo>
                </OSImage>
            </ImageInstall>

Open in new window


Windows PE screen after unattend
0
Comment
Question by:syn_tbarr
  • 2
3 Comments
 
LVL 84

Expert Comment

by:David Johnson, CD, MVP
ID: 36922932
When deploying an operating system to a new computer with multiple disks, the operating system may not deploy to the expected volume. As a workaround, configure the Format and Partition Disk step to set the DestinationLogicalDrive variable to the drive letter of the volume that should be targeted.

also check the info located at http://preview.tinyurl.com/yeolkws

you may want to only have 1 drive and load the second drive after the install is complete
0
 
LVL 1

Accepted Solution

by:
syn_tbarr earned 0 total points
ID: 36981348
The issue was answered by Johan on another forum.  The WinPE pass on the WDS server is using a separate answer file that is across all images.  The image specific answer file will not be used during the WinPE pass therefore you cannot do image specific DiskConfigurations with WDS alone.
0
 
LVL 1

Author Closing Comment

by:syn_tbarr
ID: 37010561
Answered on Mark Minasi's forum.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Internet has made sending and receiving information online a breeze. But there is also the threat of unauthorized viewing, data tampering, and phoney messages. Surprisingly, a lot of business owners do not fully understand how to use security t…
Phishing emails are a popular malware delivery vehicle for attack.  While there are many ways for an attacker to increase the chances of success for their phishing emails, one of the most effective methods involves spoofing the message to appear to …
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

873 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