Deploy a Windows 7 Image Containing the 100 MB System Partition
Deploy a Windows 7 Image Containing the 100 MB System Partition
Here is how to capture and deploy a Windows 7 image with the 100 MB system partition in tact. There are a few things you should know about Windows 7 first.
When you install Windows 7 from from DVD on a clean drive with no format or partition information, Windows automatically install the system partition and marks the volume as "System Reserved". This partition is not viewable to the user in Explorer but is visible in Disk Manager.
If, on the other hand, the hard drive already has a single partition then this partition is not created.
Below instruction assume that the Windows 7 image is configured, includes the system partition, is prepared using sysprep if desired, and is ready for capture.
Capture the Image:
assign letter="W"
select volume D
assign letter="C"
select volume W
assign letter="D"
exit
[/blockquote][/blockquote]
Preparing Pre and Post Installation tasks:
remove all noerr
select disk 0
clean
create partition primary size=100
assign letter="D"
active
create partition primary
assign letter="C"
exit
[/blockquote][/blockquote]
[blockquote][blockquote]format /q /y /fs:ntfs /v:Windows C:
bootsect.exe /NT60 C:
format /q /y /fs:ntfs /v:System D:
bootsect.exe /NT60 D:
[/blockquote][/blockquote]
[blockquote][blockquote]bcdedit /store D:\boot\bcd /set {bootmgr} device partition=D:
bcdedit /store D:\boot\bcd /set {default} device partition=C:
bcdedit /store D:\boot\bcd /set {default} OSdevice partition=C:
[/blockquote][/blockquote]
Deploy Image:
You can download the task jobs from the attached file.
Then import them into your own KBOX using the Exports tab under KBOX Settings and Maintenance.
Last update: 2010-03-24 12:34
Author: AJ Paisley
Here is how to capture and deploy a Windows 7 image with the 100 MB system partition in tact. There are a few things you should know about Windows 7 first.
When you install Windows 7 from from DVD on a clean drive with no format or partition information, Windows automatically install the system partition and marks the volume as "System Reserved". This partition is not viewable to the user in Explorer but is visible in Disk Manager.
If, on the other hand, the hard drive already has a single partition then this partition is not created.
Below instruction assume that the Windows 7 image is configured, includes the system partition, is prepared using sysprep if desired, and is ready for capture.
Capture the Image:
- Boot the computer to the KACE boot environment. Once booted to the Main Menu, enter the Recovery page, and the Command Prompt.
- At the command prompt enter "diskpart". A diskart prompt should appear. Enter the following commands to change the drive letter of C and D.
assign letter="W"
select volume D
assign letter="C"
select volume W
assign letter="D"
exit
[/blockquote][/blockquote]
- Once complete, go Back to the main menu, and select Imaging, then Capture this image to the KBOX. Name the image, select both drives from the windows, and start the capture.
Preparing Pre and Post Installation tasks:
- On your KBOX webpage, enter the Library and then the Preinstallation Tasks tab.
- From the Choose Action drop down select "New Diskpart Item". Name the item "Windows 7 - Create Two Partitions (3.1)".
- Enter the following lines to the window and save:
remove all noerr
select disk 0
clean
create partition primary size=100
assign letter="D"
active
create partition primary
assign letter="C"
exit
[/blockquote][/blockquote]
- Enter the Preinstallation Tasks tab again and from the Choose action drop down select "New BAT Script Item". Name this task "Windows 7 - Format Disks (3.1)". In the command window, enter the following and save:
[blockquote][blockquote]format /q /y /fs:ntfs /v:Windows C:
bootsect.exe /NT60 C:
format /q /y /fs:ntfs /v:System D:
bootsect.exe /NT60 D:
[/blockquote][/blockquote]
- Return the the Library and the Postinstallation Tasks Tab.
- From the Choose action drop down, select New BAT script Item. Name the tasks "Windows 7 - Two Partition BCD Fix (3.1)". Select "KPE" as the operating system. This is a key step!
- Enter the following into the command window:
[blockquote][blockquote]bcdedit /store D:\boot\bcd /set {bootmgr} device partition=D:
bcdedit /store D:\boot\bcd /set {default} device partition=C:
bcdedit /store D:\boot\bcd /set {default} OSdevice partition=C:
[/blockquote][/blockquote]
Deploy Image:
- Enter the image you captured and go to the bottom of the page under the heading Preinstallation Tasks.
- Add "Windows 7 - Create Two Partitions (3.1)" and "Windows 7 - Format Disks (3.1)" in that order by dragging the task from the right to the left.
- On the first Postinstall task section, enable "Windows 7 - Two Partition BCD Fix (3.1)" by dragging it from the right to the left.
- Save and Deploy the image.
You can download the task jobs from the attached file.
Then import them into your own KBOX using the Exports tab under KBOX Settings and Maintenance.
Last update: 2010-03-24 12:34
Author: AJ Paisley
0 Comments
[ + ] Show comments
Answers (3)
Please log in to answer
Posted by:
RealityHook
12 years ago
Posted by:
Brian_GSO
14 years ago
Posted by:
RinkyTTU
12 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.