/build/static/layout/Breadcrumb_cap_w.png

How do I Capture C drive and hidden 100MB Windows 7 system partition without diskpart swap in Kace 3.5?

We used to have the older version of Kace pre-3.4, but now we are updated to 3.5
The Pre-tasks and post tasks are set to create the "Windows 7 - Create Two Partitions (3.1)", the "Windows 7 - Format Disks (3.1)" and the "Windows 7 - Two Partition BCD Fix (3.1)" as in the link

http://www.kace.com/support/resources/kb/article/Deploy-a-Windows-7-Image-Containing-the-100-MB-System-Partition

and we always do the diskpart step before capture and that works fine.

But the above link also says "All issues have been resolved in 3.4 and partitions do not need to be switched, but partitions still need to be created as they were captured"
So, I took that to mean the diskpart doesn't need to be done to swicth the partitions, but that doesn't work.

How do I capture the 2 partitions and what installation tasks are necessary to deploy the windows 100MB partition and the operating system partition properly in 3.5?
The hidden 100MB is captured as C by default and the operating system as D even though in the windows image there is just the C drive with the operating system.

Thanks


0 Comments   [ + ] Show comments

Answers (1)

Answer Summary:
Posted by: jegolf 10 years ago
Red Belt
0

That's right. You don't have to run the diskpart task to swap partitions. But also remember you will have to change the other scripts as they are posted on that kb article as if you first changed the partitions. Basically you have to swap everything back to the defaults.

For ex - here's what I used:

Create Two Partitions:

select volume 0
remove all noerr
select disk 0
clean
create partition primary size=100
assign letter="C"
active
create partition primary
assign letter="D"
exit

Format Disks:

format /q /y /fs:ntfs /v:System C:
bootsect.exe /NT60 C:
format /q /y /fs:ntfs /v:Windows D:
bootsect.exe /NT60 D:

Two Partition BCD Fix:

bcdedit /store C:\boot\bcd /set {bootmgr} device partition=C:
bcdedit /store C:\boot\bcd /set {default} device partition=D:
bcdedit /store C:\boot\bcd /set {default} OSdevice partition=D:

 


Comments:
  • Thanks jegolf,

    I had tried changing those 3 files before, but was getting bootbmgr issues.
    I tried it again today though and it worked perfectly so I must have messed up something previously
    .
    Thanks for the help. It is much appreciated and now this will simplify captures. - Geoff25 10 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