System File Corruption, The Registry and the SFC Tool

Whilst deploying the recent WSUS/WUA fix from Microsoft, I came across an interesting problem on some of our PCs where the update failed to apply. Thankfully this was nothing to do with the update, but more down to the PC being in a bad state.

The Software Centre reported thus:

There are lies, damned lies and software centre error codes.

There are lies, damned lies and software centre error codes.

The immediate thing that jumped out here, was the huge list of software that should already be installed. This wasn’t something new, this was an outstanding issue not picked up by our useless “wiggle the mouse to check it all works” highly skilled colleagues.

I delved into the event logs, and found something very useful:

I got this.

I got this.

 

So, a nice clear cut error with code:

Event ID 7023 : The Windows Modules Installer service terminated with the following error: Insufficient system resources exist to complete the requested service.

There is a *lot* of search data on this topic, one of those generic type affair I suppose. A lot of people did suggest running the SFC, but this kept failing and refused to run. For me, I tried lifting the registry size cap:

left a bit... left a bit... right.

left a bit… left a bit… right.

 

So I just whacked the RegistrySizeLimit value up to its max, and rebooted. Okay that’s probably not the best way, but it worked in this instance! I could now run the SFC command:

I don't think this has ever fixed anything for me before o.0

I don’t think this has ever fixed anything for me before o.0

 

…and now my errant apps installed:

Fleet success.

Fleet success.

Yeah. Fleet success.

Advertisements

Flame on xD

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s