Windows XPPost your Windows XP related questions here.
Mission Statement
WindowsBBS is an online community dedicated to easily accessible technical support for those using Microsoft operating systems and other Windows software.
Our goal is to become the leading resource for computer users that require assistance with their day-to-day computer usage, including full support for networking PC's, virus & malware removal, system upgrades and general support questions.
I am seeking a manner in which to rename explorer.exe, or, write over the existing file.
I have a modified explorer.exe file in for which I would like to use in lieu of the existing explorer.exe file. It is not a major overhaul or change of pertinent strings (I've made two backups of original). Each time I attempt to rename it, XP almost instantly creates a duplicate of original. Each time I attempt a 'Save as...' or to write over explorer.exe, I get a message stating that the file cannot be created.
OK....so I'm assuming since it is a system file and it is in use it would not allow that, so I went to command line and tried:
Code:
cd\windows
ren explorer.exe
_explorer.exe
No problem, but then...
Code:
ren explorer1.exe
explorer.exe
yields:
Code:
A duplicate file name exists, or the file does not exist
The only option I can think of is to adjust the registry value to run explorer1.exe instead of the explorer.exe, but I would rather just hack the resource rather than the registry.
??IDEAS??
Last edited by BruceKrymow; 30th June 2002 at 01:57.
Didn't find the information you thought to find? Check out these Similar Threads
Yes sir, I did. You can't rename any apps while they are running. It is in use while Windows is operating and is protected by Windows File Protection. That's why it "reappears" when you rename it.
I know there is a way around this.
I can do it in the registry, but that can cause unstability sometimes after running certain programs due to the inexplicable series of 'explorer' naming of file and Windows File Protection.
Last edited by BruceKrymow; 1st July 2002 at 04:35.
Use the Task Manager to close explorer.exe. Go to Run and start yourexplorer.exe. Now rename explorer.exe to explorerold.exe. Use the Task Manager again to close yourexplorer.exe and run explorerold.exe. Rename yourexplorer.exe to explorer.exe. Close explorerold.exe and run explorer.exe.
What you provided sounded good, but it does not work. Any file other than 'explorer.exe' will preclude you from having a taskbar and control of the desktop.
Each time I attempt to rename another file to 'explorer.exe', it says it cannot be done as the file exists. As soon as the unit detects explorer.exe is not residing, it immediately creates another one. I tried 17 times to beat it to the draw, but it overwrites my renamed file.
I don't think it can be done. I've tried the same thing with Notepad, using a Notepad replacement that worked perfectly in Win98. Even when there is no "Notepad.exe" file in existence on the computer, as soon as the replacement Notepad file is copied or moved to C:\Windows, I get a message stating that the file already exists, and do I want to copy over it. Even when I say "yes", the original Notepad.exe reappears.
I haven't tried a registry hack, because, in my case, I don't think it would work ... too many built-in readme files are set to call Notepad, and wouldn't open at all.
Put both start.bat and yourexplorer.exe in C:\WINDOWS
Double click the start.bat file.
After you click the bat file you will be prompted to insert the xp cd - press the cancel button - followed by another prompt - press the yes button confirming that you want to keep the new file.
As I have not tested the above (and nor do I intend to), the advice is offered subject to the following disclaimer:-
Quote:
DISCLAIMER: This post does not reflect the thoughts or opinions of either myself, my company, my friends, my dog, parrot, canary or my cat; don't quote me on that; don't quote me on anything; all rights reserved; you may distribute this posting freely but you may not make a profit from it; taglines are subject to change without notice; taglines are slightly enlarged to show detail; any resemblance to actual persons, living or dead, is unintentional and purely coincidental; do not remove this tagline under penalty of law; hand wash only, tumble dry on low heat; do not bend, fold, mutilate, or spindle; your mileage may vary; no substitutions allowed; for a limited time only; this offer is void where prohibited, taxed, or otherwise restricted; caveat emptor; product is provided "as is" without any warranties; user assumes full responsibility; an equal opportunity tagline employer; no shoes, no shirt, no taglines; quantities are limited while supplies last; if any defects are discovered, do not attempt to fix them yourself, but return to an authorized service center; read at your own risk; parental advisory - explicit lyrics; text may contain explicit materials some readers may find objectionable, parental guidance is advised; keep away from sunlight; keep away from pets and small children; limit one-per-family please; no money down; no purchase necessary; you need not be present to win; some assembly required; batteries not included; no instructions are included; action figures sold separately; no preservatives added; slippery when wet; safety goggles may be required during use; sealed for your protection, do not use if safety seal is broken; call before you dig; not liable for damages arising from use or misuse; for external use only; if rash, irritation, redness, or swelling develops, discontinue use; use only with proper ventilation; avoid extreme temperatures and store in a cool dry place; keep away from open flames; avoid contact with eyes and skin and avoid inhaling fumes; do not puncture, incinerate, or store above 120 degrees Fahrenheit; do not place near a flammable or magnetic source; smoking these taglines could be hazardous to your health; the best safeguard, second only to abstinence, is the use of a condom; no salt, MSG, artificial colour or flavouring added; if ingested, do not induce vomiting, and if symptoms persist, consult a physician; allow four to six weeks for delivery; must be 18 to enter; disclaimer does not cover misuse, accident, lightning, flood, tornado, tsunami, volcanic eruption, earthquake, hurricane and other Acts of God, neglect, damage from improper installation, incorrect line voltage, improper or unauthorized repair, broken antenna or marred cabinet, missing or altered serial numbers, electromagnetic radiation from nuclear blasts, sonic boom vibrations, customer adjustments that are not covered in the tagline list, and incidents owing to an airplane crash, ship sinking or taking on water, motor vehicle crashing, dropping the item, falling rocks, leaky roof, broken glass, mud slides, forest fire, or projectile (which can include, but not be limited to, arrows, bullets, shot, BB's, shrapnel, lasers, napalm, gerbils, torpedoes, or emissions of X-rays, Alpha, Beta and Gamma rays, knives, hamsters, stones, etc.); other restrictions may apply.
Ok...I am willing to try anything as I don't mind crashing when I'm driving, but before I do, I would like for you to expound a bit perhaps on the mechanics behind what you have mapped out here, and, if you don't mind, I am curious as to the reference source.
The mechanics? Hopefully, pulling the renaming of the files into one (almost instantaneous) process via the use of the .bat file will get the job done prior to Windows creating another instance of explorer.exe (and will also defeat the "in-use" problem too). Maybe ...
The source? It's pieced together from the disclaimers used on a wide range of products and ... oh ... *that* source ... there isn't one! Other, that is, than my having a (very) vague recollection of having read a similar suggestion somewhere at sometime in the past!
Before I try hacking the **** out of my resource files, I am gonna give an app I found a try plus a few of the ones mentioned above that do just that as you mentioned.