Tech Entice

How to replace system files in windows 7?

The system files are the most important files that help in the proper functioning of the operating system. If these files are changed it might happen that your computer may not function properly. So it is always advisable not to play around with the system files. If at all you want to try out I advise you to make a backup of the desired system file you are going to replace in a safe location.

Now suppose you want to change the theme of Windows 7, you will need to change some system files as shell32.dll, explorer.exe & shellstyle.dll

Steps to replace system files in windows 7

1. First of all take the ownership of the respective file that you are dealing with. To take the ownership you need to download a specific registry file that will help you in taking the ownership. The file is called TakeOwnership.reg. You can download it from here

Take Ownership

2. After downloading the package extract it and install the takeownership registry file by double clicking on it to add Take ownership option in your Right-click menu. If anything prompts for user action, Click on Yes.

Registry Editor

3) After taking ownership of the system file, you can rename the system files. Rename your system file to .bak.dll or .bak.exe or something else that you WILL remember. When you try to rename a system file, you will be prompted via UAC to confirm the action, do it.

System files, like shell32.dll, are protected. So, if you want to copy a file to the system32 folder, it won’t work.
So use command prompt window to rename it.

The syntax is :
rename path_to_system_file new_name

Command Prompt Rename

4) Copy your new system files to the system32 folder (or wherever your system files are stored) to replace the old files. Using command prompt the syntax is :
copy E:/midnight/shell32.dll shell32.dll

(Here my new shell32 was inside E:/midnight/)

File copy

And in this way you can replace any system file but always keep in mind to keep a backup of the original file.

How to replace system files in windows 7? - Last modify: December 10th, 2013, Author: Anik
Report an issue


Anik is a Software Engineer by profession. He loves to spend a lot of time testing and reviewing the latest gadgets and software. He likes all things tech and his passion for smartphones is only matched by his passion for Sci-Fi TV Series.