I use a diskpart script for my backup application in WinPE. It cleans the data drive (disk 1) and adds a partition to it so the image can be applied later.
The script I wrote:
select disk 1
rem wiping disk ...
clean
rem == Data partition =====================
create partition primary
format quick fs=ntfs label="Data"
assign letter="D"
list volume
exit
However when I start the regular Win10 OS on the System there is no partition on the disk at all and it is also not shown in the file-explorer.
What am I missing here?
If I go to my WinPE I can see the partition and browse the folders inside.