How to replace Explorer.exe in Windows 7?



Share

Do you want to replace the Explorer.exe? Some Windows 7 themes that you can download on this site will come with a file “explorer.exe”. This is a very important system file, so please be careful, make a backup and follow the instructions closely when you learn how to replace the explorer.exe.

How to replace explorer.exe in Windows 7

Update 8/7/2010: The easiest and shortest way to replace the explorer.exe and any other system files is to download a registry hack that will add the option Take Ownership to your right-click context menu.

Download this script: Download TakeOwnership.zip and double-click on the .reg (registry) file to add an option “Take Ownership” to your contextual menu (the right-click menu).

You can then right-click on your system files and take ownership of them. After that, you can rename all files and replace the system file / explorer.exe easily.


There are three methods, one for the beginners and the other for advanced users, click on the links below to start:

Method 1: Change registry path to explorer.exe

The easiest method to replace explorer.exe is to open the registry and then change the path to the explorer.exe.

If you still need the system icons: Volume, Network Connections, Battery and Action Center, then don’t use Method1 because changing the registry path to explorer2.exe will disable them.

0. Make sure to know the difference between a 64-bit explorer.exe and a 32-bit explorer.exe. You can’t use a 64-bit explorer.exe on a 32-bit system. Should you have no clue, please read this: What Windows Version do I have? 32 or 64?
1. Rename your new explorer.exe to explorer2.exe and copy it into the Windows directory: C:\Windows\
2. Open the registry: Click on “Start” and enter regedit into the search field:

Regedit.exe

3. Right-click on regedit at the top and select “Run as administrator”
4. Uncollapse the following path: HKEY_LOCAL_MACHINE>Software>Microsoft>Windows NT>CurrentVersion>Winlogon
5. Change explorer.exe to explorer2.exe.
6. End the process explorer.exe via the task manager and start a new process by entering “explorer2.exe”.

If 6. is too complicated for you: Reboot or read below for more instructions how to end the process explorer.exe.

Method 2: Take Ownership + Edit Permissions via Interface

Assign Ownership of Explorer.exe

1. Right-click on explorer.exe and click on “Properties“. Go to the tab “Security“, click on “Advanced“:

Explorer.exe Take Ownership

2. Go to the tab “Owner” and click on “Edit“:

Explorer.exe Edit Owner

3. Assign the ownership to your administrator account by selecting your “Administrator account” (usually  Administrators(username\Administrators)) and click on “Apply“:

Explorer.exe assign ownership to administrator

The current owner should now be your administrator account. Confirm that!

Change Permissions of Explorer.exe

4. Click on “OK” and you will be back at the security tab of explorer.exe. There click on “Edit”:

Explorer.exe: Change Permissions

