New
#1
Is there a command to shut down explorer.exe cleanly?
Hi everybody. I'm looking for a way to properly shut down explorer.exe using a command. What do I mean by this? Well, explorer keeps a lot of its preferences you have changed in its memory. When explorer.exe is closed properly (e.g. when you log off) it will write these changes to the registry. However, by using more traditional methods (e.g. taskkill /f /im explorer.exe or just killing the explorer.exe process using Task Manager), it is quit instantly and forcefully, not getting the chance to write the data in its memory to the registry.
Now I know about the wonderful trick of bringing up the shutdown dialog box and holding down CTRL+ALT+Shift and clicking cancel (or doing the same thing on the start menu shutdown button), but I want to know if there is some command I can use (preferably a command that can be used in a .bat file) to cleanly and properly close explorer.exe. Any help would be great.
Last edited by Butters; 12 Mar 2014 at 15:36.