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
Solved

How to replace a DLL in System32 folder?

Posted on 2008-10-29
5
2,294 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
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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Suggested Solutions

Ok I have been working on this for some time having learned and gained certification in XenDesktop 4 along came version 5 which was released last month. Since then I have been working to deploy XenDesktop 5 in a small environment with only 2 virt…
Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
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…

792 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