Phiên Hỏi & Đáp hôm nay đến với chúng tôi theo lịch sự của SuperUser - một phân khu của Stack Exchange, một nhóm các trang web Hỏi & Đáp do cộng đồng điều hành.
Câu hỏi
Người đọc siêu người dùng Leo King muốn biết nếu tắt máy tính sẽ hoạt động cũng như khởi động lại sau khi gỡ cài đặt ứng dụng:
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?
Có vấn đề gì quá trình được sử dụng sau khi gỡ bỏ cài đặt một ứng dụng?
Câu trả lời
Người đóng góp của SuperUser LPChip có câu trả lời cho chúng tôi:
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.
Có cái gì để thêm vào lời giải thích? Tắt âm thanh trong các ý kiến. Bạn muốn đọc thêm câu trả lời từ những người dùng Stack Exchange có hiểu biết công nghệ khác? Xem toàn bộ chuỗi thảo luận tại đây.