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.2.1.0.256.48
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
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

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,
Shawn
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
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

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
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

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
Reply

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




Thread Tools



Similar help and support threads for2: Notepad crashes when I perform a Save As followed by Enter key
Thread Forum
Windows 7 cannot boot or cannot enter save mode. Hardware & Devices
Notepad save is broken? Software
Notepad ..do you want to save changes? Saved changes by mistake... General Discussion
Notepad (and Wordpad) Save Files Differently Software
How to Make Notepad Save Txt Files As unicode? Software
Help please...can't save anything from Word or Notepad 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 10:05 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33