Ideen für die Recherche im Web:
Zum Nachschlagen:
https://www.youtube.com/watch?v=GlSwrutR_Eg
https://www.youtube.com/watch?v=zELT9hbBHEM
Übungen:
Installationsimage anpassen mit Hilfe von DISM oder Powershell-Cmdlets
dir D:\sources\install.wim md C:\ISOs\C1 copy D:\sources\install.wim C:\ISOs\C1\ dir C:\ISOs\C1\install.wim dism /get-wiminfo /wimfile:C:\ISOs\C1\install.wim dism /get-wiminfo /wimfile:C:\ISOs\C1\install.wim /index:2 md C:\ISOs\C1\mount\ dir C:\ISOs\C1\mount\ dism /mount-wim /wimfile:C:\ISOs\C1\install.wim /index:2 /mountdir:C:\ISOs\C1\mount\ dir C:\ISOs\C1\mount\ dir C:\ISOs\C1\mount\Users\Public\Desktop copy 'C:\Bücher\Weiterbildung.pdf' C:\ISOs\C1\mount\Users\Public\Desktop dir C:\ISOs\C1\mount\Users\Public\Desktop dism /image:C:\ISOs\C1\mount\ /get-drivers dism /image:C:\ISOs\C1\mount\ /get-features dism /image:C:\ISOs\C1\mount\ /disable-feature:Printing-Client dism /image:C:\ISOs\C1\mount\ /disable-feature:Printing-Client-Gui dism /image:C:\ISOs\C1\mount\ /get-features dism /image:C:\ISOs\C1\mount\ /get-packages dism /add-provisionedappxpackage dism /add-appxpackage dism /commit-wim /mountdir:C:\ISOs\C1\mount\ dism /unmount-wim /mountdir:C:\ISOs\C1\mount\ /commit #### Get-Command -Module DISM -CommandType Cmdlet Get-WindowsImage -ImagePath D:\sources\install.wim Get-WindowsImage -ImagePath D:\sources\install.wim -Index 2 Mount-WindowsImage -ImagePath C:\ISOs\C1\install.wim -Index 2 -Path C:\ISOs\C1\mount\ <# CommandType Name Version Source ----------- ---- ------- ------ Cmdlet Add-AppxProvisionedPackage 3.0 DISM Cmdlet Add-WindowsCapability 3.0 DISM Cmdlet Add-WindowsDriver 3.0 DISM Cmdlet Add-WindowsImage 3.0 DISM Cmdlet Add-WindowsPackage 3.0 DISM Cmdlet Clear-WindowsCorruptMountPoint 3.0 DISM Cmdlet Disable-WindowsOptionalFeature 3.0 DISM Cmdlet Dismount-WindowsImage 3.0 DISM Cmdlet Enable-WindowsOptionalFeature 3.0 DISM Cmdlet Expand-WindowsCustomDataImage 3.0 DISM Cmdlet Expand-WindowsImage 3.0 DISM Cmdlet Export-WindowsCapabilitySource 3.0 DISM Cmdlet Export-WindowsDriver 3.0 DISM Cmdlet Export-WindowsImage 3.0 DISM Cmdlet Get-AppxProvisionedPackage 3.0 DISM Cmdlet Get-NonRemovableAppsPolicy 3.0 DISM Cmdlet Get-WIMBootEntry 3.0 DISM Cmdlet Get-WindowsCapability 3.0 DISM Cmdlet Get-WindowsDriver 3.0 DISM Cmdlet Get-WindowsEdition 3.0 DISM Cmdlet Get-WindowsImage 3.0 DISM Cmdlet Get-WindowsImageContent 3.0 DISM Cmdlet Get-WindowsOptionalFeature 3.0 DISM Cmdlet Get-WindowsPackage 3.0 DISM Cmdlet Get-WindowsReservedStorageState 3.0 DISM Cmdlet Mount-WindowsImage 3.0 DISM Cmdlet New-WindowsCustomImage 3.0 DISM Cmdlet New-WindowsImage 3.0 DISM Cmdlet Optimize-AppXProvisionedPackages 3.0 DISM Cmdlet Optimize-WindowsImage 3.0 DISM Cmdlet Remove-AppxProvisionedPackage 3.0 DISM Cmdlet Remove-WindowsCapability 3.0 DISM Cmdlet Remove-WindowsDriver 3.0 DISM Cmdlet Remove-WindowsImage 3.0 DISM Cmdlet Remove-WindowsPackage 3.0 DISM Cmdlet Repair-WindowsImage 3.0 DISM Cmdlet Save-WindowsImage 3.0 DISM Cmdlet Set-AppXProvisionedDataFile 3.0 DISM Cmdlet Set-NonRemovableAppsPolicy 3.0 DISM Cmdlet Set-WindowsEdition 3.0 DISM Cmdlet Set-WindowsProductKey 3.0 DISM Cmdlet Set-WindowsReservedStorageState 3.0 DISM Cmdlet Split-WindowsImage 3.0 DISM Cmdlet Start-OSUninstall 3.0 DISM Cmdlet Update-WIMBootEntry 3.0 DISM Cmdlet Use-WindowsUnattend 3.0 DISM #> Get-WindowsOptionalFeature -Path C:\ISOs\C1\mount\ -FeatureName *dns* |ft Dismount-WindowsImage -Path C:\ISOs\C1\mount\ -Save
Aufteilen einer WIM-Datei
#https://docs.microsoft.com/de-de/windows-hardware/manufacture/desktop/split-a-windows-image--wim--file-to-span-across-multiple-dvds #ISO-Datei bereitgestellt in H: ls H:\sources\install.wim #>4GB nicht für FAT32 geeignet dir C:\sources md C:\sources Dism /Split-Image /ImageFile:H:\sources\install.wim /SWMFile:C:\sources\install.swm /FileSize:4000 ls C:\sources