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.
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:
My Computer
- Computer type
- Laptop
- Computer Manufacturer/Model Number
- Dell Inspiron 15 7000 Series
- OS
- Windows 7 Professional x64
- CPU
- Intel Core i7-4510U CPU
- Memory
- 8 GB RAM
- Graphics Card(s)
- Intel(R) HD Graphics (I so wish I could upgrade this)
- Screen Resolution
- 1920x1080
- Keyboard
- Laptop keyboard
- Mouse
- Microsoft Mouse
- Internet Speed
- Nothing to write home about
- Antivirus
- Malwarebytes Anti Malware
- Browser
- Pale Moon (Firefox fork)
- Other Info
- My primary laptop has Windows 10 on it, and my shared desktop (which is actually a laptop being used as a desktop) has Windows 7 Professional on it. I still use both, but I would say I use my laptop a bit more now.