Skip to main content



Geoffrey Carr


今天的問答環節由SuperUser提供,這是Stack Exchange的一個細分,Stack Exchange是一個社區驅動的問答網站分組。


超級用戶讀者Leo King想要知道在卸載應用程序後關閉計算機是否會像重啟一樣工作:

When I uninstall an application, it says that I should either restart the computer now, or manually restart later. Will it make any difference if I shut the computer down instead? What’s the difference between the shutdown and restart operations?




The Process Explained

When you install or uninstall a program, it will register or unregister the usage of one or more .dll files.

.dll files are placed in the Windows system32/syswow64 directory when installed, and they are common files for many applications. These files often are in use at the time of uninstalling a program and, as such, Windows has a built-in system to check for unused (after uninstalling, no other program will be using these files anymore) .dlls at shutdown. This will remove them when the applications that were using them are terminated (basically the uninstaller tells Windows to verify the files for deletion).

When Windows has closed the program, it will then delete any file that is no longer assigned to a program to clean up the computer.

Is rebooting necessary?

You may be wondering, if that is all there is to it, is rebooting necessary? Yes and no. Basically, you have to make sure Windows will shut down properly or risk leaving unnecessary files behind. If you know your computer is stable, and you will be rebooting it in a matter of hours, you really do not need to reboot your computer right now.

If you regularly put your computer into sleep/hibernation mode and want to avoid rebooting as much as possible, it would be better if you rebooted after uninstalling an application because sleep/hibernation may cause a system to shut down unexpectedly in the long run (which can keep files on your computer that do not need to be there anymore).

Is it harmful if these files remain on my computer?

Technically speaking, no. It is a waste of disk space and, if it happens with too many files, it may slow your computer down because every .dll file that is loaded with Windows will be adding to the resources used to operate your computer.

Is there a difference between rebooting and shutting down?

Both options will close the programs and run the necessary clean-up routines, so both are fine to use. Windows just notifies you to reboot because that way it can guarantee that your system is being kept clean and tidy.

Is it okay if I hold the power button so that the computer is turned off immediately?

No. This is not a normal shutdown, and thus Windows will not be able to run the cleanup routine. You can see this option as being identical to Windows crashing.

有什麼要補充說明嗎?在評論中發聲。想要從其他精通技術的Stack Exchange用戶那裡閱讀更多答案嗎?在這裡查看完整的討論主題。