added files
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
*.wim
|
||||
16
captured/CreatePartitions.txt
Executable file
16
captured/CreatePartitions.txt
Executable file
@@ -0,0 +1,16 @@
|
||||
select disk 0
|
||||
clean
|
||||
convert gpt
|
||||
create partition efi size=100
|
||||
format quick fs=fat32 label="System"
|
||||
assign letter="B"
|
||||
create partition msr size=16
|
||||
create partition primary size 500
|
||||
format quick fs=ntfs label="Recovery"
|
||||
set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"
|
||||
gpt attributes=0x8000000000000001
|
||||
create partition primary
|
||||
format quick fs=ntfs label="OS"
|
||||
assign letter="C"
|
||||
list volume
|
||||
exit
|
||||
4
captured/RemoveDriveLetter.txt
Executable file
4
captured/RemoveDriveLetter.txt
Executable file
@@ -0,0 +1,4 @@
|
||||
list volume
|
||||
select volume 2
|
||||
remove
|
||||
list volume
|
||||
16
installers/CreatePartitions.txt
Executable file
16
installers/CreatePartitions.txt
Executable file
@@ -0,0 +1,16 @@
|
||||
select disk 0
|
||||
clean
|
||||
convert gpt
|
||||
create partition efi size=100
|
||||
format quick fs=fat32 label="System"
|
||||
assign letter="B"
|
||||
create partition msr size=16
|
||||
create partition primary size 500
|
||||
format quick fs=ntfs label="Recovery"
|
||||
set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"
|
||||
gpt attributes=0x8000000000000001
|
||||
create partition primary
|
||||
format quick fs=ntfs label="OS"
|
||||
assign letter="C"
|
||||
list volume
|
||||
exit
|
||||
4
installers/RemoveDriveLetter.txt
Executable file
4
installers/RemoveDriveLetter.txt
Executable file
@@ -0,0 +1,4 @@
|
||||
list volume
|
||||
select volume 2
|
||||
remove
|
||||
list volume
|
||||
16
scripts/CreatePartitions.txt
Executable file
16
scripts/CreatePartitions.txt
Executable file
@@ -0,0 +1,16 @@
|
||||
select disk 0
|
||||
clean
|
||||
convert gpt
|
||||
create partition efi size=100
|
||||
format quick fs=fat32 label="System"
|
||||
assign letter="B"
|
||||
create partition msr size=16
|
||||
create partition primary size 500
|
||||
format quick fs=ntfs label="Recovery"
|
||||
set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"
|
||||
gpt attributes=0x8000000000000001
|
||||
create partition primary
|
||||
format quick fs=ntfs label="OS"
|
||||
assign letter="C"
|
||||
list volume
|
||||
exit
|
||||
5
scripts/DISMCaptureWIM.txt
Executable file
5
scripts/DISMCaptureWIM.txt
Executable file
@@ -0,0 +1,5 @@
|
||||
Mount vhdx file
|
||||
|
||||
Dism /Capture-Image /ImageFile:"T:\%ImageName%.wim" /CaptureDir:C:\ /Name:%ImageName%
|
||||
|
||||
Unmount vhdx file
|
||||
3
scripts/DISMMountAndSaveImage.txt
Executable file
3
scripts/DISMMountAndSaveImage.txt
Executable file
@@ -0,0 +1,3 @@
|
||||
DISM /Mount-image /imagefile:D:\Images\Windows_10_Ent_x64_LTSC_2019_Custom_Installer_2021-04-27\sources\install.wim /index:1 /MountDir:D:\Images\MountedImages
|
||||
|
||||
Dism /Unmount-Image /MountDir:D:\Images\MountedImages /Commit /checkintegrity
|
||||
5
scripts/ImageXCaptureWIM.txt
Executable file
5
scripts/ImageXCaptureWIM.txt
Executable file
@@ -0,0 +1,5 @@
|
||||
Mount image as drive
|
||||
|
||||
imagex /capture F:\ E:\VirtualMachines\Captured\Windows_10_Ent_x64_LTSC_2019_Custom_Sysprepped_2021-04-27.wim "Windows_10_Ent_x64_LTSC_2019_Custom_Sysprepped_2021-04-27" /check
|
||||
|
||||
Eject mounted drive
|
||||
4
scripts/RemoveDriveLetter.txt
Executable file
4
scripts/RemoveDriveLetter.txt
Executable file
@@ -0,0 +1,4 @@
|
||||
list volume
|
||||
select volume 2
|
||||
remove
|
||||
list volume
|
||||
Reference in New Issue
Block a user