Jump to content


1

Configure the hard disc using Windows SIM


3 replies to this topic

#1 t-zwck

t-zwck

    .::GhostInTheShell::.

  • Super Moderators
  • 759 posts
  • 9803 thanks

Posted 09 July 2009 - 07:51 AM

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

Attached File  1post-1-1225970022.jpg   83.81K   95 downloads

set the DiskID to "0" in properties

Attached File  2post-1-1225970229.jpg   25.08K   65 downloads

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

Attached File  3post-1-1225978864.jpg   27.65K   61 downloads


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.

Attached File  4post-1-1225970718.jpg   58.94K   64 downloads

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


Attached File  5post-1-1225970828.jpg   36.1K   57 downloads

Mark as active and format with NTFS

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

Attached File  6post-1-1225971132.jpg   33.08K   55 downloads

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


Attached File  7post-1-1225971302.jpg   41.21K   48 downloads

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

Attached File  8post-1-1225971640.jpg   34.91K   42 downloads

set the DiskID to 0 and PartitionID to 1


Attached File  9post-1-1225971884.jpg   32.81K   41 downloads


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

Attached File  10post-1-1226411510.jpg   53.4K   40 downloads

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)


Attached File  11post-1-1226411638.jpg   38.94K   42 downloads

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


Attached File  12post-1-1226412149.jpg   46.79K   40 downloads

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


Attached File  13post-1-1226412299.jpg   62.52K   41 downloads

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.


  
			
				
					
						
							true
							NTFS
							
							1
							1
							C
						
						
							NTFS
							
							D
							2
							2
						
						
							NTFS
							
							E
							3
							3
						
					
					0
					
						
							1
							40000
							Primary
						
						
							2
							30000
							Primary
						
						
							3
							100
							Primary
						
					
					true
				
			
			
				
					
						0
						1
					
					
						
							Windows Longhorn SERVERENTERPRISE
							/IMAGE/NAME
						
					
				
			
			
				true
				windows-noob
				windows-noob
			
			true
		

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

Attached File  14post-1-1226479300.jpg   50.22K   44 downloads

#2 EKLAVYA

EKLAVYA

    COMPTIA & MS Moderator

  • Honorary members
  • PipPipPip
  • 295 posts
  • 48643 thanks
  • LocationCertcollection.org

Posted 22 October 2010 - 07:43 AM

:D  :D  :D    THANX BRO... :D  :D  :D
MCSA 2003 / 2012
MCITP 2008
MCTS (Exchange 2k7)

VMWare 5.0
EMC Storages


Do not post useless "thank you" post.

If you want to see the content of the hidden links
Please use the "Thanks" button as shown in the announcements
http://certcollection.org/forum/topic/99091-new-feature-added/

All following useless "thank you, thnx, thx, thanks" will be removed.


Follow The Forum Rules and Support Forum

Thanked by 1 Member:
drmohd183

#3 Lacto17

Lacto17

    Advanced Member

  • Members
  • PipPipPip
  • 107 posts
  • 62 thanks

Posted 22 October 2010 - 09:51 AM

Nice Information.
Thanks & Regards
Karthikeyan.


SCJP | CEH | MCTS | CIW Security Professional |CIW Security Analyst | Security+ | Network+ | ISO/IEC 27001 Security Foundation Certified |
Information Security Engineering Certified Professional | IBM APPSCAN Certified | Digital Security |

#4 eggbroken

eggbroken

    Junior Member

  • Members
  • PipPip
  • 3 posts
  • 257 thanks

Posted 23 February 2017 - 09:20 AM

useful information




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Organization

Community

Downloads

Test Providers

Site Info


Go to top