Jump to content

newdev.exe bad image error and a corrupt msports.dll fails new device install


mproy

Recommended Posts

My computer (older Dell xps latop) crashed (BSOD) and when it turned back on, it went in repair mode... unfortunately, problems don't happen one at a time, it lost power during the process. One the next reboot repair was not attempted. So I ran sfc/f (output saved). It corrected a bunch of stuff, but there were errors.

Being in a crunch and without internet acces, I checked to see if the system was operationalstable. Everything seemed a-ok. That's until I attempeted to use a usb cable. The system returned a "New device found" (when in fact I used it many times for many years).

I tried (bad decision) removing the device and its drivers to reinstall... that's when the newdev.exe error - bad image occured and a "msports.dll is either not designed to run on Windows or it contains an error" message.

I tried uninstalling, reinstalling the driver and it works without errors. But the instant I plug in the usb (prolific "rs232" calbe) to communicate with radios the system fails again with the new device found and eventual error message.

I vaguely remember a way to extract/restore files from an image, but not enough to attempt and searches failed to find anything to put me back on track. Any recommendations?

p.s. I need to run this machine as the software was never ported for later versions of windows and will not install (even in compatibility mode).

the sfc log file states :

2024-06-05 17:10:57, Info CSI 00000398 Hashes for file member \SystemRoot\WinSxS\x86_microsoft-windows-msports_31bf3856ad364e35_6.0.6000.16386_none_8ae6587cf259a8c2\msports.dll do not match actual file [l:22{11}]"msports.dll" :

Found: {l:32 b:mW+LXmvdMCoaKRsRygjJfOac4gGdoZW4m3wg+ux2z70=} Expected: {l:32 b:wmEWMgxhYjCj6+IAQwLE9ZSrr8sRspRD89Qh+fQvHQs=}

2024-06-05 17:10:57, Info CSI 00000399 [SR] Cannot repair member file [l:22{11}]"msports.dll" of Microsoft-Windows-msports, Version = 6.0.6000.16386, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, hash mismatch

2024-06-05 17:10:58, Info CSI 0000039a Hashes for file member \SystemRoot\WinSxS\x86_microsoft-windows-msports_31bf3856ad364e35_6.0.6000.16386_none_8ae6587cf259a8c2\msports.dll do not match actual file [l:22{11}]"msports.dll" :

Found: {l:32 b:mW+LXmvdMCoaKRsRygjJfOac4gGdoZW4m3wg+ux2z70=} Expected: {l:32 b:wmEWMgxhYjCj6+IAQwLE9ZSrr8sRspRD89Qh+fQvHQs=}

2024-06-05 17:10:58, Info CSI 0000039b [SR] Cannot repair member file [l:22{11}]"msports.dll" of Microsoft-Windows-msports, Version = 6.0.6000.16386, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, hash mismatch

2024-06-05 17:10:58, Info CSI 0000039c [SR] This component was referenced by [ml:38{19},l:36{18}]"Windows Foundation"

2024-06-05 17:10:58, Info CSI 0000039d Hashes for file member \??\C:\Windows\System32\msports.dll do not match actual file [l:22{11}]"msports.dll" :

Found: {l:32 b:mW+LXmvdMCoaKRsRygjJfOac4gGdoZW4m3wg+ux2z70=} Expected: {l:32 b:wmEWMgxhYjCj6+IAQwLE9ZSrr8sRspRD89Qh+fQvHQs=}

2024-06-05 17:10:58, Info CSI 0000039e Hashes for file member \SystemRoot\WinSxS\x86_microsoft-windows-msports_31bf3856ad364e35_6.0.6000.16386_none_8ae6587cf259a8c2\msports.dll do not match actual file [l:22{11}]"msports.dll" :

Found: {l:32 b:mW+LXmvdMCoaKRsRygjJfOac4gGdoZW4m3wg+ux2z70=} Expected: {l:32 b:wmEWMgxhYjCj6+IAQwLE9ZSrr8sRspRD89Qh+fQvHQs=}

2024-06-05 17:10:58, Info CSI 0000039f [SR] Could not reproject corrupted file [ml:520{260},l:46{23}]"\??\C:\Windows\System32"\[l:22{11}]"msports.dll"; source file in store is also corrupted

