Tämän päivän kysymys- ja vastausistunto tulee meihin SuperUserin hyväksi - Stack Exchangein alaosasto, joka on yhteisöllinen Q & A-sivustojen ryhmittely.
Kysymys
SuperUser-lukija Leo King haluaa tietää, jos tietokoneen sammuttaminen toimii yhtä hyvin kuin uudelleenkäynnistys sovelluksen asennuksen poistamisen jälkeen:
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?
Onko sillä merkitystä, mitä prosessia käytetään sovelluksen asennuksen poistamisen jälkeen?
Vastaus
SuperUser-avustaja LPChipilla on vastaus meille:
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.
Onko jokin asia lisättävä selitykseen? Kuulkaa kommentit. Haluatko lukea lisää vastauksia muilta tech-tajuilta Stack Exchange-käyttäjiltä? Katso koko keskusteluketju täältä.