Fix File Explorer Tabs Reordering on Every Launch in Windows 11
🔍 WiseChecker

Fix File Explorer Tabs Reordering on Every Launch in Windows 11

Quick fix: File Explorer in 23H2 and earlier doesn’t persist tab order — tabs reopen at default state on every launch. Update to 24H2 or later (which fixes this), or use the registry value HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Modules\NavPane\PinnedToTop to pin frequently-used tabs to consistent positions.

You opened File Explorer, set up four tabs in a specific order (Downloads, then C:\Projects, then Documents, then the network share), and closed the window. Next time you opened Explorer, the tabs were missing or in a different order. The tabs feature was new in Windows 11 22H2 and didn’t persist state in early builds. Improvements landed in 23H2 and 24H2, but persistence still has rough edges.

Symptom: File Explorer tab order or selection resets between launches on Windows 11.
Affects: Windows 11 22H2, 23H2, with partial fixes in 24H2.
Fix time: 10–20 minutes.

ADVERTISEMENT

What File Explorer tabs persist (or don’t)

File Explorer in Windows 11 stores its UI state in a per-user binary key under HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags. The Bags system has handled per-folder view settings (sort, columns, icon size) for years. Tab state was added to a separate location in 22H2 but the persistence model didn’t survive process restart cleanly — if Explorer crashed or you closed it via Task Manager rather than the X button, tab state was lost.

24H2 added a proper session storage. Updates after that improved it further. If you’re on 23H2 or earlier and the behavior is unacceptable, the right answer is to update.

Method 1: Update to 24H2 or later

  1. Open Settings → Windows Update.
  2. If Get the latest updates as soon as they’re available is off, turn it on — this opts you in to feature updates earlier.
  3. Click Check for updates. If 24H2 (or newer) is offered, install it. Otherwise wait a few weeks; Microsoft staged rollout makes the update gradual.
  4. After updating, open File Explorer, arrange tabs in your preferred order, and close the window via the X button (not Task Manager).
  5. Reopen Explorer. Tabs should reappear in the order you left them.

If you can’t update yet (compatibility hold, IT policy, etc.), continue to Method 2.

ADVERTISEMENT

Method 2: Use Folder Window startup script

For consistent tabs across launches without waiting for 24H2, script the tab restoration on Explorer startup.

  1. Open Notepad and paste:

    $folders = @(“C:\Users\$env:USERNAME\Downloads”, “C:\Projects”, “C:\Users\$env:USERNAME\Documents”, “\\fileserver\share”)

    foreach ($f in $folders) { Start-Process explorer.exe -ArgumentList “`”$f`”” ; Start-Sleep -Milliseconds 300 }
  2. Save as C:\Scripts\open-my-folders.ps1.
  3. Open Task Scheduler → Create Task. Name it My Explorer Tabs.
  4. Trigger: At log on, any user.
  5. Action: powershell.exe with arguments -ExecutionPolicy Bypass -WindowStyle Hidden -File C:\Scripts\open-my-folders.ps1.
  6. Save.

The script opens each folder in its own Explorer window. They’re separate windows, not tabs — but they appear consistently on every login in a predictable order. Many users actually prefer this to tabs because it lets them use Win+Tab.

Method 3: Pin folders to Quick Access for one-click reopening

If the goal is “always have these locations available,” Quick Access is the lower-friction native solution.

  1. Open File Explorer.
  2. For each folder you want easy access to, right-click and choose Pin to Quick Access.
  3. The pinned folders appear at the top of the left sidebar in every Explorer window.
  4. To reorder, drag pinned items up and down in the sidebar.

This isn’t tab-based, but it eliminates the “where did my Downloads tab go” problem by always having one click to get there.

How to verify the fix worked

  • (24H2+) Open Explorer, arrange tabs, close, reopen. Tabs are in the same order.
  • (Script) Sign out and back in. The configured folders open as separate windows automatically.
  • (Quick Access) The sidebar shows your pinned folders in the order you arranged them, in every Explorer window.

If none of these work

If you’re on 24H2+ and tabs still don’t persist, the user profile might have a corrupted Bags database — reset it: open elevated PowerShell, run Remove-ItemProperty -Path “HKCU:\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags” -Name * (this clears view preferences too; back them up first if you care). Sign out and back in. Explorer rebuilds from scratch. For chronic tab issues, try a third-party file manager — Files (free, open-source, in Microsoft Store) and Directory Opus (paid) both have rock-solid tab persistence as their core feature.

Bottom line: Native tab persistence in Explorer matured in 24H2 — update if you can. Otherwise, scripted folder restore or Quick Access pinning are the lower-tech alternatives that work consistently.

ADVERTISEMENT