How to Reset File Explorer Windows 11 in Powershell: Quick Fix

Reset File Explorer in Windows 11 using PowerShell by stopping the explorer process and wiping view cache registry settings using taskkill /f /im explorer.exe followed by removing the Streams and FolderTypes subkeys. This clears stuck folders, fixes frozen toolbars, and restarts your desktop shell in about 10 seconds.

This works because Windows stores your view preferences, cache, and open folder states inside the current user registry hive. Deleting those keys forces the system to rebuild fresh default settings the moment the task restarts.

The single biggest mistake is running commands while active file transfers are running. If you kill the process mid-transfer, you risk corrupted files and lost clipboards, so always close your open copy windows first.

Running the Reset Commands

Close up of a person typing terminal commands to reset the Windows file explorer.
Photo: www.top-password.com on Google
  1. Right-click the Start menu button on your taskbar and select Terminal or PowerShell.
  2. Type taskkill /f /im explorer.exe and press Enter to stop the desktop interface. Tip: Your screen will turn black and the taskbar will disappear; this is completely normal.
  3. Paste Remove-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams" -Recurse -Force and press Enter to wipe saved folder view settings.
  4. Paste Remove-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes" -Recurse -Force and press Enter to clear custom layout templates.
  5. Type Start-Process explorer.exe and press Enter to bring back your desktop, icons, and taskbar.

For advanced command options, review the Microsoft Learn Stop-Process documentation to manage running tasks safely. Note that this guide isn’t for managed school or workplace PCs where group policies block registry edits. The trade-off here is clear: you fix system crashes instantly, but you lose custom folder layouts and pinned quick-access items.

How Long It Takes

The commands execute almost instantly, but your hardware speed changes the exact time.

SituationHow longWhat changes itWhat to watch for
Standard SSD laptop5 to 10 secondsBackground CPU usageInstant screen flash
Older mechanical hard drive20 to 30 secondsDisk read-write speedDelayed taskbar return
Heavily corrupted user profile15 to 45 secondsRegistry hive sizePowerShell pause on remove commands

If the screen stays black for longer than 60 seconds, press Ctrl + Shift + Esc on your keyboard, click Run new task, type explorer.exe, and press Enter.

How to Tell When It’s Done

A computer screen showing a successfully reset File Explorer window on the desktop.
Photo: www.atera.com on Google

Your taskbar, Start button, and desktop icons will reappear on the screen right away. Open a new folder by pressing Windows Key + E to verify the reset worked. The window should launch without lag, displaying the original factory view settings. If you want a quick decision rule: if folders open smoothly, your job is complete; if the window still hangs or crashes, your Windows system files need repair.

Mistakes That Ruin It

A user looking at a blank screen after an error during the Windows reset.
Photo: 4sysops.com on Google
  • Forgetting to restart the process: Leaving the shell stopped leaves you with a blank screen. Always run Start-Process explorer.exe immediately after running the delete commands.
  • Deleting the parent Explorer key: Removing the entire root registry path erases custom shell extensions and pinned shortcuts that you can’t restore. Only delete the specific child paths like Streams and FolderTypes to stay safe.
  • Typing wrong paths in PowerShell: Misspelling paths causes the console to throw red error text without applying fixes. Copy and paste the exact command strings instead of typing them manually.

Frequently Asked Questions

Will Running This Command Delete My Personal Files?

No, it will never delete personal files like documents, pictures, or downloads. The script only removes cached view settings, window dimensions, and temporary layout registries stored in your user profile.

Can I Run This Without Administrator Privileges?

Yes, you don’t need administrator privileges because the commands only modify the current user hive (HKCU). Windows allows standard user profiles to reset their own layout caches freely.

Why Did My Desktop Icons Disappear After the First Command?

Your icons disappeared because explorer.exe manages the graphical user interface. Once you start the process again at the end of the steps, everything returns to your screen.

Is It Safe to Reset Explorer When Apps Are Open?

Yes, it’s safe for background apps like browsers or music players, which will keep running untouched. However, save work in open text editors first to avoid any accidental application freezes.

What Happens If the Taskbar Doesn’t Come Back?

If the taskbar fails to appear, press Ctrl + Alt + Delete to launch the Task Manager directly. Click Run new task, enter explorer.exe, and hit Enter to restore your desktop shell manually.

Leave a Comment