Home     Windows 7     Windows 8   Freeware     Privacy

How To: Replace/Delete Protected DLL Files In Windows 7 & Vista

Posted February 19, 2009 – 4:28 pm in: Vista Tweaks, Windows 7, Windows 7 Guides
Advertisements

Windows doesn’t allows the user to delete or replace the protected system files that are very essential to run Windows smoothly. But we can’t follow Windows rule all the time since we need to experiment with various system files in order to change the functionality or the look of Windows.

 windows7logo1

In most of the causes Windows will not boot if you have not replaced the system file neatly or if you have tinkered with system file in an inappropriate way. To avoid all those frustrations we need to know the right steps to a replace a system file.

 

In Windows XP, we used to use a software called Replacer, but it’s not fully compatible with Windows 7 and Vista. Unlike Windows XP, Vista & 7 doesn’t require to disable “Windows File Protection” feature to play with system files. You can start playing with system files by taking ownership of the files in Vista & 7.

 

 

Follow the below steps to replace any system file with a new one or to modify it. Make sure you follow the instructions before start the adventure. For instance, let’s consider a system protected file labeled Shell32.dll as the file to be replaced in this guide.

 

* The best way to start the procedure is to backup Windows. I recommend cloning software like Macrium Reflect (Free) or Acronis True Image or Windows 7’s inbuilt image backup feature to create a good backup.

 

* Head to the folder where the file is located. In this case, Shell32.dll file can be found in "C:\Windows\System32". Where “C” is your OS (Operating system) drive.

Shellew

* You can simply create a backup of system file by renaming it. But Windows doesn’t allow you to rename a protected file. So, user needs to take Ownership of the file to rename it.

 

* Read my detailed “How to take ownership of a file in Windows 7” to take the ownership of the file (Same method applies to Vista as well). Once you have the ownership of the file, rename the file. For instance, rename Shell32.dll to Shell32OLD.dll. Simply click Continue button if you are prompted with security dialog box.

Shell32 copy errorj

* Obviously, the next step is the copy a new file to with the same of the system file to the same folder. Fox example, you need to move/copy a new “Shell32.dll” "C:\Windows\System32” folder. Also note that it should be a valid file.

If you have replaced a system file with invalid file means Windows will not boot next time. So make sure that the system file is valid and works fine with the version of your Windows before replacing the file. You can also delete the file once you have the ownership of the system file.

  Tags:
Advertisements

Useful Guides For Windows 7

15 Comments

  1. chris
    Posted October 6, 2009 at 5:06 am | Permalink

    wow! this really helped me out. thanks guys. i find this site very helpful

  2. uttam lamichhane
    Posted August 16, 2010 at 8:10 am | Permalink

    missing avpinst.dll

  3. Haresh
    Posted September 16, 2010 at 5:14 pm | Permalink

    Macrium Reflect isn’t actually free, I guess.

  4. admin
    Posted September 16, 2010 at 7:39 pm | Permalink

    Macrium Reflect is available in both free and pro versions.

  5. Haresh
    Posted October 13, 2010 at 2:46 pm | Permalink

    Hmm… Okay

  6. obey
    Posted November 6, 2010 at 9:39 am | Permalink

    worst guide ever

  7. ne
    Posted July 1, 2011 at 8:35 am | Permalink

    nice guide. having a moderately unstable windoze 7 machine, I am avoiding windoze exploder and its icon caching slowness like the plague. including info on the technique as used from a command prompt (takeown.exe and icacls.exe – ripped straight out of your .reg file) would make the guide complete (imho :)

    Thanks

  8. Sens
    Posted November 7, 2011 at 1:21 pm | Permalink

    i followed all the procedures. but finally, try again and cancel options only shows in access denied popup. And (.dll) file did not renamed. pls help me..

  9. Pardyman1975
    Posted November 22, 2011 at 10:17 pm | Permalink

    This doesn’t work, genius. You can’t write in the System 32 folder!!!!!

  10. Vlad
    Posted December 14, 2011 at 5:07 pm | Permalink

    Doesn’t work! (Win7x64)

  11. Tiago
    Posted February 25, 2012 at 6:19 am | Permalink

    Doesn’t work (Win7x64), can’t write in the System 32 folder

  12. D
    Posted March 2, 2012 at 11:24 am | Permalink

    This DOES work. (Win7 x64) I’ve done it many many times while using custom win 7 visual styles. You have to take ownership of the files first. Just read the instructions. @pardyman1975, don’t be so condescending. you don’t know what your talking about..

  13. gurinder
    Posted July 7, 2012 at 3:37 am | Permalink

    finally… i got the real thing i needed.. you really helped me man… really… thnx a lot

  14. gurinder
    Posted July 7, 2012 at 3:39 am | Permalink

    hey guys just follow all the instruction carefully… its just awesome.. and easy.. you need to click the link in third line.. and then follow it wisely… everything is just fine..\

  15. subarno
    Posted August 16, 2012 at 10:16 am | Permalink

    thnx your guide helped me a lot :)

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*