Fix Notepad last session text files start automatically in Windows 11

A trick to solve Fix Notepad last session text files open automatically in multiple tabs in Windows 11.

Notepad last session text files start automatically

On Windows 11 22H2, you may face Notepad multiple tabs opening simultaneously after launching the app. Recently, Tab feature was released to Notepad but this annoying issue made it painful. The app automatically opens with earlier sessions’ text files even when you launch it from Start menu or desktop shortcut. When you open your previously saved text file this problem also occurs. Fortunately, this issue is resolvable so we are addressing to fix Notepad last session text files open automatically.

This Notepad problem actually occurs because of a default setting of this app named “Open content from the previous session”. The setting is added after the release of tabbing in the application. When this is enabled you will encounter multiple earlier text files running in different tabs automatically. Let’s see how to deal with this:

Notepad last session text files start automatically in Windows 11

Here is how to fix Notepad last session text files start automatically in Windows 11:

Change the default setting in the app

However, changing the default setting will solve the issue but here carefulness is very important. The Notepad with tabs includes 2 settings – 1] Open content from the previous session and 2] Open a new window. Switching to the second option will cause all the saved text files to disappear. Recovering the saved and unsaved Notepad files will be troublesome after the change.

Therefore, before switching to Open a new window when Notepad starts, save all the text files manually on a location such as desktop, document, or other where you prefer. I am trying to make you understand through steps:

  1. Open Notepad and click on Settings from the top right part of the file.
how to fix Notepad last session text files start automatically in Windows 11
  1. On Settings, go to the bottom and click on When Notepad starts.
  2. Check the option Open a new window.
when notepad starts open a new window
  1. You quickly see that all previously saved files are gone. Nothing to be panic about because these will be recovered. Again go to Notepad Settings and select the previous option “Open content from the previous session” from “When Notepad starts”.
  2. Close the app and again open it. You will experience that all previous tabs are restored.
  3. Now, go to a tab and click on File > Save as.
fix Notepad last session text files start automatically
  1. Name the file and Save it to the desktop or document or where you want.
  2. Save each of the tab’s content sequentially.
  3. Then again navigate to Notepad Settings by clicking on its icon.
  4. In the When Notepad starts section, check Open a new window.
  5. You will see that all your files are safe and they are not missing.
  6. This is a trick that recovers the files but we are waiting for Microsoft to fix this bug.
  7. This way you can fix Notepad last session text files start automatically in Windows 11.

See: Fix Text disappears and reappears while typing in Windows 11 or 10

Method:
Change the default setting in the app

That’s all!!

Sharing is caring    Share Whatsapp

 
Topics:  Windows
  
About Sunita
Love to play with Windows 11 and 10. Suggestion - Going for Registry change or system files edit then remember to take a backup or create a restore point before Starting.