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:
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

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
Please log in to comment
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!
Please log in to comment
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: VBScab
Red Belt

  • You might want to add an "ACTIVE" to set the newly created partition as active.
Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja

Share