The current edit.exe executable is located in the C:\Windows\System32 directory. Even with local administrator privileges, the system prevents overwriting this file with a newer version.
If I place the new version of the executable in the C:\Windows directory, the system still defaults to the version in System32 because the System32 path takes priority over the Windows path in the environment hierarchy.
How can I resolve this and ensure the new version is the one being executed?
I just want to use the most standard and common method. I don't want to place it in a different directory, nor do I want to use any symbolic links. This is an issue that Microsoft should be responsible for solving.
The current edit.exe executable is located in the C:\Windows\System32 directory. Even with local administrator privileges, the system prevents overwriting this file with a newer version.
If I place the new version of the executable in the C:\Windows directory, the system still defaults to the version in System32 because the System32 path takes priority over the Windows path in the environment hierarchy.
How can I resolve this and ensure the new version is the one being executed?
I just want to use the most standard and common method. I don't want to place it in a different directory, nor do I want to use any symbolic links. This is an issue that Microsoft should be responsible for solving.