

I nervously pressed the hotkey on my keyboard.This article is a collection of some of our exclusive tutorials which have helped you in learning how to restart Explorer in Windows operating system.Īctually many tips-n-tricks or troubleshooting guides posted on our website require you to restart Windows Shell so that Windows can apply the changes made by you. It took me a ton of time to realize that I had misunderstood what the RunWait command did - it didn't just wait till something was closed, it ran that thing and then waited until it was closed So, I got rid of the RunWait line, and added a RunWait before the taskkill command. So, I slapped "RunWait explorer.exe" after the taskkill command, and. But at the time, I thought it waited until a specific program was closed. It worked Or at least the first part worked, because surprise surprise, windows explorer hadn't reopened Luckily, I hadn't closed Command Prompt after testing the command, so I just typed "explorer.exe" to reopen explorer.Īfter going through the AHK docs, I finally found the RunWait command, which runs something, and then waits until it has closed.

So I simply copied the command to an AHK script, added "Run explorer.exe" on the next line, and. I got one result that restarted an app - not just Windows Explorer, any app - using AHK, but guess what - it was more than ten years old, and the code was really long and complicated anyway.īut there were more results that weren't related to AHK at all - and one of them used the taskkill command in Command Prompt to stop Explorer. I was still a beginner to AHK, so I searched online for a solution. So I tried creating a script which could restart Explorer for me automatically. Before I realized I could go to the Task Manager, find Windows Explorer in the list, right click it and click restart to fix every single bug, I used to reboot my PC.

Every time I came back to my PC and switched back to my user, countless bugs awaited me. Users are frequently switched on my Windows 10 PC, and you'll be surprised to know how many bugs arise because of user-switching.
