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?

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

This question was marked as an exact duplicate of an existing 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

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.

  • 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.