/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


K2000 - Scripted install for Windows 7 on 2 drives question

08/21/2015 1142 views
I have a problem that hopefully someone can help me out with.  I'm sure it is just something dumb I am doing.  SO...

We have purchased a few Dell M4800 laptops and are having some trouble imaging them using our Kace appliance.  The problem is that the M4800 comes with 2 drives, a 250GB SSD, and a 500GB regular drive.  We want to put our image on the SSD.  We have created 2 preinstall scripts that I have included below.  It installs fine, and puts the image on the SSD, but it puts the system reserve partition on the regular drive.  How do we go about fixing that?  I have beat my head against the wall trying to figure it out...

Here our the scripts:

Create partition script - Diskpart script
select volume 0
assign letter=r
select disk 0
clean
select disk 1
clean
create partition primary
active
assign letter=c
select disk 0
create partition primary
active
assign letter=d
exit

Install MBR Script - BAT script

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


Thanks for the help!
0 Comments   [ + ] Show comments

Comments


Be the first to answer this question

Don't be a Stranger!

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

Sign up! or login

View more:

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