Quantcast
Channel: Windows 8.1 Installation, Setup, and Deployment forum
Viewing all articles
Browse latest Browse all 5362

diskpart script - clean doesn't work

$
0
0

We have a diskpart script - see below - to setup the partitions correctly on our Windows 8.1 tablets. The second line should clean the disk so that there's nothing left of the old install to confuse things. However this bit doesn't seem to work. The partitioning happens, but the cleaning appears to leave stuff around. If I clean the disk manually from diskpart before running the script everything runs OK.

Does anyone know why this happens?

select disk 0
clean
convert gpt
create partition primary size=300
format quick fs=ntfs label="Windows RE tools"
assign letter="T"
set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"
gpt attributes=0x8000000000000001
create partition efi size=100
format quick fs=fat32 label="System"
assign letter="S"
create partition msr size=128
create partition primary
format quick fs=ntfs label="Windows"
assign letter="W"


Viewing all articles
Browse latest Browse all 5362

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>