One of my blogreaders, Andreas Fjellner, came up with a way to make the import of hotfixes a bit faster than copy and paste.
You can download a XML file with all the Hotfixes I’ve got imported so you don’t have to do a findstr or excel filtering from the previous blogpost, the XML file contains the same list as shown hereĀ List of Private Cloud related Hotfixes – 2016-02-03
Download: XML File (notice the Download button at the top so you don’t have to copy and paste). Save the file as c:\temp\details.xml on your WSUS Server and then run this script;
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
$url = (Import-Clixml C:\temp\details.xml).MUUri $pauseOn = "21","41","61","81","101","121","141" $i = 0 foreach ($u in $url) { $i++ If ($i -in $pauseOn) { Write-Host "Import hotfixes before continue, then press Y" $continue = Read-Host If ($continue -ne "Y") {exit} } $i & 'C:\Program Files\Internet Explorer\iexplore.exe' $u } |
It will spawn one internet explorer for each Hotfix with the correct URL. Just click ADD to basket. Close the IE Window and pick the next window.
When you are done with the first batch of 20 hotfixes, use the “Import updates” link as described here: Importing Hotfixes and Drivers directly into WSUS and you will now be able to import all hotfixes into your WSUS. And now press Y in the powershell window to take the next batch of hotfixes. Repeat until done.
Another way is to use AutoIT to make a script that moves the mouse and clicks on the right place doing the import semi-automatic, as another blogreader pointed out. There is always a way!
2 thoughts on “Semi-Automatic Hotfix import into WSUS”