Windows 7 updates backup?

You can slipstream all your updates into the .wim file off the windows CD by downloading the updates into a directory and use the following powershell script:

$UpdatesPath = "D:\Updates\*"
$MountPath = "D:\MountDir\mount"
$WimFile = “D:\MountDir\install.wim”
DISM /Mount-Wim /WimFile:$WimFile /index:1 /Mountdir:$MountPath
$UpdateArray = Get-Item $UpdatesPath
ForEach ($Updates in $UpdateArray)
{
DISM /image:$MountPath /Add-Package /Packagepath:$Updates
Start-Sleep –s 3
}
Write-Host "Updates Applied to WIM"
DISM /Unmount-Wim /Mountdir:$MountPath /commit
DISM /Cleanup-Wim

You can use a downloader or get the updates from the Microsoft update catalogue by searching for the KB numbers
 
Back
Top Bottom