Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

This question is an exact duplicate of:

For certain reasons (another program interferes with processes matching *.exe), I need to rename an executable to foo.exe. How can I do this while retaining references, shortcuts, file associations, etc? I don't suppose a computer-wide (including the registry) Find-and-Replace exists?

share|improve this question

marked as duplicate by slhck Dec 28 '13 at 10:54

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

3  
Let's avoid the XY Problem, what's the ACTUAL problem you're trying to deal with? –  Ƭᴇcʜιᴇ007 Dec 27 '13 at 19:59
    
The problem is a Java application that monitors process image names and self-terminates if a blacklisted process is run. I've subverted it by renaming the blacklisted executable. I was also able to re-register the file associations within the renamed program (and it points to the renamed program, not the original filename). If you'd like to help with the root of the problem, it's unanswered here: superuser.com/questions/692408/… –  Caspid Dec 28 '13 at 2:44
    
As @techie007 said, we don't encourage questions that exhibit an XY issue. Please clarify your original question if needed. –  slhck Dec 28 '13 at 10:55

1 Answer 1

You don't. This is a very bad idea. No good can come of this. Best course of action is to resolve the root cause instead.

share|improve this answer
2  
Especially if there's another EXE someplace named the same thing. :) –  Ƭᴇcʜιᴇ007 Dec 27 '13 at 19:58

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