Apply Updates to Offline Drive or .WIM File

Apply Updates to Offline Drive or .WIM File

Postby DarkGUNMAN » 26.11.2015, 17:11

Hi,

I have found WSUS Offline to be extremely useful in my work applying updates to live systems without access to updates, and would like to make a suggestion for it's improvement.

I have recently been making changes to WIM files of captured operating systems for installation to new systems via System Centre.
Some of these installations are dual-boot, with one of the partitions connected to our network, and one of them without any connections whatsoever.
This makes a case where one of the partitions will never get updated, and the other is updated via system centre.

It would be great to deploy a system centre job that could update the offline operating system on the other drive.
In both of the uses above it would be great if the ability to update offline WIM files, or another drive with operating system and software attached.

Many Thanks
Last edited by DarkGUNMAN on 01.12.2015, 12:38, edited 1 time in total.
DarkGUNMAN
 

Re: Apply Updates to Offline Drive or .WIM File

Postby aker » 26.11.2015, 22:46

It is difficult to implement an offline installation as it is impossible to determine the missing updates offline. The installation itself is not the problem, but determining the missing updates is. I tried something like that before, but the results weren't that good.
Wer Rechtschreibfehler findet, darf sie behalten oder an den Meistbietenden versteigern. / Everybody finding a misspelling is allowed to keep or sell it.
aker

WSUS Offline Update „Community Edition“
https://gitlab.com/wsusoffline/wsusoffline/-/releases
aker
 
Posts: 3999
Joined: 02.03.2011, 15:32

Re: Apply Updates to Offline Drive or .WIM File

Postby DarkGUNMAN » 01.12.2015, 11:16

I suppose it could be run one-time by booting from the WIM or second OS, making a file with list of the applied updates.
The next time WSUSOffline is run against it as on offline WIM or partition, it checks for the file and knows exactly what is installed and needs only apply the required updates.

In essence it would need to keep a separate inventory of applied updates - created/replaced when running WSUSOffline directly on an active OS, and updated when run on an offline OS.
DarkGUNMAN
 

Re: Apply Updates to Offline Drive or .WIM File

Postby aker » 01.12.2015, 17:32

The problem is, that you aren't able to tell the WUA to list the missing updates without running the system. You are just able to determine the installed updates, not the missing ones.
Wer Rechtschreibfehler findet, darf sie behalten oder an den Meistbietenden versteigern. / Everybody finding a misspelling is allowed to keep or sell it.
aker

WSUS Offline Update „Community Edition“
https://gitlab.com/wsusoffline/wsusoffline/-/releases
aker
 
Posts: 3999
Joined: 02.03.2011, 15:32

Re: Apply Updates to Offline Drive or .WIM File

Postby jamesaepp » 29.01.2016, 15:34

aker wrote:It is difficult to implement an offline installation as it is impossible to determine the missing updates offline. The installation itself is not the problem, but determining the missing updates is. I tried something like that before, but the results weren't that good.


I have to disagree with you on this. if you check out my (not very stable) code from my thread on this subject : viewtopic.php?f=5&t=4835 , I didn't see any problems on systems when I applied the updates except for a select few, but this is a simple work around. Just make a whitelist of updates that are known as safe, or a blacklist of ones which aren't. For testing I used a blacklist of known updates that break systems such as some large updates. I don't remember the KB, but there was one update that helped along the Windows 8.0 to Windows 8.1 upgrade and that was definitely one such update that needed to be blacklisted. :^)

In the end, it's definitely doable and I had plans to work it into our production, I just haven't had time to commit to the coding because I'm caught in the vicious circle of daily support. I haven't even opened up the Powershell ISE for months except to update a couple scripts for their links, otherwise I don't actively work on things like this.
jamesaepp
 

Re: Apply Updates to Offline Drive or .WIM File

Postby aker » 29.01.2016, 19:29

Some time ago, I tried to create an offline identification code, which works (more or less) dynamical. The problem is, that the script might try to apply updates not appliable to the offline image. It often resulted in configuration errors on reboot. That would require updating the blacklist every month. If you want to, I could upload my dynamic script. But take care, when working with it; it is pretty old & might be unstable.
Wer Rechtschreibfehler findet, darf sie behalten oder an den Meistbietenden versteigern. / Everybody finding a misspelling is allowed to keep or sell it.
aker

WSUS Offline Update „Community Edition“
https://gitlab.com/wsusoffline/wsusoffline/-/releases
aker
 
Posts: 3999
Joined: 02.03.2011, 15:32

Re: Apply Updates to Offline Drive or .WIM File

Postby boco » 30.01.2016, 00:36

For servicing WIM, there exist dedicated solutions, already. MSMG Toolkit or Win Toolkit, just to name two.
Microsoft update catalog: http://catalog.update.microsoft.com/v7/site/
Windows Install media download: https://support.microsoft.com/en-us/help/15088/windows-create-installation-media
boco
 
Posts: 2391
Joined: 24.11.2009, 17:00
Location: Germany


Return to Anregungen / Suggestions

Who is online

Users browsing this forum: No registered users and 61 guests