@ms74 and anyone else having a windows update exception failure of 0x00000641 or 0x80070641
Windows update exception code 0x00000641 / 0x80070641 usually indicates an issue with the Windows Installer service.
Sometimes it is due to a difficulty in accessing it; sometimes it means it's missing, or inactive (disabled) for some reason.
If you have used Iolo System Mechanic for automated (auto-fix) runs, and have these exception codes, the likely cause is an overagressive fix by this app.
First suggestion is to Undo recent fixes by S M, then insure it's not set to autorun or autofix.
See this MS support article
Error “The Windows Installer Service Could Not Be Accessed” when installing or updating programs on Windows 7 or Windows Vista
Note: if your Windows is XP or Win Server 2003, see http://support.microsoft.com/kb/315346
This is for Windows 7 or Vista:
Do Method 1 using the FIX-It option button. Then do method 2 and 3 Restart Windows fresh as needed.
Retry Windows Update one more time.
If this helps, mark (click) Helpful as appropos. If this resolves your problem, mark (click) Answer as appropos.
As a sidebar: The Fix-it in method 1 will put the Windows installer registry entry back into your registry.Methods 2 & 3 are to start the service & insure it has proper setting.
Do all 3.
In some selected cases, where the installer.exe is truly corrupted, it will take a download of the installer-package itself from the MS Download Center website, and a run of that package to put back in-place.
AS to just what in Iolo S M is originating the problem, I can't tell as of this date.
I state that after having helped a handful of cases here directly, and also by reading here and in several other threads.