Windows 8.1 Pro + “Spring Update” + Disk Cleanup + DISM = 0x800f081f
On 2014/04/08 Microsoft released the first Service Pack… uhm “Spring Update”/Update 1 for Windows 8.1. Since then I noticed, that PCs, who used to successfully complete dism /online /cleanup-image /restorehealth will now always fail at it IF the disk cleanup option was used with admin privileges. I’m guessing it’s the removal of the Windows Update stuff that fucks it up?
Anyway, in that constellation dism starts to insist on 0x800f081f, an error that traditionally points to something connected with .NET, which is why searches on the net mostly offer solutions that have little to do with this rather new situation. I could reproduce this error on several PCs running Windows 8.1 Pro x64, so it remains to be seen if future patches will compensate for it. I won’t exactly be holding my breath, with this hardly seeming to be the worst problem a major update could cause (even if it gives people like me an itch they cannot scratch).
The dism.log the error message refers to, mostly contains lots of chinese characters – doesn’t exactly give the impression of something that was intentional (for an english installation) and reinforces this buggy feeling. Good thing they tried to teach me french in school…
After a few more minutes playing with it, I already thought the issue had been rendered moot, because as it turned out, running WindowsUpdateDiagnostic.diagcab removed whatever the underlying problem was on one of my affected machines. Despite repeating the procedure step by step on another PC, this one decided to stick with 0x800f081f. Would have been too easy, I guess.