# .:Executables ran as a notepad file:

**URL:** <https://forum.kirupa.com/t/executables-ran-as-a-notepad-file/163658>\
**Category:** Uncategorized\
**Created:** [September 24, 2005, 4:18pm UTC](https://forum.kirupa.com/t/executables-ran-as-a-notepad-file/163658 "2005-09-24T16:18:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cooleyo](https://avatars.discourse-cdn.com/v4/letter/c/8dc957/32.png) [@cooleyo](https://forum.kirupa.com/u/cooleyo)\
**Post date:** [September 24, 2005, 4:18pm UTC](https://forum.kirupa.com/t/executables-ran-as-a-notepad-file/163658/1 "2005-09-24T16:18:42Z")

</div>

Hello, when trying to remove a nefarious trojan from my PC and trying to edit a .exe file in notepad, I created a hellspawn of an error on my OS: in my registry, in HKEY CURRENT USERS / software / microsoft / windows / current versions / explorer / fileexts / .exe, I now have these two keys: application: notepad.exe and in the openwithlist subfolder: a = notepad.exe.

How do I revert to opening .exe files normally? Thanks!
