Home > Article > Development Tools > How to replace the Notepad that comes with the system with Notepad2
Windows XP replacement method
First rename Notepad2.exe to notepad.exe;
Enter the directory C:\windows\system32\dllcache (the dllcache directory is hidden), delete notepad.exe, and delete notepad.exe under C:\windows\system32 and notepad under C:\windows. exe (the speed must be fast, otherwise it will not succeed later!)
Finally, copy the renamed notepad.exe to the c:\windows\system32 and c:\windows directories respectively. Doing so will pop up the Windows File Protection dialog box. At this time, please select "Cancel" and then click "No".
Recommended tutorial: "notepad"
Windows 7 replacement method
Will download the registry Execute the file administrator to obtain ownership of .reg (Nut Cloud) and execute it;
Rename the downloaded Notepad2.exe to notepad.exe;
Start-Run-Enter %SystemRoot% , find notepad.exe, right-click on it and select the Get All Management Rights option, replace the renamed notepad.exe with the notepad.exe in the directory;
Start-Run-Enter %SystemRoot%\system32 , then repeat step 3 to replace.
Windows 10 replacement method
Start-Run-enter gpedit.msc;
Change Local Computer Policy-Computer Configuration-Windows Configuration-Security Settings -Local Policy-Security Options-User Account Control: Run in Administrator Approval Mode and set all administrators to Disabled;
Execute the Windows 7 replacement method. If it is invalid, execute it after restarting.
For more programming related content, please pay attention to the Programming Introduction column on the php Chinese website!
The above is the detailed content of How to replace the Notepad that comes with the system with Notepad2. For more information, please follow other related articles on the PHP Chinese website!