Solved

Shell32.dll in W2K

Posted on 2002-07-11
6
474 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 50 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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

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…
Note: This is the second blog post in a series on email clearinghouses (https://www.xmatters.com/alert-management/blog-email-has-failed-us?utm_campaign=70138000000ydLoAAI&utm_source=exex&utm_medium=article&utm_content=blog-post).   Every month t…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

895 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

11 Experts available now in Live!

Get 1:1 Help Now