Restore Accidentally Closed Files, Programs, and Folders in Windows

Accidentally closed a file, program, or folder in Windows? The quickest fix depends on what disappeared: reopen a folder from File Explorer, launch a closed app again, or use the program’s own recent-file or recovery menu. Windows does not have one universal “undo close” shortcut for every application.

These methods cover Windows 11 and, where noted, Windows 10. They also explain what to do when a document was closed without saving.

1. Reopen a folder you just closed

  1. Press Windows + E to open File Explorer.
  2. Select Home and look under Quick access for pinned or frequently used folders. If you know the folder name, search for it from File Explorer.
  3. Select the folder to open it again. If you know its location, you can also type the path into the address bar.

The Home page can surface recent files as well, but the items displayed depend on your Windows version and personalization settings. Do not assume that every folder you closed will appear in a history list.

Windows 11 File Explorer Home showing Quick access folders and a recent file list
File Explorer Home helps you return to an existing folder or recently accessed document.

2. Restore File Explorer windows after you sign in

If you want Windows to bring back folder windows after signing out or restarting, enable the relevant File Explorer setting before your next session:

  1. Open File Explorer.
  2. In Windows 11, choose See more (…) > Options. In Windows 10, open View > Options.
  3. Choose the View tab, select Restore previous folder windows at logon, and click Apply and OK.

Microsoft documents restoration of previously open File Explorer tabs with this option on updated Windows 11 systems. It is for your next sign-in; it is not an undo command for a window you have already closed. See Microsoft’s Windows 11 File Explorer release notes.

File Explorer Folder Options View tab with Restore previous folder windows at logon checked
Check this option to reopen eligible folder windows at your next sign-in.

3. Reopen an accidentally closed program

If an application was closed normally, press the Windows key, type its name, and select it to launch it again. You can also choose an app pinned to your taskbar or Start menu. Reopening the executable does not necessarily restore its last document, tabs, or unsaved changes.

For future restarts, Windows 11 offers an optional restartable-app setting:

  1. Open Settings > Accounts > Sign-in options.
  2. Turn on Automatically save my restartable apps and restart them when I sign back in.

This only helps apps that support the Windows restart mechanism, and it is not designed to recover a program that you manually closed earlier. Microsoft documents the setting in its sign-in startup guidance.

Windows 11 Settings Accounts Sign-in options with the restartable apps toggle switched on
The restartable-apps toggle applies to supported apps when you sign back in.

4. Recover a file closed without saving

A closed document and a deleted file are different problems. First, reopen the app and check its Recent or Open list. If you lost edits in Microsoft Word, try its built-in recovery feature:

  1. Open Word and select File > Info.
  2. Open Manage Document > Recover Unsaved Documents.
  3. If a recoverable copy appears, open it and immediately choose Save As.

If the document was previously saved, check File > Info for a recovered version. Availability depends on AutoRecover settings and whether a recovery copy exists. Microsoft provides details in its Word recovery instructions.

Microsoft Word File Info screen with Manage Document and Recover Unsaved Documents menu
Look for Recover Unsaved Documents in Word before assuming your changes are gone.

Other fast ways to restore what you closed

Reopen a browser tab

In Microsoft Edge, press Ctrl + Shift + T to reopen the last closed tab. Repeat the shortcut for earlier tabs, or open History to locate a website. This is a browser shortcut, not a general File Explorer or Windows app shortcut. See the official Microsoft Edge shortcut list.

Restore a deleted or overwritten file

If the file itself is missing, check the Recycle Bin first. If you had File History backups enabled before the incident, find the containing folder in File Explorer, right-click it, and choose Restore previous versions. Preview a version and restore to a separate location when possible, so you do not overwrite a newer file. See Microsoft’s Windows recovery overview.

What about the old ReOpen utility?

The original version of this article covered ReOpen, a small tray utility that historically listed closed folders, files, and programs and offered a Shift + Page Up hotkey and an Open Selected command. Those details describe the older tool, not native Windows functionality. Its original documentation focused on Windows XP, Vista, and 7; current Windows 11 compatibility and the safety of available downloads have not been independently confirmed. Avoid installing an unverified copy from a third-party download mirror.

Bottom line: Use File Explorer to locate a folder, your app’s recovery features for unsaved work, and Edge’s Ctrl + Shift + T for browser tabs. Enable session-restoration settings in advance if you want supported windows to return after signing in.

Leave a Comment

Convert Photos to Paintings, Sketches, and Cartoons With FotoSketcher

Convert Photos to Paintings, Sketches, and Cartoons With FotoSketcher

Turn a photo into a painting, pencil sketch, or cartoon with FotoSketcher Studio. Learn how to choose an effect, adjust the preview, and save your artwork.

Analyze and Identify Audio Files in Detail With Audio Identifier

Analyze and Identify Audio Files in Detail With Audio Identifier

Learn what Audio Identifier reveals about bitrate, encoders, and tags, how its legacy workflow works, and which current tools inspect files or identify songs.

My Photo Index: An Open-Source Photo Organizer for Windows

My Photo Index: An Open-Source Photo Organizer for Windows

My Photo Index is a legacy Windows photo cataloger for tagging, rating, and browsing local images. Review its documented features, compatibility limits, and a maintained alternative.

Change File and Folder Attributes, Dates, and Times With Attribute Changer

Change File and Folder Attributes, Dates, and Times With Attribute Changer

Learn how to use Attribute Changer to edit Windows file attributes and timestamps, update JPEG EXIF photo dates, and preview batch changes safely.

pViewer: A Minimal Image Viewer and Manga & Comic Reader

pViewer: A Minimal Image Viewer and Manga & Comic Reader

Learn what pViewer does, how its photo and comic modes work, which Windows edition to download, and how the legacy and rewritten versions differ.

How to Set a Different Wallpaper on Each Monitor in Windows 10

How to Set a Different Wallpaper on Each Monitor in Windows 10

Set a separate wallpaper for each Windows 10 monitor, identify displays, adjust image fit, and troubleshoot missing monitor choices.

NeoDownloader: Set Parameters and Batch-Download Images from Websites

NeoDownloader: Set Parameters and Batch-Download Images from Websites

Learn how to create a NeoDownloader project, choose a crawl scope, set image filters and a destination, and review batch downloads.

How to Switch to the Next Desktop Background With a Hotkey in Windows 7 and 8

How to Switch to the Next Desktop Background With a Hotkey in Windows 7 and 8

Set up a Windows 7 or 8 slideshow, create a small VBScript shortcut, and assign a keyboard hotkey to advance to the next wallpaper.

XnConvert: Apply Effects and Convert Image Formats in Batches

XnConvert: Apply Effects and Convert Image Formats in Batches

Use XnConvert to apply effects, resize photos, and convert image formats in batches. Choose output settings, preview edits, and protect your originals.

Track Work Hours and Computer Usage With ManicTime

Track Work Hours and Computer Usage With ManicTime

Learn how ManicTime tracks application use, active and idle time, and documents, then turn your activity history into project tags and timesheets.