mstsc.exe Application Error

When logging out of any server or when exiting the mstsc application my customer gets an application error.
"The instruction at "0x00e802b7" referenced memory at "0x00000008". The memory could not be "read". Click on OK to terminate the program.
He has XP SP3 with mstsc version 6.0.6001.18000 (longhorn_rtm.080118-1840)
I have tried to rename the files mstsc.exe and mstscax.dll to .bak, and rebooted, but that did not help. I also deleted the bcache2.bmc file as well. I also tred to reregister the dll file. Should I remove XP3 to use an older version of RDP?
Thanks for any help!
Who is Participating?
Delete the following from c:\windows\system32\dllcache


Then rename them to *.old in c:\windows\system32

Then replace them from the most recent versions in C:\WINDOWS\$NtServicePackUninstall$.

If needed you might need to unregister them if possible, and then reregister them.

This will basically rebuild the files needed for RDP.<!-- richText -->
1) It could be a hardware issues, especially RAM, so run a RAm diagnostic for a few hours

2) Not sure if t is worthwhile to uninstall SP3. Did it work previous to the SP3 update ?

I hope this helps !
Just one comment on Johnb6767's excellent solution above.  
The mstscax.dll date needs to match the mstsc.exe date.  On one machine where I corrected this there was a newer mstscax.dll and it would not work with the original mstsc.exe copied out of the $NtServicePackUninstall$.  
I just did a search for the mstscax.dll and copied the one with a matching date to the mstsc.exe to the c:\windows\system32 directory.  

Great solution John.  
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.