Sometimes you're in the middle of a productive session in Windows 10, but you need to log out or restart your PC. Normally, you'd have to reopen your apps. But with a quick change in Settings, Windows can remember and reopen non-legacy apps when you log back in. Here's how to set it up.

First, open Windows Settings. To do this, click on the Start menu and select the small gear icon or press Windows+i on your keyboard .

In “Settings”, click on “Accounts” .

In the “Accounts” section, click “Sign-in options” in the sidebar.

In the connection options, scroll down the page until you see the “Restart apps” option. Flip the switch just below it until it is set to “On.”.

After that, close Settings.
The next time you sign out and sign back in to Windows 10, what Microsoft calls “restartable apps” will automatically load. It’s up to app developers to make their apps restartable, so this may not work with all apps. However, it includes modern Windows 10 apps written for the UWP platform — which includes all apps provided in the Microsoft Store — as well as modern browsers.
Legacy applications (that use the Win32 API) written for versions of Windows prior to Windows 8 may not restart automatically.
Information source: howtogeek.com
