Windows 10 Full Version OS BUILD To DISM Image File For UEFI Motherboard Setting Based Systems
SECTION 1 – Over View
Run through the Microsoft OEM OS Windows 10 Full version 64 bit setup screens and then follow the “Windows 10 OS BUILD - (Final Draft) - Win10 64 bit Microsoft OEM OS to District Standard OEM OS Image Build Steps as of 6-15-2016” to build the Windows 10 OS image before capturing the OS with DISM.
Make sure the OS is removed from the Domain before starting the SYSPREP Image Capture Process. Restart system if you do have to remove it from the Domain.
Make sure a second SATA hard drive is internally attached in the desktop system so you can easily burn the image files to a local drive. For laptop systems we need to try and use an external USB hard drive for this purpose.
Reboot system and run SYSPREP on the OS with the three following options specified. OOBE (out of box experience), generalize setup and system shutdown after SYSPREP completes.
Shutdown the system after running SYSPREP on the OS. Insert the WinPE USB boot drive into USB 2.0 port and boot to this USB drive.
Use DISKPART and assign partition drive letters to the partitions on the main internal hard drive that you will be capturing image files from during this process. (e.g. System=”S”, OS=”O” and Recovery=”R”).
Exit DISKPART.
Capture partition images using DISM command and save the image files to the local internal or USB hard drives using the “/Capture-Image” command.
Copy image files to a secondary USB jump drive and then copy these files to our DISMIMAGES share at “\\palsvr\DISMImages”.
Boot target computer to WinPE USB jump drive and create partitions via DISKPART for the partition image files that were captured. Always follow the following order on partition creation and when applying image files to these partitions; System always comes First, OS is always after the System partition if there is one and then if you have a Recovery partition it will be last. Format the System partition as FAT32 and set it as active which means it is the bootable partition. Format OS and Recovery partitions as fs=ntfs without the Active status on them.
Apply partition images to the target computer partitions.
Reboot computer to the Windows 10 Full OS Install DVD and use the command prompt commands “Bootrec /Fixboot”, “ren BCD BCD.backup” and “bcdboot c:\windows /l en-us /s a: /f ALL”.
SECTION 2 – Capture Image Files
After OS build is complete, reboot system and run SYSPREP on the OS with the three following options specified. OOBE (out of box experience), generalize setup and system shutdown after SYSPREP completes.
Boot to WinPE USB jump drive.
Run DISKPART.
List Disk.
Select Disk # for OS drive.
List Partition.
List vol.
Select Partition # for SYSTEM partition.
Assign Letter=”S”.
Select Partition # for OS partition.
Assign Letter=”O”.
Select Partition # for Recovery partition.
Assign Letter=”R”.
“Exit” DISKPART.
From X: drive prompt run this – DISM /capture-image /imagefiledestination drive & file name).wim /capturedir:S:\ /name:”Systemop7040 Partition”.
From X: drive prompt run as above statement again and use the “OSop7040.wim” file name and the “O” drive letter.
From X: drive prompt run as above statement again and use the “Recoveryop7040.wim” file name and the “R” drive letter.
Copy image files from internal second hard drive or an external hard drive to a secondary USB jump drive from the command prompt in WinPE.
Copy these files to our DISMIMAGES share at \\palsvr\DISMImages under the folder you created for the NON-SYSPREP and SYSPREP images files for your platform.
SECTION 3 – Apply Image Files
Boot to WinPE USB jump drive.
Run DISKPART.
List Disk.
List vol.
Select Disk.
Run “CLEAN” command for primary smaller hard drive in the computer.
Run following commands in this order;
a. Create partition primary size=100
b. Format quick fs=Fat32 Label=”System”
c. Assign Letter=”S”
d. Active
e. Create partition primary size=240000 or the sixe allowed for you OS partition
f. Format quick fs=ntfs Label=Windows”
g. Assign Letter=”O”
h. Create partition primary size=500
i. Format quick fs=ntfs Label=”R”
“Exit” DISKPART.
From X: drive prompt run this for SYSTEM partition – DISM /apply-image /imagefile:d:\(destination drive & file name).wim /index:1 /applydir:S:\
From X: drive prompt run this for OS partition – DISM /apply-image /imagefile:d:\(destination drive & file name).wim /index:1 /applydir:O:\
From X: drive prompt run this for RECOVERY partition – DISM /apply-image /imagefile:d:\(destination drive & file name).wim /index:1 /applydir:R:\
SECTION 4 – Rebuild BCDBoot Partition
Boot pc to Windows 10 Full OS DVD and navigate to command prompt;
a. Next
b. Repair your Computer
c. Troubleshoot
d. Advanced Options
e. Command Prompt
Run DISKPART.
List Disk.
Select Disk for primary smaller hard drive in the computer.
List vol.
Select vol for Fat32 “SYSYTEM” partition.
Assign Letter=”S”
Exit” DISKPART
From X: drive run the following command – cd /d s:\efi\microsoft\boot\
From S: drive run the following command – Bootrec /Fixboot
From S: drive run the following command – ren BCD BCD.Backup
From S: drive run the following command – bcdboot o:\windows /l en-us /s a: /f ALL
Pull DVD from drive and reboot computer
SECTION 1 – Over View
Run through the Microsoft OEM OS Windows 10 Full version 64 bit setup screens and then follow the “Windows 10 OS BUILD - (Final Draft) - Win10 64 bit Microsoft OEM OS to District Standard OEM OS Image Build Steps as of 6-15-2016” to build the Windows 10 OS image before capturing the OS with DISM.
Make sure the OS is removed from the Domain before starting the SYSPREP Image Capture Process. Restart system if you do have to remove it from the Domain.
Make sure a second SATA hard drive is internally attached in the desktop system so you can easily burn the image files to a local drive. For laptop systems we need to try and use an external USB hard drive for this purpose.
Reboot system and run SYSPREP on the OS with the three following options specified. OOBE (out of box experience), generalize setup and system shutdown after SYSPREP completes.
Shutdown the system after running SYSPREP on the OS. Insert the WinPE USB boot drive into USB 2.0 port and boot to this USB drive.
Use DISKPART and assign partition drive letters to the partitions on the main internal hard drive that you will be capturing image files from during this process. (e.g. System=”S”, OS=”O” and Recovery=”R”).
Exit DISKPART.
Capture partition images using DISM command and save the image files to the local internal or USB hard drives using the “/Capture-Image” command.
Copy image files to a secondary USB jump drive and then copy these files to our DISMIMAGES share at “\\palsvr\DISMImages”.
Boot target computer to WinPE USB jump drive and create partitions via DISKPART for the partition image files that were captured. Always follow the following order on partition creation and when applying image files to these partitions; System always comes First, OS is always after the System partition if there is one and then if you have a Recovery partition it will be last. Format the System partition as FAT32 and set it as active which means it is the bootable partition. Format OS and Recovery partitions as fs=ntfs without the Active status on them.
Apply partition images to the target computer partitions.
Reboot computer to the Windows 10 Full OS Install DVD and use the command prompt commands “Bootrec /Fixboot”, “ren BCD BCD.backup” and “bcdboot c:\windows /l en-us /s a: /f ALL”.
SECTION 2 – Capture Image Files
After OS build is complete, reboot system and run SYSPREP on the OS with the three following options specified. OOBE (out of box experience), generalize setup and system shutdown after SYSPREP completes.
Boot to WinPE USB jump drive.
Run DISKPART.
List Disk.
Select Disk # for OS drive.
List Partition.
List vol.
Select Partition # for SYSTEM partition.
Assign Letter=”S”.
Select Partition # for OS partition.
Assign Letter=”O”.
Select Partition # for Recovery partition.
Assign Letter=”R”.
“Exit” DISKPART.
From X: drive prompt run this – DISM /capture-image /imagefiledestination drive & file name).wim /capturedir:S:\ /name:”Systemop7040 Partition”.
From X: drive prompt run as above statement again and use the “OSop7040.wim” file name and the “O” drive letter.
From X: drive prompt run as above statement again and use the “Recoveryop7040.wim” file name and the “R” drive letter.
Copy image files from internal second hard drive or an external hard drive to a secondary USB jump drive from the command prompt in WinPE.
Copy these files to our DISMIMAGES share at \\palsvr\DISMImages under the folder you created for the NON-SYSPREP and SYSPREP images files for your platform.
SECTION 3 – Apply Image Files
Boot to WinPE USB jump drive.
Run DISKPART.
List Disk.
List vol.
Select Disk.
Run “CLEAN” command for primary smaller hard drive in the computer.
Run following commands in this order;
a. Create partition primary size=100
b. Format quick fs=Fat32 Label=”System”
c. Assign Letter=”S”
d. Active
e. Create partition primary size=240000 or the sixe allowed for you OS partition
f. Format quick fs=ntfs Label=Windows”
g. Assign Letter=”O”
h. Create partition primary size=500
i. Format quick fs=ntfs Label=”R”
“Exit” DISKPART.
From X: drive prompt run this for SYSTEM partition – DISM /apply-image /imagefile:d:\(destination drive & file name).wim /index:1 /applydir:S:\
From X: drive prompt run this for OS partition – DISM /apply-image /imagefile:d:\(destination drive & file name).wim /index:1 /applydir:O:\
From X: drive prompt run this for RECOVERY partition – DISM /apply-image /imagefile:d:\(destination drive & file name).wim /index:1 /applydir:R:\
SECTION 4 – Rebuild BCDBoot Partition
Boot pc to Windows 10 Full OS DVD and navigate to command prompt;
a. Next
b. Repair your Computer
c. Troubleshoot
d. Advanced Options
e. Command Prompt
Run DISKPART.
List Disk.
Select Disk for primary smaller hard drive in the computer.
List vol.
Select vol for Fat32 “SYSYTEM” partition.
Assign Letter=”S”
Exit” DISKPART
From X: drive run the following command – cd /d s:\efi\microsoft\boot\
From S: drive run the following command – Bootrec /Fixboot
From S: drive run the following command – ren BCD BCD.Backup
From S: drive run the following command – bcdboot o:\windows /l en-us /s a: /f ALL
Pull DVD from drive and reboot computer