(fyi, the instance is Windows Vista Ultimate Service pack 2.  I assume its wrongly reported because, prior to the crash, just days before, I installed a new (old) software. At some point it asked if I wanted to overwrite drivers (maybe dll?). And I did, because it was more recent that the previous version of the software I had on... but again this is 15+ year old software written by Motorola.  It worked well for a number of days.)

2024-06-05 17:10:58, Info CSI 000003a0 Repair results created:

POQ 205 starts:

0: Move File: Source = [l:192{96}]"\SystemRoot\WinSxS\Temp\PendingRenames\88ce74dc8cb7da01b45500003414e822._0000000000000000.cdf-ms", Destination = [l:104{52}]"\SystemRoot\WinSxS\FileMaps\_0000000000000000.cdf-ms"

1: Move File: Source = [l:218{109}]"\SystemRoot\WinSxS\Temp\PendingRenames\98f574dc8cb7da01b55500003414e822.program_files_ffd0cbfc813cc4f1.cdf-ms", Destination = [l:130{65}]"\SystemRoot\WinSxS\FileMaps\program_files_ffd0cbfc813cc4f1.cdf-ms"

2: Move File: Source = [l:244{122}]"\SystemRoot\WinSxS\Temp\PendingRenames\b84375dc8cb7da01b65500003414e822.program_files_common_files_d7a65bb2f0e854e7.cdf-ms", Destination = [l:156{78}]"\SystemRoot\WinSxS\FileMaps\program_files_common_files_d7a65bb2f0e854e7.cdf-ms"

3: Move File: Source = [l:278{139}]"\SystemRoot\WinSxS\Temp\PendingRenames\d89175dc8cb7da01b75500003414e822.program_files_common_files_microsoft_shared_818c5a0e45020fba.cdf-ms", Destination = [l:190{95}]"\SystemRoot\WinSxS\FileMaps\program_files_common_files_microsoft_shared_818c5a0e45020fba.cdf-ms"

4: Move File: Source = [l:292{146}]"\SystemRoot\WinSxS\Temp\PendingRenames\f8df75dc8cb7da01b85500003414e822.program_files_common_files_microsoft_shared_msinfo_817ad0c7c1c8e490.cdf-ms", Destination = [l:204{102}]"\SystemRoot\WinSxS\FileMaps\program_files_common_files_microsoft_shared_msinfo_817ad0c7c1c8e490.cdf-ms"

POQ 205 ends.

And before someone asks, I have a number of software that runs VISTA (all instances) while it will not install on Windows 7, 10 and 11.  Heck, I still run on my vista box so I can run DOS based (green screen) software which all started out before XP in the Windows 2000 days.  And everything in between.

Any clues for a fix?

 

Link to comment
Share on other sites


So far I get the following:
1. Windows shows a wrong architecture message for msports
2. SFC says msports doesn't match crc with the file in winsxs
3. SFC says the msports in the datastore is corrupted

You have x64 in your forum profile, is that also the type you are using here? If the OS is 64bit and uses a 64bit process, it may show a message like #1 if it tries to use a 32bit binary or vice versa. The file it tries to use may be actually fine. I'd validate the file by opening it in some sort of program that can read headers or a decompiler. Typically opening a binary in a program designed to read binaries will fail immediately if the file is actually corrupt. Make sure the environment variables for the OS are not modified. 

Basically, this could all be true IF Windows is trying to use the wrong msports, if there are actually 2 versions, one in System32 and one in Syswow64. 

Link to comment
Share on other sites

Thank you for the hints.

It is a 64bit os version.  I have two xps computers, and the one in error is 32 bits!  So obviously, I have a msports.dll in system32, but no other file structure syswow64.

While I will check the "validity of the file" to see if it is corrupt. (need to get such a program, haven't used those since Windows 95!)

Is there a "reliable" source to get the msports.dll ?  I saw its online, but on "shady" site.  I could regsvr32...

 

M.P.

 

 

Link to comment
Share on other sites

It is in a cab or compressed file on the OS disc, but I think this file is also updated in MSU/CAB from Windows Updates. If yours got updated that way, going back to an older version (like from the disc or some random website) might lead to other problems.

Technically, if you have another XP computer, you can copy the msports from there. Remember that on a 64bit computer that the 32bit files are in syswow64 folder and the 64bit files are in System32.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...