/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


Pre-installation task: Remove disk partitions?

02/23/2015 2598 views

Hello,
It would be nice with a deployment with a single pre-installation task such as remove partitions etc. and then ends.
How is that accomplished in the best way? When I try to make a new deployment I need to chose installation media etc, and there is no pre-definded task that simply removes partitions. Can anyone give me any pointers?


Rgrds,
Simon

Answer Summary:
0 Comments   [ + ] Show comments

Comments


All Answers

1
create a diskpart pretask




Answered 02/23/2015 by: SMal.tmcc
Red Belt

  • this one removes the partitions like you stated and ends.
    • This content is currently hidden from public view.
      Reason: Removed by member request For more information, visit our FAQ's.
    • Thx! I've added this into a new scripted installation with the same name. However, after the wipe, the clients proceeds with installation of Win7 (I had to choose a source media when created the above). Is there any way just to make the machine just shutdown instead? Create a fake source media perhaps?
      • see other answer for that task
1
Answered 02/24/2015 by: SMal.tmcc
Red Belt

  • when we wipe an academic computer these are the two tasks we use.
    • Brilliant. Kudos!
0

From memory (I'm not currently working with builds):

SEL DISK 0
CLEAN
CREATE PART PRI
FORMAT /FS:NTFS QUICK

Answered 02/23/2015 by: anonymous_9363
Red Belt

  • You might want to add an "ACTIVE" to set the newly created partition as active.
 
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