![]() |
|
#1
|
|||
|
|||
|
How to Replace a System Program without Modifying System Files or Permissions If you like to use replacements for system programs like notepad.exe or calc.exe then this is for you. This will show you how to use a popular replacement for notepad.exe or any other exe by using "Image File Execution Options" key in your registry. You must have Administrator privileges to edit the registry key and these settings affect all users but this is very simple, does NOT involve taking over file permissions, does NOT involve replacement of any files, and is VERY easily reversible. This works for Windows NT/2K/XP/Server 2K3/Vista/Server 2K8/Win7 KNOWN ISSUES: 1) If you use this to replace example.exe, ANY program named example.exe located anywhere will execute the replacement instead of itself. 2) If you used 'App Paths' to point to a different executable, then it bypasses this method since windows doesn't try to run the original exe 3) On x64 systems, the key for 32-bit apps is Code:
HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Image File Execution Options DESCRIPTION: The 'Image File Execution Options' registry key is used by the NT family originally for debugging applications. Conveniently, we can use this method to run another command and pass the name of the executable to it instead. The problem is that you need some way to execute a command but skip one argument since most applications are not aware that one parameter is meaningless. Here I show several examples of how to accomplish this DETAILS: Under the registry key Code:
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options Add a string value called Debugger. Modify Debugger with the command you want run. When any user tries to run any executable with the name of the subkey, Windows executes the Debugger command with path\name of the original exe and all command line parameters appended. (Did that make sense?) TEST: Create a subkey named 'notepad.exe' Add the string value Debugger Double click Debugger and enter Code:
cmd /k echo Code:
cmd /k echo "C:\windows\system32\notepad.exe" c:\some.txt Full Tutorial and example scripts Here: http://www.vistax64.com/tutorials/24...rmissions.html Last edited by selyb; 08-31-2009 at 12:47 AM. Reason: Replace a System Program without Modifying System Files or Permissions |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| New AMI BIOS tool for performing SSV2/3 and Dynamic SLIC Modification | andyp | Bios Mods | 1183 | Yesterday 08:23 AM |
| LENOVO (IBM) Bioses, especially Thinkpad. Previous requests | simkard | Bios Mods | 675 | 08-01-2009 12:30 AM |
| HELP! Flashed wrong bios?! | bokkoman | Windows Vista | 8 | 03-15-2008 01:29 PM |
| MUST READ !!! A Cost Analysis of Windows Vista Content Protection | WeAreNotAlone | Windows Vista | 3 | 09-05-2007 05:02 PM |