Jump to content
t-zwck

Configure the hard disc using Windows SIM

Recommended Posts

Add component to Answer File

 

start up Windows SIM and select Microsoft-Windows-Setup from the choices in the Components section of Windows Image. Expand DiskConfiguration and then right-click on Disk and choose Add Setting to Pass 1 windowsPE

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

set the DiskID to "0" in properties

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

Note: if you try to deploy and get an error message stating Windows could not create a partition on disk 0. The error occurred while applying the unattend answer file's setting. Error Code:0x80004005 then set the WillWipeDisk to true

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

Partition the hard disc

 

Now we want to partition the hard disk to be 40GB in size so add the Microsoft-Windows-SetupDiskConfigurationDiskCreatePartitionsCreatePartition component to the windowsPE pass.

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

set the properties to order=1, size=40000 and type=primary

 

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

Mark as active and format with NTFS

 

Add the Microsoft-Windows-SetupDiskConfigurationDiskModifyPartitionsModifyPartition node to the windowsPE pass

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

edit your settings like this, make sure to set order and partition ID or this will not work...

 

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

Tell Windows where to install to

 

Now that we've got our hard disc sorted we need to tell Windows where to install to, so add the Microsoft-Windows-SetupImageInstallOSImageInstallTo node to the windowsPE configuration pass

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

set the DiskID to 0 and PartitionID to 1

 

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

Add more partitions

 

If you want to add more partitions you can do so as follows:

 

Right-click on CreatePartitions and choose Insert New CreatePartition

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

when the properties screen appears, fill in the values for Order, Size and Type (do not set Extend to True if Size is set to a value)

 

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

Now that we have created our new partition, you need to modify it, so right click on ModifyPartitions and choose Insert New Modify Parition

 

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

make your changes to the properties paying close attention to the Order and PartitionID values otherwise the deployment won't work

 

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

validate your answer file by clicking on the validate button

 

here's some sample (working) code from an XML file i've made, in this sample it makes 3 partitions, C, D, and E, C is for the Os, D for Data and E for other.

 

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

once the deployment is complete, you can see your partitions listed in Explorer

 

Hidden Content

    Give reaction to this post to see the hidden content.

Share this post


Link to post
Share on other sites

Hidden Content

    Give reaction to this post to see the hidden content.
/uploads/emoticons/default_sml.gif" src="//certcollection.org/applications/core/interface/js/spacer.png">

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...