Solved

How to replace a DLL in System32 folder?

Posted on 2008-10-29
5
2,326 Views
Last Modified: 2012-05-05
I have an SP3 machine which I want to use RDP to connect to. The problem is I need to replace a dll (mstscax.dll) and exe (mstsc.exe) in the system32 folder to older SP2 versions to try and correct a problem.

Everytime I paste older versions into the system32 directory it asks me if I want to overwrite which I OK, the files are pasted and the size and date changes to those of the old version but then they update to the SP3 versions! How do I stop this happening? Where are they coming from?

Thanks
0
Comment
Question by:Joanne_Mark
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 10

Assisted Solution

by:dis1931
dis1931 earned 300 total points
ID: 22831636
Hello Joanne_Mark,

Check the versions in C:\WINDOWS\system32\dllcache as they are likely overwriting the new file you are placing in System32, either delete the file in DLLCache or replace with the file you want to copy into System32 then also copy it to System32 and it should remain.

Regards,

dis1931
0
 

Author Comment

by:Joanne_Mark
ID: 22831678
Thankyou dis1931 but neither of those files appear in the dllcache. I have verifed this by checking on other machines too!

Is there any other place they are hiding?

Jo
0
 
LVL 10

Assisted Solution

by:dis1931
dis1931 earned 300 total points
ID: 22831774
Do you have a network install or XP cd in the drive that the machine points to?  The article below is a MS article describing Windows File Protection which is the item you are fighting against right now....

http://support.microsoft.com/kb/222193
0
 
LVL 38

Accepted Solution

by:
Shift-3 earned 200 total points
ID: 22831842
My guess would be that it is pulling the files from %systemroot%\ServicePackFiles\i386.  There are files there named lhmstsc.exe and lhmstscx.dll.  I'm not sure what consequences replacing them would have.

 You could try disabling Windows File Protection using the registry setting described at the end of this article:
http://www.microsoft.com/whdc/archive/wfp.mspx
 
 Unfortunately this risks system instability in the long run, as it won't be running to keep your system files from getting corrupted.
0
 
LVL 50

Expert Comment

by:jcimarron
ID: 22833465
Joanne_Mark--If your intention is to revert to the SP3 versions after you solve the problem, perhaps uninstall SP3 and do the fixing within SP2.  Then reinstall SP3.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Issue: Unstable cursor in Windows XP and Windows runs extremely slow in that any click will bring up the Hour glass (sometimes for several seconds before giving you what you want) . Troubleshooting Process and the FINAL FIX: This issue see…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question