Jump to content



Photo

Reversing a Registry Entry

notepad notepad++

  • Please log in to reply
6 replies to this topic

#1 +Yorak

Yorak

    Insubordinate

  • Joined: 06-February 05
  • Location: Virginia

Posted 09 July 2012 - 13:46

So today I installed Notepad++ again as I realized that I have not used it in some time. I remember checking this thread about replacing Notepad. There was a link to this forum post where there were there were a few solutions. The last few times I had used it, I got this batch script called Notepad-to-NotepadPP, but it seems as if that has been abandoned by the developer. I tried doing what the last post recommended, and it did not work very well. So now I have to reverse this registry entry, or simply remove it. I am not exactly sure how to do it. Manually, I was unable to find it. The entry is as follows:

reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe" /v "Debugger" /t REG_SZ /d "\"%~dp0notepad++.exe\" /z" /f pause




#2 omnicdoer

omnicdoer

    ☕☕☕☕☕☕⚡⚡⚡⚡⚡

  • Joined: 18-February 08
  • Location: ☕☕☕☕⚡⚡⚡⚡⚡

Posted 09 July 2012 - 13:53

Running the following in a batch file/command prompt should restore notepad back to normal behavior.
reg delete "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe"

#3 Hum

Hum

    totally wAcKed

  • Tech Issues Solved: 4
  • Joined: 05-October 03
  • Location: Odder Space
  • OS: Windows XP, 7

Posted 09 July 2012 - 13:53

If you use System Restore, that would be the easiest way.

#4 omnicdoer

omnicdoer

    ☕☕☕☕☕☕⚡⚡⚡⚡⚡

  • Joined: 18-February 08
  • Location: ☕☕☕☕⚡⚡⚡⚡⚡

Posted 09 July 2012 - 13:55

If you use System Restore, that would be the easiest way.


I think that's a bit overkill to reverse one registry entry when it only takes one command to fix.

#5 Hum

Hum

    totally wAcKed

  • Tech Issues Solved: 4
  • Joined: 05-October 03
  • Location: Odder Space
  • OS: Windows XP, 7

Posted 09 July 2012 - 13:59

^ Well, it has worked for me, many times. I use it immediately if there is a problem. ;)

#6 OP +Yorak

Yorak

    Insubordinate

  • Joined: 06-February 05
  • Location: Virginia

Posted 09 July 2012 - 14:08

Thanks everyone. :) I must have been far too tired last night, because the registry entry wasn't exactly hiding. It was right in front of my eyes. I simply deleted it, and got things back to normal. :)

#7 The King of GnG

The King of GnG

    Knight and King of the Great Hell Village

  • Joined: 06-February 12
  • Location: Italy
  • OS: Windows
  • Phone: Windows Phone

Posted 09 July 2012 - 17:21

Alternative solutions for removing/restoring Registry stuff modified by a software installation routine:

http://www.martau.co...l-uninstall.php

You can't get a better solution than this....



Click here to login or here to register to remove this ad, it's free!