Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Shell32.dll in W2K

Posted on 2002-07-11
6
Medium Priority
?
487 Views
Last Modified: 2010-04-13
There is a shell32.dll in win2k under winnt/system32 directory which provides certain core functions in OS. i want to change that shell32.dll with my own version of shell32.dll, which i have already made. My problem is that when i replace that file and reboot my machine, the OS again "regenerates" the original shell32.dll and my dll is overwritten. am using SP2 also and have changed the shell32.dll in that servicepackfiles directory to my version of the same. There is no shell32.dll in the i386/*.cab files. but still it is able to get the original file somehow. how do i go about changing this file?
0
Comment
Question by:compcrazy
[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
6 Comments
 
LVL 17

Accepted Solution

by:
mikecr earned 150 total points
ID: 7145787
You will want to use the regsvr32.exe utility to unregister the dll your replacing. Replace the dll file, reregister it using the same utility and then reboot the machine.
0
 
LVL 44

Expert Comment

by:CrazyOne
ID: 7146034
Along with mikes suggestion I think your running into the Windows File Protection feature which is doing replacing of that file.

Description of the Windows 2000 Windows File Protection Feature (Q222193)
http://support.microsoft.com/search/preview.aspx?scid=kb;en-us;Q222193


The Crazy One
0
 
LVL 12

Expert Comment

by:pjknibbs
ID: 7146096
As CrazyOne says, you're running into Windows File Protection--there's a copy of SHELL32.DLL in the DLLCACHE folder (hidden folder in SYSTEM32) which is copied back over your version. You need to remove (or update) the copy of SHELL32 in DLLCACHE for this to work.
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
LVL 1

Author Comment

by:compcrazy
ID: 7153710
Even after updating the DLLCache folder, the Shell32.dll was not updated in the system32 directory, so i had to use the regsvr32.exe to unregister and then register my version of shell32.dll. After that, it has started using the modified shell. Thanx to all of you for the help u extended :)
0
 
LVL 1

Author Comment

by:compcrazy
ID: 7153714
U do not need to reboot the machine perhaps... coz i got the immediate result after registering the modified dll. Thanx for the help :)
0
 
LVL 17

Expert Comment

by:mikecr
ID: 7156777
I'm glad I could help. Good luck!
0

Featured Post

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Sometimes Administrators rights are not enough. These cases call for the SYSTEM account. The process in this article outlines the steps required to execute commands using the SYSTEM account.
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

609 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