Skip to content

texervn/windows-dism

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Install Windows Using Dism and Command Line

Bootable USB

Prepare for bootable USB with some tools to create partitions, disk management.

Diskpart: Partition Preparation

Once booted into bootable system (say Windows 10 XPE), we can launch diskpart to create partition.

  1. Start CMD and initiate diskpart
diskpart
list disk
# Use the above information to select the right disk
select disk 0
# If you want to clean all partitions, make sure you back up your data.
clean # This willl wipe out your data.
# If the disk is not in gpt, you can convert to gpt
convert gpt
# Create EFI partition with fat32
create part efi size 256
format fs fat32 quick
assign letter w
  1. Next, we will create a partition for Windows.
#Create a primary partition with size 100GB = 102400MB
create part primary size 102400
format quick label Windows
assign letter C
  1. You can create addition partition for your data.
create part primary
format quick label Data
assign letter D

Unpack Windows from WIM file.

  1. Now, it is the time to install your Windows from WIM file.

Suppose your Windows installation image is located at E:\sources\install.wim

dism /get-wiminfo /wimfile:E:\sources\install.wim

From the above command, you can see the index of all Windows SKUs that you want to deploy

dism /apply-image /imagefile:E:\sources\install.wim /index:2 /applydir:C:\
  1. Activate your UEFI boot
bootsect C:\Windows /s W:
  1. Reboot to enjoy your new system.

About

Install Windows Using DISM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages