I just wanted to close this thread off properly by outlining the methods and processes that I used which worked great!
This is the PB_Desktop_Disk_Config.txt
file that I used . . .
Code:
select disk 0
clean
convert gpt
create partition efi size=100
format fs=fat32 quick label="System"
assign letter=S
create partition msr size=16
create partition primary size=30720
format fs=ntfs quick label="W10"
assign letter=W
create partition primary size=51200
format fs=ntfs quick label="Data"
assign letter=D
create partition primary size=20480
format fs=ntfs quick label="Image"
assign letter=I
list volume
exit
This is the PB_Desktop_Disk_Config.bat
file that I used . . .
Code:
@echo off
diskpart /s %~d0\PB_Desktop_Disk_Config.txt
set "Index_Number=6"
dism /Apply-Image /ImageFile:%~d0\Sources\install.wim /index:%Index_Number% /ApplyDir:W:\ /Compact /EA
W:\Windows\System32\bcdboot W:\Windows /s S:
echo. & echo ^>Processing Complete. Press ANY key to EXIT . . . & pause >nul
This is the output of the ABOVE
Scripts . . .
Code:
Microsoft DiskPart version 10.0.18362.1
Copyright (C) Microsoft Corporation.
On computer: MINWINPC
Disk 0 is now the selected disk.
DiskPart succeeded in cleaning the disk.
DiskPart successfully converted the selected disk to GPT format.
DiskPart succeeded in creating the specified partition.
100 percent completed
DiskPart successfully formatted the volume.
DiskPart successfully assigned the drive letter or mount point.
DiskPart succeeded in creating the specified partition.
DiskPart succeeded in creating the specified partition.
100 percent completed
DiskPart successfully formatted the volume.
DiskPart successfully assigned the drive letter or mount point.
DiskPart succeeded in creating the specified partition.
100 percent completed
DiskPart successfully formatted the volume.
DiskPart successfully assigned the drive letter or mount point.
DiskPart succeeded in creating the specified partition.
100 percent completed
DiskPart successfully formatted the volume.
DiskPart successfully assigned the drive letter or mount point.
Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
Volume 0 H DVD-ROM 0 B No Media
Volume 1 W W10 NTFS Partition 30 GB Healthy
Volume 2 D Data NTFS Partition 50 GB Healthy
* Volume 3 I Image NTFS Partition 20 GB Healthy
Volume 4 S SYSTEM FAT32 Partition 100 MB Healthy Hidden
Volume 5 F CCCOMA_X64F NTFS Removable 7644 MB Healthy
Volume 6 G UEFI_NTFS FAT Removable 1024 KB Healthy
Leaving DiskPart...
Deployment Image Servicing and Management tool
Version: 10.0.18362.1
Applying image
[==========================100.0%==========================]
The operation completed successfully.
Boot files successfully created.
>Processing Complete. Press ANY key to EXIT . . .
These are the results . . .
Attachment 352277
Although I used I:
for the Image Partition
, in the output results of the Script above, it showed as E:
AFTER a Restart
. I therefore changed it using diskpart
afterwards . . .
Code:
diskpart
list volume
select volume 3
assign letter=I
list volume
exit
exit
This works great on my newer Desktop. I have an older Laptop that I want to Clean Install using MBR [ as it does NOT
support UEFI
]. I want the setup EXACTLY as above, but obviously using MBR - Legacy
.