Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to replace the explorer.exe in the C:\Windows directory.

I have tried to do this, through both the GUI and command prompt (ran as administrator), but I get an access denied error. It seems that being an admin on your machine is not the highest permission level after all, and only Trusted Installer can modify the file.

Does anybody know a way to replace explorer.exe that works?

(I was about to boot into safe mode and try that, but wanted to get some feedback before I do anything in-depth.)

share|improve this question

migrated from Oct 30 '09 at 21:43

This question came from our site for professional and enthusiast programmers.

Explanation: It's not that you (Admin) don't have the rights but you are using Explorer.exe to replace it. You cannot delete any running program. – Henk Oct 30 '09 at 22:21

boot from a Windows Live CD (e.g. BartPE) and replace explorer.exe

(you may have to integrate current controller drivers, how to do this is explained on the website)

if you don't have an optical drive, you can easily create a bootable pen drive from your BartPE disc with WinToFlash

share|improve this answer
+1 but I recommend UBCD for Windows instead of BartPE: - well worth the effort to create the disc. – Ricket Mar 10 '10 at 3:55

One can always boot a small Linux LiveCD, such as Puppy Linux, mount their NTFS partition, and replace your explorer.exe that way. I don't know if that will trigger a warning or not when you boot back into Windows, though.

It's a brute force way, in any case.

share|improve this answer

None of this bootable CD creation stuff is necessary (although undoubtedly fun). Just use the MoveFile Sysinternals tool. Backup first!

share|improve this answer

Boot a machine from bootable CD of USB drive and replace whatever you want in the system in question. Make sure to back up stuff you're replacing.

share|improve this answer

You need to take ownership of the file (as by default its owned by a system user - which is the root admin), once you have done this open a command prompt as an an administrator and then use task manager to kill explorer.exe

Then, and only then, you can replace explorer.exe without problem.

share|improve this answer
you should also deactivate explorer as a shell. – majkinetor Nov 8 '09 at 10:50

protected by BinaryMisfit Dec 21 '10 at 17:54

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?