This time, we will introduce the causes and solutions when unsaved content is displayed when you open Notepad in Windows 11, as well as what to do when Notepad stops responding and you can't do anything when you open it.
The Notepad in Windows 11 is different from previous Notepads and has added some very useful features that many users will appreciate.

What to do if unsaved content is displayed when you open Notepad
Cause
The recently updated new Notepad (11.2307.27.0) now includes a feature that automatically saves unsaved content.
Even if the user clicks the X button to exit without saving the text, or signs out or restarts the app, the unsaved content will be restored the next time the app is started.
This is a very handy feature and it means you don't have to panic if a user accidentally closes it.
However, it seems to be an unnecessary feature for some users.
*The version of Notepad is "11.2307.27.0", but in some environments, the additional features may not be available even with the same version.
approach
You will need to make some settings to prevent unsaved content from being restored.
1. Open Notepad and click the settings button (gear icon) in the top right corner.
2. Click "When Notepad starts."
3. "Open content from a previous session" is selected, so select "Open in a new window."
4. Just click the X button.
5. A confirmation screen will then appear for all unsaved content asking "Do you want to save your changes?" If you want to save, click "Save", otherwise click "Don't save".
Now, any unsaved content will no longer be saved automatically, and the next time you open Notepad, it will open in a new, blank state.
If Notepad stops responding when you open it and you can't do anything
For example, you may have a very large file open in Notepad, which can cause it to stop responding and not allow you to do anything.
If this happens, try clicking the x button in the upper right corner several times.
You will then see the message "Notepad.exe is not responding," so click "→ End program."
You will then see the message "Reporting a Windows problem to Microsoft. Please wait..." Click "Cancel".
This will close Notepad.
However, if you leave it like this, the same thing will happen again when you open Notepad again, so try manually deleting any unsaved content in Notepad.
The last unsaved content of Notepad is stored in the following location:
C:\Users\ユーザー名\AppData\Local\Packages\Microsoft.WindowsNotepad_8wekyb3d8bbwe\LocalState\TabState
The file name is an ID-like name that is a mixture of numbers and letters.extensionis ".bin".
If you delete these files while Notepad is closed, all unsaved content will be deleted, and Notepad will open normally the next time you open it.










