Yes. Run taskkill /f /IM explorer.exe in Command Prompt to close Explorer, then start explorer.exe to bring it back. [1] The same two commands work on both Windows 11 and Windows 10. [2]
A restart is a quick fix when your Windows 11 screen freezes, and it is also a fast way to apply a registry tweak without signing out. [1] File Explorer problems such as freezes, unresponsiveness or errors can often be resolved by a simple restart. [2]
This article covers what to expect when Explorer closes, the exact steps, what to do if the desktop stays blank, and when this method is the right choice.
Key takeaways
Two commands do the job:
taskkillandstart explorer.exe.The commands are the same on Windows 11 and 10.
It helps with freezes and registry tweaks.
What happens when you restart Explorer, and how do you open Command Prompt?
Restarting Explorer briefly removes more than the File Explorer window: the taskbar, desktop and File Explorer windows all go away for a moment and then come back. That is normal. Explorer is also tied into the taskbar and Start menu, which is why they disappear with it. [2]
Save your work before you run anything. Any open File Explorer windows will close, so finish copying or moving files first, and save documents in other apps so nothing is lost if the screen flickers.
Open Command Prompt
The simplest route is Start search. Click the Start icon on the taskbar, type cmd, and press Enter. [3] Windows 11 users can also run it as administrator, which is the way one guide opens it for these commands. [1]
If the taskbar or Start menu is stuck, press Ctrl+Shift+Esc to open Task Manager, then choose Run new task and type cmd. [2]
Other ways to restart
Task Manager and Windows PowerShell can also restart Explorer, but they are not covered in this guide. [1]
How do you restart File Explorer with Command Prompt?
Two commands do the whole job: one closes Explorer, the other starts it again. Run them in order from the same Command Prompt window.
Open Command Prompt. E4 launches it as administrator, so right-click it and choose that option if you want to match those steps. [1]
Type the following command and press Enter. The screen will go blank for a moment as the taskbar and desktop disappear.
taskkill /f /IM explorer.exe
The /f switch forces the process to close, and /IM explorer.exe names the process to end. [4]
Type this command and press Enter to launch Explorer again.
start explorer.exe
This starts a new Explorer process. [4]
Wait a few seconds. The taskbar and desktop icons should return, and you can close the Command Prompt window.
Typing each command separately and pressing Enter after each one is how the steps are laid out for Windows 11. [1]
Windows 11 vs. Windows 10
The commands are the same on both. The Windows 10 steps use taskkill /f /IM explorer.exe and start explorer.exe just like Windows 11 does. [4][1]
Only the way you open Command Prompt looks different, because the Start menu and search box are laid out differently in each version.
What if the desktop or taskbar stays blank?
If the desktop and taskbar go blank after you end Explorer, the fix is usually one command away. Explorer powers the taskbar and desktop, so they come back once it relaunches.
The Command Prompt window is still open
Click into that window and type this command, then press Enter:
start explorer.exe
The start command launches explorer.exe again, and the taskbar and desktop should reappear. [4][1]
The Command Prompt window closed
Use Task Manager to start Explorer yourself:
Press Ctrl+Shift+Esc to open Task Manager. [4]
Select Run new task. If you only see a short view, click More details first.
Type
explorer.exeand press Enter.
The taskbar and desktop should return within a few seconds.
If Explorer still won’t start
If explorer.exe fails to launch or File Explorer will not open, Microsoft has a dedicated troubleshooting page called “Fix File Explorer if it won’t open or start.” It applies to both Windows 11 and Windows 10. [5] Work through the steps there in order, since they go deeper than a simple relaunch.
When is this method worth using?
This method is most useful when the mouse or taskbar is unresponsive, or when you need Explorer to pick up a registry tweak. In both cases a restart is a quick fix that does not require rebooting the PC. [1]
You only need to remember two commands: taskkill /f /im explorer.exe to stop Explorer and start explorer.exe to bring it back. [1]
If the problem returns after a restart, the cause is likely deeper than a stuck process. The cluster’s articles on resetting File Explorer settings and on restarts that don’t work are the next place to look.
