Script K2000 Create Double Disk

Good Day IT Ninja,

i want to deploy PC Dell T5600 with 2 Disk, disk 1 for Drive C System and disk 2 for Drive 2 Data.
for scripting diskpart we create this :

select disk 0
create partition primary
select partition 1
assign letter=c
select disk 1
create partition primary
select partition 2
assign letter=d

problem is, we cant found drive D on windows 7 after deploy. help me for this problem.
fyi, image already upload with 2 disk 1 image. or we must create 2 image drive C and drive D
for deployment can we set 2 image for 1 at once.


0 Comments   [ + ] Show comments

Answers (1)

Posted by: nheyne 7 years ago
Red Belt
Your diskpart script will only assign letters inside the KBE, your image would have to have the appropriate assignment already.  So if you have data on the second drive, you would need to capture an image of that drive too.  If it's a blank partition, you can craft a diskpart script to format the drive after the image boots up instead of capturing it as an image.

I am wondering, though, if there is an error in your script.  On disk 1, you're cleaning the disk and then creating a primary partition, but then you're trying to select partition 2 instead of partition 1.  There would only be one partition based on your script, which would be partition 1 of disk 1, which is not the same as partition 1 of disk 0.

Hope that helps.

  • Thanks for your correction, yes i wrong for select partition 2. but after we changed script its same problem. - bocah90 7 years ago
    • Then it sounds like you need to capture the D: drive as a separate image, if I am understanding your scenario correctly. - nheyne 7 years ago
      • Thanks nheyne, it's work - bocah90 7 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


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