I want to replace the default Windows 10 calculator with CalcTape.exe in the registry. How and where would I find this in the Windows 10 registry editor? :-)
One method that isn't too invasive and can easily be undone is to use the Image File Execution Options Debugger key. This is the same method employed by Process Explorer when you replace Task Manager.
If you typically run
calc.exe to launch the Calculator this will work:
- Launch Regedit
- Navigate to :
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options
- Create a new reg
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options.
- Create a new
datavalue can then be the path to your custom exe.
A reg file export of such an update would look like the following if this is simpler to follow:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\Calc.exe] "Debugger"="C:\\temp\\test.exe"
This will work for the above scenario but then there are a number of ways to launch an application and this will not cover all of them.
The top answer will change the app that's launched with the
calc command, but the calculator key may still need further configuration:
To change the app that's launched when you press the calculator key, change the following registry value:
ShellExecute to the path you want, for example:
Alternatively, you can set up a macro: AutoHotkey: how to assign a command to the "Calc" key?