How to Restart Explorer.Exe Via Cmd.Exe

File Explorer -- formerly known as Windows Explorer -- controls the desktop, the taskbar and all folder windows within the Windows operating system. When Explorer freezes, some or all of these components stop responding. Rather than reboot your computer and lose unsaved work, run the command prompt and use the taskkill command to quit Explorer and then reopen it. This trick won't work if your PC has frozen to the point that it can't open the prompt, but when it does work, most programs continue running without interruption.

...
With Explorer closed, Windows 8 displays only a blank Start screen.

Step

Press "Windows-R," type "cmd" and press "Enter" to open a command prompt window. Windows 8 also has a link to the command prompt in the "Windows-X" shortcut menu, but this menu might not open if Explorer has frozen completely.

...
Run the command prompt.
...
Kill the explorer.exe process.

Step

Run the command "taskkill /f /im explorer.exe" without quotes to quit Explorer. The "/im explorer.exe" part of the command identifies the program to close, and the "/f" switch instructs taskkill to forcibly close the program. Without including "/f," the command won't work on Explorer. When Explorer closes, your desktop, the taskbar and all open folders vanish, but the command prompt remains on screen.

...
Restart Windows Explorer.

Step

Type "explorer.exe" without quotes and press "Enter" to restart Explorer and bring back the desktop and taskbar. Some taskbar tray icons might not reappear after restarting Explorer. To refresh the icons, close any open programs, log out of your Windows account and log back in.