Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Notepad crashes when I perform a Save As followed by Enter key

11 Oct 2011   #1

Windows 7 Professional x64
Notepad crashes when I perform a Save As followed by Enter key

A few weeks ago I changed the file association for .html files to open with Notepad (instead of IE) and since then I have noticed that often when I perform a Save As action in Notepad (on an .html file) and then press the Enter key (as opposed to the Save button) Notepad "stops working" and generates the following message:

Problem Event Name: APPCRASH
Application Name: NOTEPAD.EXE
Application Version: 6.1.7600.16385
Application Timestamp: 4a5bc9b3
Fault Module Name: SHELL32.dll
Fault Module Version: 6.1.7601.17514
Fault Module Timestamp: 4ce7c9a6
Exception Code: c0000005
Exception Offset: 000000000009a749
OS Version: 6.1.7601.
Locale ID: 1033
Additional Information 1: f922
Additional Information 2: f922ad710d39d1f04b5027ff61f673a8
Additional Information 3: 18ef
Additional Information 4: 18efcb8a16274a1dd69a2430a38eab69

Note that I used a program called Default Programs Editor to make the change. Has anyone seen anything like this? Is there a way to reinstall Notepad independently? In every other way Notepad works fine.

PS: As for the reason I used a third party app to change the default program, I tried to do it "normally" but it wasn't sticking. But I realized after that the reason it wasn't sticking is because that change somehow prompted IE to think it wasn't the default browser, and when the message came out asking me if I wanted to make IE the default browser, it undid the file association to Notepad. I only realized this after the fact.

Thank you!

My System SpecsSystem Spec
11 Oct 2011   #2

64-bit Windows 10 Pro

Hello HandsomeP,

You might see if downloading and merging the HTML option in the tutorial below may be able to help by restoring the default associations for .html files.

Default File Type Associations - Restore

Hope this helps,
My System SpecsSystem Spec
11 Oct 2011   #3

Windows 7 Professional x64

Thank you, that looks very interesting. I had another idea shortly after the post, I used the same third party app that I used to initially make the changes (Default Programs Editor) to change them back, in essence by copying all the entries for the .htm extension to the .html extension. I'll see how that works out. If there are still problems, I will follow the link above.
My System SpecsSystem Spec

11 Oct 2011   #4

64-bit Windows 10 Pro

You're welcome. Please let us know how it goes. :)
My System SpecsSystem Spec
12 Oct 2011   #5

Windows 7 Professional x64

Happened again, my fix didn't stick. I tried your suggestion and clicked on registry entry to restore file associations for .html, but to no avail. The peculiar thing is that there are strange ways to make the error go away (sometimes anyway). For example, just now I was working on A.html. When I tried to save it as B.html, Notepad crashed. If I reopen A.html and try to save it as B.html the same thing happens (and will continue happening). I tried your suggestion, then repeated the process, still the same result. Then I tried opening C.html and was able to save it as D.html. After that point I am able to open A.html and save it as B.html. Even when pressing the Enter key (as opposed to the Save button) which seems to be what crashes Notepad. So far so good again. Strange...
My System SpecsSystem Spec
12 Oct 2011   #6

64-bit Windows 10 Pro

Well, the next step would be to see if running a sfc /scannow command may be able to fix any possible corrupted system files that may be at fault.

If this still does not help, then you could do a system restore using a restore point (if available) dated before this happened to undo it.

If it's still a no go, then as a test create a new administrator account to see how it works while logged in the new account.
My System SpecsSystem Spec
13 Oct 2011   #7
Microsoft MVP

Vista and now 7 in 32 and 64 bit.

I have had the problem from time to time. I am an experimenter so, in my case, I found restoring an earlier (Acronis) image did the trick. Othet than that I failed on all counts to get notepad working again.
In the end, I installed EditPad lite, which is, in any case, a superior program. Works like a charm!

But, to the point, I suspected the original fault has something to do with the use of Ccleaner. Since the problem started, I have twice upgraded Ccleaner to a later version and (I think!) the problem has gone away.
My System SpecsSystem Spec
13 Oct 2011   #8

Windows 7 Professional x64

Yeah, I have Ccleaner installed as well as Advanced System Care 4. I'm always afraid to press enter when they find registry entries that they suggest deleting. I dunno, you'd think they have no problem with a straightforward program like Notepad. Won't point the finger at these just yet as I do a lot of experimenting and tweaking myself, but I'll keep them in mind as possible culprits... I have Notepad++ installed which is also really great-looking, I'm such a creature of habit though, it's hard to break the habit of my old friend Notepad.
My System SpecsSystem Spec

 Notepad crashes when I perform a Save As followed by Enter key

Thread Tools

Similar help and support threads
Thread Forum
Notepad won't close force save?
Hello In notepad when I go to close "X out" it automatically gos to the desktop to save. There is no prompt to save or cloes without saving? Has anyone heard of this? I remember something like this happening when trying to print issues. Thanks
General Discussion
Windows 7 cannot boot or cannot enter save mode.
Hello, I'm a new member of this forum, but I have a problem, last 2 days my laptop crush without any reason so I contact my friend and he told me that my laptop need Hard Disk Replacement, So once he repair it and I have to transfer all my important document to my laptop then suddenly a blue screen...
Hardware & Devices
Notepad save is broken?
Recently my little Notepad has been broken. I'm not sure when it started happening, but every time I try to use it, this happens: Broken notepad.png I can open it fine, type fine, etc, but every time I click Save or Save as, the above happens. No matter what option I click, the box just disappears...
Notepad you want to save changes? Saved changes by mistake...
If anyone can help plsss? On notepad by mistake i saved changes instead of cancel , dont save & lost my existing notes. Does anyone know if i can get this back and how? Any help would be appriciated
General Discussion
Help please...can't save anything from Word or Notepad
Since few days, when I want to save anything from Word OR notepad. I cannot because there is no option to write the name of the file.A new windows appear, where there are buttons to save or cancel but no place to write the name of file....completely weird. I hope that I made you understood,what...
Microsoft Office

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 11:00.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App