Hi Tom, when you say RTM disc, do you mean an original install disc of Vista? That would be correct, as I installed from a set of discs that I own. So, it would appear to be a valid file, but maybe there was a newer one that SFC is expecting based on the hash code it has? Is there some way to do a look-up somewhere of what version the hash code resolves to?
EDIT: Just saw your post (we hit submit within the same minute). That is the file I have on my hard drive. I did a direct bit comparison and they are the same. So, SFC is somehow expecting a different one then.
Maybe what happened was after I modified it, other updates must have tried to replace it, but then the system copied over my modified one that I'd replaced in the stores. Then I wouldn't have ever seen it. Does that sound plausible?
Yeah, it's from the original disc. You'd be able to find that exact file on a SP1/2 disc as well because as far as I can tell, it's never been updated since Vista was released. I'm not surprised though, there's not many things that can be exploited with a bunch of icons! Your theory would sound plausible if the file had been updated
Right, I think I've got to the bottom of this. Basically, you've replaced the wrong files and SFC doesn't like you for it. This file has never been updated, so an update isn't to blame here.
Here are the hashes taken from install.wim, of the locations that SystemLook found on your computer:
C:\Windows\System32\imageres.dll
Your file: 111C47816F39A91EAAA18DA0A54E8E63
My file: EDC41901878A99EA11765F5536CCAE67
C:\Windows\SysWOW64\imageres.dll
Your file: 111C47816F39A91EAAA18DA0A54E8E63
My file: 111C47816F39A91EAAA18DA0A54E8E63
C:\Windows\winsxs\amd64_microsoft-windows-imageres_31bf3856ad364e35_6.0.6000.16386_none_36a57cbab3586699\imageres.dll
Your file: 111C47816F39A91EAAA18DA0A54E8E63
My file: EDC41901878A99EA11765F5536CCAE67
C:\Windows\winsxs\x86_microsoft-windows-imageres_31bf3856ad364e35_6.0.6000.16386_none_da86e136fafaf563\imageres.dll
Your file: 111C47816F39A91EAAA18DA0A54E8E63
My file: 111C47816F39A91EAAA18DA0A54E8E63
It looks like that when you came to restore the files, you used the x86 file for every replacement - which is why SFC is kicking up a fuss. The ones in red need replacing with the one that I put in my Dropbox for you a few posts back
I think I may have figured out why SFC is complaining. When I went to the imageres.dll file in the System32 folder and checked properties, I clicked on the Previous Versions tab. It showed a shadow copy of a slightly different size. Same program version though (6.0.6000.16386). Instead of being 15.0 MB (15,821,312 bytes), it shows as 14.4 MB (15,181,824 bytes). That's the one I'd modified. I wonder if SFC is checking this file as a reference...
The size inconsistency is probably from the custom file being cached by VSS, but I doubt SFC would check this, I think it sticks to VSS.
On a completely unrelated note, in the process of doing this I managed to make Windows Explorer lock up and I tried to kill it using Task Manager. Didn't work, so I used task manager to launch command prompt and tried a taskkill command. Didn't work either. I then thought I'd see what the system account thought of it so I used
psexec -i -s -d cmd.exe to elevate me to launch a command prompt with system privileges (higher than the hidden admin). It launched perfectly, and killed the process, but when I tried to launch it again, just by doing the command
explorer.exe, it completely froze and after a few minutes, said it was configuring my theme settings and personalising desktop settings etc. I was then put into a really strange environment where I was logged into the System account:
All of my Desktop files and shortcuts had disappeared, but when they were there when I clicked on Desktop in Windows Explorer.
It was so strange and I'm still not entirely sure how I managed to actually log into the System account!
Tom