[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Shell32.dll in W2K

Posted on 2002-07-11
6
Medium Priority
?
488 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
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
New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

 
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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

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…
Often times it's very very easy to extend a volume on a Linux instance in AWS, but impossible to shrink it. I wanted to contribute to the experts-exchange community a way of providing a procedure that works on an AWS instance. It can also be used on…
Screencast - Getting to Know the Pipeline
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

834 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