Skip to content

How to Stop Notepad From Opening Last Files in Windows 11

How to Stop Notepad From Opening Last File in Windows 11

Are you noticing that Notepad automatically opens content from the previous session when you attempt to open a new .txt file? This behavior is likely due to the startup settings configured in the Microsoft Store version of Notepad.

If you’d prefer Notepad to open a fresh window each time instead of displaying content from your previous session, you’re in the right place! We’ll show how to stop Notepad from opening the last files in Windows 11.

Stop Notepad From Opening Last Files in Windows 11

Notepad offers a built-in setting that allows you to tailor its startup behavior. You can either display content from your previous session or open a fresh window upon launch. To configure Notepad to open a new window each time, then follow the steps below:

  1. Open Notepad and click the gear icon in the top-right corner.
    Gear icon in Notepad.
  2. Expand the When Notepad starts option.
    When Notepad starts option in Notepad settings.
  3. Choose the Open a new windows option.
    Open a new window option in Notepad settings.

If you’re using an older version of Notepad, the option may be named Restore the previous session or Reopen files from the last session.

And that’s about it. With this setting enabled, Notepad will open a new window when you launch the application instead of showing previously opened files.

How do I stop Notepad from opening previous files?

To stop Notepad from opening previous files, open Notepad, click the gear icon, expand the When Notepad starts option, and choose the Open a new window option.

How do I stop Notepad from opening on startup Windows 11?

To stop Notepad from opening on startup on Windows 11, open the Task Manager by pressing the Ctrl+Shift+Esc keys together. In the Task Manager, click the Startup apps option, locate Notepad in the right pane, right-click on it and choose Disable.

Read Next: How to Add Copilot to Context Menu on Desktop in Windows 11

Leave a Reply

Your email address will not be published. Required fields are marked *