Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why don't programs just kill and restart explorer.exe?

Tags:

windows

I know of a lot of programs that once installed (or an update to the registry) they need something to refresh the values. This can be done by killing and restarting explorer.exe, however most of them do not do this and rather ask you to restart your computer. A process that takes a long time.

I'm currently writing a tool that will be used by technical people only, and it makes some changes to the registry that needs a reboot (or restart explorer.exe) to take effect. I don't have to worry about my users being freaked out by explorer.exe restarting on them so that's not an issue.

What else should I consider before doing this? Why do the other applications tell you to reboot instead of the faster, restart explorer? Is there a security reason? Or is it just habit?

like image 751
Malfist Avatar asked May 18 '09 17:05

Malfist


People also ask

Why do I constantly have to restart Windows Explorer?

There are many reasons that should be responsible for Windows Explorer keeping restarting. One of the most popular reasons is that the third-party program installation or uninstallation process is not completed. Other reasons could be: corrupted files, software conflict, virus attack, etc.

Is explorer.exe always running?

Explorer.exe runs in the background of Windows 7 at all times; stopping this program from running and then restarting it simulates the effects of a reboot without actually rebooting your computer. There are two ways to stop explorer.exe from running, and the method you use comes down to user preference.

What does restarting explorer.exe do?

Windows Explorer is used to view and manage all file resources on the computer. If the computer gets stuck or breaks down, you can restart Windows Explorer to recover the system.


2 Answers

Killing and restarting explorer is not going to do everything that a restart of the system will do:

1) Any currently running application will not get refreshed.

2) This can lead to stability problems on the system, as well. I've, in particular, noticed problems with my graphics driver not getting updated correctly after an explorer shutdown/restart.

3) It just kind of smells ;) Killing a process as part of an install just seems nasty.

like image 196
Reed Copsey Avatar answered Oct 24 '22 17:10

Reed Copsey


I've seen problems with icons in the notification area not showing up after explorer has restarted (usually after it stops responding and I have to kill it).

Depending on the notification icon, this could cause the user problems.

like image 40
crashmstr Avatar answered Oct 24 '22 16:10

crashmstr