11 Fixes for Notepad Keeps Closing Automatically on Windows 11

Windows Notepad has undergone multiple facelifts in Windows 11 including tabs support and dark mode. But many user share that Notepad keep closing automatically on their PC. In some cases, it happens instantly after launch or while using it. The reasons for this error include glitched services, a corrupt or outdated Notepad version, and a recentWindows update. We will discuss eleven methods to fix this issue with the Notepad app.

Table of Contents

1. Perform a Complete System Shutdown

Windows 11 uses Fast Startup which hibernates kernel-level processes to ensure a swift boot up. But when these processes glitch, you will face issues with apps and hardware devices on your PC. So, you must perform a complete systemshutdown. Here’s how:

1.Press theWindowskey, typecmd, and pressCtrl + Shift + Enterkeys together.

start menu

2.The User Account Control window will launch. Click on theYesbutton.

3.Type the following command and pressEnter:

4.Power on your PC and launch the Notepad app to check if you face the same issue.

user account control window

Oftentimes, apps need administrative privileges to function properly. Since Notepad is a trustworthy app created by Microsoft, you can grant administrative privileges without any issues. Here’s how to do it:

1.Press theWindowskey, typeNotepad, and click on theRun as administratoroption.

Perform A Complete System Shutdown

2.The User Account Control window will open. Click on theYesbutton.

Use the app for a while to check if it closes automatically.

Some users share that they face issues while viewing a large file in Notepad. It happens after they reach line 27 and many were able to evade the issue by resizing the Notepad window. Here’s how to do it:

start menu

1. Opena file in the Notepad window.

  1. Hoveryour mouse to the left or right side of the Notepad window to force theresizeicon to appear.Dragthe resizer to increase the width of the Notepad window.

Check if the issue occurs again.

start menu

4. Update Notepad

If you are using a very old version of Notepad which contains bugs, you must update the app. There is no in-app option to update Notepad, so you can useMicrosoft Storeto check and install the latest update. Here’s how to do it:

1.Press theWindowskey, typeMicrosoft Store, and pressEnter.

2.Go to the bottom left section and click on theLibraryicon.

3.Click on theUpdate allbutton. It will download and install updates for all installed apps on your PC.

4. Closethe Microsoft Store.

If a third-party program or service is conflicting with Notepad, you can use Clean Boot to identify it. After that, you can either disable the service or uninstall the program completely. Here’s how:

1.Press theWindowskey, typemsconfig, and pressEnterto open System Configuration.

2.Switch to theServicestab. Click on theHide all Microsoft servicescheckbox. Then, click on theDisable allbutton.

3.Now, click on theApplybutton. Click on theOKbutton.

4. Restartyour PC.

After your PC boots to the desktop, run Notepad and check if it crashes or closes automatically. Re-enable some third-party services and check if the issue occurs again. You have to keep doing this until you identify the troublesome program and then disable or remove it permanently.

6. Repair or Reset Notepad

Notepad is a system app that supports both repair and reset via the advanced settings page. Follow the below-mentioned steps:

1.Press theWindowskey, typeNotepad, and click on theApp settingsoption.

2.Scroll down and click on theRepairbutton. Wait for the repair to complete.

3.If the repair doesn’t have any effect, click on theResetbutton. It will wipe all your settings and app data of Notepad.

7. Re-Register Windows Apps

When Notepad or other system apps do not work properly, you’re able to re-register them usingPowerShell. It saves time because you can tackle all the system apps with one command. Here’s how to do it:

1.Press theWindowskey, typePowerShell, and pressCtrl + Shift + Enterkeys simultaneously.

3.Type the following command and press Enter:

4.It will take a while to re-register all system apps.Closethe PowerShell window afterward.

Your Notepad should stop closing automatically now. If not, keep reading.

If repair and reset don’t have any effect on the Notepad problem, you must reinstall the app. It will replace a buggy or corrupt installation of the app with an updated version. Here’s how:

2.Scroll down to the bottom of the page. Click on theUninstallbutton.

3.Reconfirm your decision and click onUninstall.

4. Closethe Settings app.

5.Open Microsoft Store and search for Notepad. Download and install the app and check if it crashes abruptly or not.

9. Run an SFC and DISM Scan

You can use SFC and DISM to fix issues with your Windows PC if reinstalling the app doesn’t have any effect on the Notepad app. Run a DISM scan followed by an SFC scan on your PC. Here’s how:

1.Open Command Prompt with administrator privilegeson your PC.

2.Firstly, run the DISM scan by typing the following command and pressing Enter:

3.After that, run the SFC scan using the following command:

4. Closethe Command Prompt window after these scans are complete.

10. Remove a Recent Windows Update

Windows Updatescan also result in unexplained errors on your PC. If you face troubles with Notepad after a recent update installation, remove it from your PC. Here’s how to do it:

1.Press theWindowskey, typeUninstall updates, and pressEnter.

2.Now, find the most recent update from the list and click on theUninstallbutton.

3.Reconfirm your decision and click on theUninstallbutton.

11. Use Another Text Editor

If you still face the Notepad issue frequently and lose a massive amount of work and productivity, consider using another text editor app. We have compiled a list of thebest text editor appsfor Windows which you can check out to pick an app of your liking.

These were the eleven methods to fix the Notepad automatically closing issue on Windows 11. Completely shut down your PC and run Notepad with admin rights. After that resize the open window, use the clean boot to find conflicting apps, and use advanced settings to repair, reset, or reinstall the app.

Abhishek Mishra

Abhishek likes to tinker with operating systems and is always hunting for apps that can improve his Windows and Android experience. He devotes his spare time to keeping track of the latest developments in anime and cinema. But he occasionally goes for short rides if the weather is forgiving enough.

6 New AI Features Coming to MS Paint, Snipping Tool…

Windows Recall Is Here: Here’s Everything You Need To Know

Microsoft OneNote Icons and Symbols Meaning – App/Desktop

50 Years of Microsoft: 11 Times Microsoft Fumbled and Missed…

How to Transfer Windows 11 to a New Drive/SSD (Step-by-Step)

Microsoft Office is Now Free on Desktop – But With…

How to Install Windows 11 on PC With Unsupported Hardware

Windows 10’s End is Near: What Are Your Options?

Windows 11 Camera Not Working? Here’s How to Fix It

Windows 11 “Resume” Feature: Seamlessly Switch Devices