Use Image hijacking to replace notepad with notepad2

Source: Internet
Author: User

Create the following registry key:

HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe


If it cannot be modified, right-click to obtain the permission;

In the notepad.exe registry key, create a string value named debugger (reg_sz );

Modify the data in the "debugger" string to the complete path of notepad2.exe and end with the/Z parameter.

For example:

"C:\Program Files\Notepad2.exe" /z


Or directly create the following registry file and then import it:

Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe]"Debugger"="\"C:\\Program Files\\Notepad2.exe\" /z"


Notepad2 Original: http://www.flos-freeware.ch/notepad2.html

Notepad2-mod: http://code.google.com/p/notepad2-mod/

Replacing Windows notepad with notepad2:

Http://www.flos-freeware.ch/doc/notepad2-Replacement.html

Use Image hijacking to replace notepad with notepad2

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.