Solved

How to replace a DLL in System32 folder?

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Repair old Windows 2000 boot 15 208
Dell XPS 1640 Laptop motherboard replacement 31 174
Security cameras working but files saving are corrupt 4 135
Windows 7 and Pro update issues 5 87
cPanel is a Unix based web hosting control panel that provides a graphical interface and automation tools designed to simplify the process of hosting a web site. cPanel utilizes a 3 tier structure that provides functionality for administrators, rese…
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…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

919 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now