Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- == Extra\CleanDisk\CleanDisk.bat ==
- @echo off
- echo Running DiskPart > X:\CleanDisk\CleanDisk.ran
- diskpart /s X:\CleanDisk\CleanDisk%1.txt
- echo Waiting 15 seconds
- X:\CleanDisk\timeout /t 15
- == Extra\CleanDisk\CleanDiskGPT.txt ==
- SELECT DISK 0
- CLEAN
- CONVERT GPT NOERR
- == Extra\CleanDisk\CleanDiskMBR.txt ==
- SELECT DISK 0
- CLEAN
- CONVERT GPT NOERR
- == Notes ==
- * Also copied timeout.exe to Extra\CleanDisk\timeout.exe
- * Added Task Sequence in PreInstall -> New Computer Only after Validate, but before "Format and Partition Disk (MBR)
- * Named Task Sequence "Clean Disk (MBR)"
- * Command Line: X:\CleanDisk\cleandisk.bat MBR
- * Options: Task sequence variable IsUEFI not equals True
- * Added a second Task Sequence after the previous:
- * Named Task Sequence "Clean Disk (GPT)"
- * Command Line: X:\CleanDisk\cleandisk.bat GPT
- * Options: Task sequence variable IsUEFI equals True
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement