How to Open Notepad with Previous Session in Windows 11
Opening Notepad with your previous session in Windows 11 lets you automatically restore all open tabs and unsaved work right where you left off. This built-in feature saves time by loading your last active documents the moment you launch the app, so you never have to hunt for lost files.
You can easily control this behavior in the Notepad settings menu. Simply open Notepad, click the gear icon in the top right corner, and look for the startup options to choose whether to open previous tabs or start with a fresh blank window.
Open Notepad and click the Settings (gear) icon. Under “When Notepad starts,” choose “Open content from the previous session” to restore your tabs. Select “Open a new window” for a fresh start each time.
Troubleshooting Notepad++ Session Issues
Switching gears to Notepad++, missing files often point to trouble with `session.xml`, which keeps track of active tabs.
Where does Notepad++ store session files?
Notepad++ stores your previous session files inside a configuration file named session.xml located in the AppData folder (a hidden user profile directory storing application settings at 📁C:\
How to recover unsaved text files
Missing work requires checking the backup directory. That specific storage location sits at `📁C:\
Warning: Clearing AppData
Administrator permissions are required to access and change these system folders. Proceed with caution.
Summary
Managing sessions in Windows 11 Notepad happens by toggling the restore setting inside the application options. Notepad++, alternatively, relies on a `session.xml` file to record current work.
Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.
No comments yet — be the first to share your thoughts!