diff --git a/autounattend.cmd b/autounattend.cmd new file mode 100644 index 0000000..73f8b96 --- /dev/null +++ b/autounattend.cmd @@ -0,0 +1,16 @@ +echo off + +echo ####### autounattend.cmd ####### + +echo getting 7zip and TOOLS archive from webserver ... +ftp -s:autounattend.ftp + +echo extracting TOOLS archive ... +7z x -aoa -oc:\ c:\tools.zip + +echo deleting c:\tools.zip .. +del c:\tools.zip + +echo ####### autounattend.cmd ####### +timeout /t 3 + diff --git a/autounattend.ftp b/autounattend.ftp new file mode 100644 index 0000000..f286eff --- /dev/null +++ b/autounattend.ftp @@ -0,0 +1,11 @@ +open exabyte-systems.com +w10install +9054c6cf-c54c +binary +lcd c:\ +get tools.zip +lcd c:\windows +get 7z.exe +get 7z.dll +bye + diff --git a/wimscripts/download-iso.cmd b/wimscripts/download-iso.cmd new file mode 100644 index 0000000..a1db7eb --- /dev/null +++ b/wimscripts/download-iso.cmd @@ -0,0 +1,4 @@ +del c:\TEMP\Win10*.iso +ftp -i -s:download-iso.ftp +move c:\TEMP\Win10*.iso c:\TEMP\Win10.iso + diff --git a/wimscripts/download-iso.ftp b/wimscripts/download-iso.ftp new file mode 100644 index 0000000..0943ed3 --- /dev/null +++ b/wimscripts/download-iso.ftp @@ -0,0 +1,8 @@ +open exabyte-systems.com +w10install +9054c6cf-c54c +binary +lcd c:\TEMP +mget Win10*.iso +bye + diff --git a/wimscripts/export-image.cmd b/wimscripts/export-image.cmd new file mode 100644 index 0000000..97bad41 --- /dev/null +++ b/wimscripts/export-image.cmd @@ -0,0 +1,2 @@ +dism /Export-Image /SourceImageFile:D:\sources\install.esd /SourceIndex:6 /DestinationImageFile:c:\TEMP\install.wim /Compress:Max /CheckIntegrity + diff --git a/wimscripts/get-wiminfo.cmd b/wimscripts/get-wiminfo.cmd new file mode 100644 index 0000000..d8256c2 --- /dev/null +++ b/wimscripts/get-wiminfo.cmd @@ -0,0 +1,2 @@ +dism /Get-WimInfo /WimFile:D:\sources\install.esd + diff --git a/wimscripts/mount-iso.cmd b/wimscripts/mount-iso.cmd new file mode 100644 index 0000000..3da8cb8 --- /dev/null +++ b/wimscripts/mount-iso.cmd @@ -0,0 +1,2 @@ +powershell Mount-DiskImage -ImagePath "C:\TEMP\Win10.iso" + diff --git a/wimscripts/mount-wim.cmd b/wimscripts/mount-wim.cmd new file mode 100644 index 0000000..86d5f3c --- /dev/null +++ b/wimscripts/mount-wim.cmd @@ -0,0 +1,3 @@ +mkdir C:\WIM +dism /Mount-Wim /WimFile:install.wim /Name:"Windows 10 Pro N" /MountDir:C:\wim + diff --git a/wimscripts/umount-iso.cmd b/wimscripts/umount-iso.cmd new file mode 100644 index 0000000..b20991f --- /dev/null +++ b/wimscripts/umount-iso.cmd @@ -0,0 +1,2 @@ +powershell Dismount-Diskimage -ImagePath "C:\TEMP\Win10.iso" +