vote up 1 vote down star

A bit of an odd request I gather, but for reasons too deep to go into detail here I need to replace my explorer.exe in the C:\Windows directory.

I have tried doing it myself, through the GUI and command prompt (ran as administrator) but I get access denied. 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 that works? I was about to boot into safe mode and try it but wanted to get some feedback before I do anything in-depth.

Thanks.

flag
Whitey: This question will likely be migrated to superuser.com. When that happens, a big message will appear on this question with a link directly to SuperUser. I recommend heading over to SuperUser and setting up your account there so that you will be able to participate in it once it gets migrated. – John Rudy Oct 30 at 21:41
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 at 22:21

migrated from stackoverflow.com

5 Answers

vote up 3 vote down

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.

link|flag
vote up 2 vote down

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

link|flag
vote up 1 vote down

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.

link|flag
vote up 1 vote down

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.

link|flag
you should also deactivate explorer as a shell. – majkinetor Nov 8 at 10:50
vote up 1 vote down

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

link|flag

Your Answer

Get an OpenID
or
never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.