5. Select your administrator account (usually Administrators(username\Administrators ) and check the option “Full Control“. Click on “Apply“:

Full Control Explorer.exe

6. Now you can rename your explorer.exe to explorer.exe_old and copy your new explorer.exe into the Windows folder.

Restart your PC or restart explorer.exe (instructions below).

Method 3: Take Ownership via Command Prompt

Copy your new explorer.exe to C:\

Take Ownership of new Explorer.exe

Next, we take control of it!

You can either download this script: Download TakeOwnership.zip (it will add the option “take ownership to your context menu) or you can do it manually.

I usually do it manually:
Enter cmd.exe into the search field on the Start menu and right-click on cmd.exe, click on “Run as administrator”.

  • Enter cd C:\Windows\
  • Enter TAKEOWN /F explorer.exe

Terminate Explorer.exe

Open up the task manager (CTRL+ALT+DEL) and right-click on Explorer.exe and terminate it:

Replace Explorer.exe

New Task (Run…)

Don’t be shocked, your taskbar will disappear. You can always make it reappear again by launching a new task and entering “explorer.exe”.

New Task

Now click on “New Task” and enter:

  • runas /u:Administrator cmd.exe (this will launch cmd.exe as administrator)

You will be prompted for your password, enter it. If it does not work, read this tip:

Tip: If the command prompt immediately closes you did not enter an administrator password. First active the hidden administrator account of Windows 7 and then set a password for that account. Then you are able to open a command prompt via runas /u:Administrator cmd.exe.

If you receive the error: No mapping between account names and security ID’s was done please try another method of this tutorial or try running this after logging into the real admin account.

Take Ownership of old Explorer.exe

5. Take ownership of the real explorer.exe and grant permission to administrators to modify it :

  • cd C:\Windows\
  • TAKEOWN /F explorer.exe
  • ICACLS explorer.exe /grant administrators:F

Final Step: Rename and move Explorer.exe

Rename the explorer.exe and paste the new explorer.exe into the Windows folder:

  • Enter rename explorer.exe explorer.exe_old
  • Enter move C:\explorer.exe C:\windows\

Back in the taskmanager click on “New Task” and enter “explorer.exe”. Voilà, you just replaced your explorer.exe!

Explorer.exe: Class not registered

If you receive the error “Class not registered”, you might want to try this:

Explorere.exe class not registered

Start > Run > regsvr32 ExplorerFrame.dll

Make sure that ExplorerFrame.dll is a valid DLL

Make Sure that explorerframe.dll is a valid DLL

If you receive the error “The module ExplorerFrame.dll was loaded but the entry-point DllRegisterServer was not found. Make sure that ExplorerFrame.dll is a valid DLL or OCX file and then try again”, you are probably trying to launch a 32-bit explorer.exe on a 64-bit system.

Are you running a 64-bit system? Then make sure that your new explorer.exe is a 64-bit file or it won’t work!


Date posted: January 3, 2010
Filed Under: Tutorials
Tags: ,
by sOliver - Was it helpful?
delicious stumbleupon
Discuss in our forums: Tech Forums
Subscribe via Email:

About Oliver:
I am the founder of http://windows7themes.net and http://vistadesktopthemes.com. In my free time I love blogging and I am a big tech enthusiast; if there is something new out there I got to try it out! As a web developer, I also have a passion for programming and design.

38 Responses

  1. Allan Robertson said:

    Dear Oliver,
    I am currently running a version of Windows 7 which has far more themes that did the original I was using. I am awaiting my full to be registered version.

    I have made a copy of the winsxs folder which has all the current themes.

    Would it work to copy it to the next winsxs folder after installation so as to get all these themes in my final installation?

    Regards

    Allan

  2. Fxx said:

    Excellent Post! Keep up the good work

  3. sajish said:

    hi,

    i got the error msg after replacing the explorer.exe (class not registered) and i tried ‘Start > Run > regsvr32 ExplorerFrame.dll’ but still getting an error msg…

    [ the module "explorerframe.dll" was loaded but the entry-pint DLLRegisterServer was not found.

    make sure that "explorerframe.dll" is a valid DLL or OCX file and then try again ]

    i’m running win7 (64bit)

    pls help

  4. sOliver said:

    Hey sajish,

    Maybe your explorerframe.dll file is corrupt!
    Just curious, are you running Panda Antivirus?

    Try this:

    Run cmd.exe as admin (if you dont know how enter cmd.exe in the google box on this site)

    Then enter “sfc.exe /scannow”

    This will make sure that your system files are ok. Then repeat the instructions above.

    If that doesn’t work verify that the explorer.exe that you want to use is a 64-bit explorer.exe. If it’s not it won’t work.

    What exactly are you trying to do? Install a theme?

  5. Joe said:

    up until here i was successful

    C:\windows\sysWOW64>rename explorer.exe explorer.exe_old
    Access is denied

  6. Joe said:

    i missed a step. it works

  7. You can also do it so... said:

    I can do it better…

    Open taskmanager. Click on File> New Task and write regedit.
    There is open a window. Click on HKEY_LOCAL_MACHINE>Software>Microsoft>Windows NT>CurrentVersion>Winlogon
    Scroll down and doubleclick on Shell. Change explorer.exe into explorer2.exe .Make sure explorer2.exe is in the WINDOWS map. Then log off and log in.

  8. Anna said:

    This fucked up my taskbar. Now I only get the superbar, even when I have it set to small. I’m back to using my old explorer.exe, but the problem remains. Any ideas on how to fix it?

  9. sOliver said:

    Did you forget to restart your explorer? You can do that by restarting your PC or if you terminate the process explorer.exe

    I’m also not exactly sure what you mean with “now I only get the superbar”. What else would you want?

    If you had a QuickStart toolbar you can enable it like this: right-click on taskbar, “Toolbars”, “New Toolbar”.

  10. apiginabox said:

    hey i only get a black screen and a mouse i can do nothing

    pls help i dont want to format…

  11. sOliver said:

    Read through the tutorial again. If that happens you have to use your old explorer.exe again.

    You made a backup right? What is the name of your backup file?

    1. Press CTRL + ALT + DEL and then click on “New Task” (for pictures see above) and enter:

    runas /u:Administrator cmd.exe

    2. then cd to your Windows folder! Enter:
    cd c:/Windows/

    3. Rename your explorer.exe.

    Example: rename explorer.exe explorer.exe_old

    The first is the actual file that we want to rename and the latter one is the name for it.

    4. Rename your backup file, how did you call it??

    Example: rename explorer.bak.exe explorer.exe

  12. sOliver said:

    If it’s too difficult for you OR if you did not create a backup of explorer.exe, you can always restart your PC, press F8 on boot up and then select the option “Repair your computer”.

    If that doesn’t work (I’m not exactly sure) press F8 on boot up and select “Start Windows with Command Prompt”.

    Then on command prompt enter:

    sfc.exe /scannow

    This will check and repair your system files.

  13. Rodolfo said:

    Hello, first congratulations for the work. I’m from Brazil, and my text was translated into English by
    Google. :(

    Well come just say, this has not arranged a solution to this but the message “The module Explorerframe.dll
    was loaded but the entry-point DllRegisterServer was not found. Make sure that Explorerframe.dll is a valid DLL
    or OCX file and then try again “But I managed to return to work on a 64Bit system Terminating
    Process “winlogon.exe” around with this I restarted the PC and done everything working perfeict :)

  14. sOliver said:

    Hi Rodolfo. Not sure what your problem is, but often you receive the error when you replace explorer.exe with a 64bit-file on a 32bit system (or the other way around).

    Glad it works now!

  15. Rooster said:

    Hello!

    Lovin’ your themes so far. I tried the above process and was very successful until the very last step.

    I did indeed get the class not registered error message and bc I got this, I was unable to open explorer.exe and therefore there is no start>run step option.

    I did, however, use the new task to execute the regsvr32 ExplorerFrame.dll and promptly got an error saying that the file was not there.

    Any thoughts on what to do next?

    thanks much in advance & keep up the great work!

    peace
    rooster

  16. sOliver said:

    Hi Rooster,

    you are probably trying to use a 64-bit explorer.exe on a 32-bit Windows 7, am I right?

    This is not possible!

    Where did you download the explorer.exe from? If you downloaded it from this site it won’t work on a 32-bit system, because I only include 64-bit explorer.exe files. So, you would have to download ResourceHacker and follow this tutorial:
    http://windows7themes.net/how-.....ows-7.html

    I will write a tutorial how to find out what Windows version you are running, will be up shortly. I am very sure that this is your problem.

    Cheers

    By the way, I just updated the tutorial and added another method suggested by “You can also do it so”. It’s really the easiest and fastest method, but again you can’t use 64-bit files on a 32-bit system.

  17. sOliver said:

    Ok, so if you don’t know what Windows version you have, read this:
    http://windows7themes.net/what.....or-64.html

  18. Kid said:

    I can’t do that !!!
    I follow method 2 but when i restart computer, explore.exe not run

  19. sOliver said:

    Kid what error do you get? Open a command prompt (Windows + E, then enter runas /u:Administrator cmd.exe) and use the rename command to get your backup back.

    If that’s too complicated follow this tutorial:
    http://windows7themes.net/how-.....files.html

    Then learn about the difference between Windows 7 32-bit and 64-bit. You used one of our explorer.exe right?

  20. Splendid007 said:

    To: sOliver

    The Link is working now, thank you so much.
    All the best to you and your work.

    Splendid007

  21. Izz said:

    i got this explore.exe ‘class not registered’ and my whole screen is black! i dont know how to fix this. there is nothing on my screen, just black.

    please help

  22. WAY said:

    Izz you probably used the wrong 32 or 64 bit program for explorer. I did this once. What you do is after you login and you get a black screen click Ctrl+Alt+Del then start task manager. Then click new task and in the open file dialog. In the open file dialog restore your old explorer and stuff and run explorer. DONE

  23. Gam3 said:

    You can also do it so…

    Not gonna lie, his way ^^^ Is soo much easier. I was lost for 3 hours till i read his and now i have my diablo3 start button.

  24. Ghoster said:

    OK but how about 64 bit ? Do U know how the way to change the explorer.exe 64bit without any error like ” class not registered ” etc

  25. NYuan said:

    i successfully replaced the explorer.exe file, but the windows 7 theme i wanna use (Snoheso) has 3 explorer.exe files, what should i do with the other two?

  26. sOliver said:

    If a theme has several explorer.exe files you can assume that the author has created multiple start buttons (each explorer.exe will be a different one), you simply have to decide for one that you like. Try them all ;)

    If there are two explorer.exe and they are called something like explorer32.exe and explorer64.exe then there’s one explorer.exe for 32-bit systems and one for 64-bit systems.

  27. Mat said:

    Hi,
    It works, but how can I change back everything? A prompt always pops up when I open a windows folder or something at the control panel. I used method3.
    Thanks in advance!

  28. Julz said:

    Hey Im confused, where exactly do you put these files.. Im running 64 bit so do I put the explorer.exe in place of the one in sysWOW64 folder? same will the .dll files what folder, there are a few explorer.exe files one in windows folder itself and then in sys64 and sys32… pls thanks

  29. sOliver said:

    No, ignore the sysWOW64 folder.

    ONLY replace the explorer.exe inside C:\Windows\

    Read the tutorial above to replace the explorer.exe and don’t forget to create a backup of the original explorer.exe

  30. Ron said:

    I can change the ownership and rename C:\windows\system32\explorerframe.dll to *.sav and also the explorer.exe in C:\windows, then copy the provided x64 files.
    But nothing changes, no errors, but no change in startbutton or anything else.
    Not even after a re-start.
    Applying the theme is no problem.
    It does not work with any visual style ..
    What can this be?
    Windows home 64bits Dutch.

    Thanks if anyone solved this problem.

  31. Jacob said:

    hi, I do this replacing of the explorer, how is my windows supposed to look now, how much has changed, i get the apple start icon, is it possible to install the entire mac interface? :b

  32. Jacob said:

    I guess i should read the other guides in this mac theme pack, silly me.

  33. tsredus said:

    so by just copy pasting the original explorer.exe. you get back to default windows theme ?.. just want to make sure before tweaking anything..

  34. sOliver said:

    You get back the default Windows 7 start orb only by replacing the explorer.exe with the original one. You have to do the same for all other files that you replace, e.g. shell32.dll, explorerframe.dll, oobefldr.dll, imageres.dll, ehres.dll, etc. etc.

  35. César said:

    Hi! I’ve replace my explorer.exe, and everything’s alright… but when I try to do something with elevate privileges in explorer (for example add some file into C:\Windows), User Control Accounts, ask me to do it as always, I press continue, but then it appears a new message, the says Editor Unknown, and I gotta press “ok” again, is there any way to avoid that last message?

  36. sOliver said:

    I’ve updated this post and recommend everyone to simply download the registry hack at the top. This is by far the easiest way to replace system files.

    If you think the hack is not safe, open the registry file in a notepad and you will see that is basically doing what I describe above:

    - Taking owernship
    - Granting permissions

  37. Mike said:

    on this page it says “Rename your new explorer.exe to explorer2.exe and copy it into the Windows directory: C:\Windows\”
    Where do I get the “new explorer.exe”file from? In other words where is the ffile used to replace the existing explorer.exe?

    Thanks

  38. sOliver said:

    Mike, you should already have an explorer.exe, why else would you be here? Obviously, you need to download an explorer.exe somewhere.

    If you don’t have an explorer.exe download one of the themes with a Start button, they have the file explorer.exe. Most themes on our site only include a explorer.exe for Windows 7 64-bit and a bitmap file for 32-bit users.

    If you are on Windows 7 32-bit, please use a software called Start Button changer or use a Resource editor that you find on our site to modify the original explorer.exe after creating a backup.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>