虽然我们大多数人可能很少考虑每次关闭电脑时发生的所有事情,但在关闭过程中到底发生了什么?今天的超级用户问答帖子回答了一位好奇的读者的问题。
今天的问答环节是由SuperUser提供的,SuperUser是Stack Exchange的一个分支,是一个由社区驱动的问答网站分组。
超级用户阅读器RACING121想知道Windows计算机关闭时实际发生的情况:
When I click the shutdown button on my Windows system, it gives me another screen saying Shutting down:
What is actually going on during this stage?
If I recall correctly, in Windows XP it would say something like Saving Settings before powering off. However, what settings are there to actually save here? For example, if you have applied a theme or completed some other action, it has already been “saved” when you clicked Apply or Ok.
If it is unmounting the hard drive, then surely it would be the same as forcing a shutdown by pulling the plug, right?
当一台Windows计算机经历关机过程时,实际发生了什么?
超级用户贡献者Keltari和zzarzzur为我们提供了答案。首先,凯尔塔里:
There are a lot of things happening during the shutdown process. Here are just a few examples:
然后是扎尔祖尔的回答:
The system registry is (maybe?) written to the disk. Back when I used Windows XP, I noticed that if you made any changes to the registry then pulled the power, the changes would not be saved. I am not quite sure about this one, just pointing it out.
Here is an excerpt from a document that Microsoft released:
Basically, what you are waiting on is each individual service to clean up and exit. Each service is given 12 seconds to exit before it is killed.
Half of the shutdown time is dedicated to shutting down system services. If you are really interesting in seeing what time is dedicated to whatever during a shutdown, Windows includes a tool for tracing shutdown time.
And to make sense of the generated file (be sure to run in %systemdrive%\traces)
Sources
Windows On/Off Transition Performance Analysis Document [Microsoft]
Windows On/Off Transiti*** Soluti*** Guide Document [Microsoft]
有什么要补充的解释吗?在评论中发出声音。想从其他精通技术的Stack Exchange用户那里了解更多答案吗?在这里查看完整的讨论主题。
... 局域网唤醒是一种网络标准。部署时,它允许远程打开计算机。它有一个补充标准,称为无线局域网唤醒(WoWLAN)。 ...
...分位于Windows 10任务管理器列表的底部,其中包含一些对计算机正常运行至关重要的进程。 ...
... 软重新启动(也称为热重新启动)是指当您的计算机关闭,重置自己,并再次启动而从不失去电源。当您打开“开始”菜单并单击“重新启动”时,您正在启动软重新启动:Windows关闭所有正在运行的应用程序和进程...
...全警报,防止广告在您的系统中弹出,还是仅仅提高您的计算机速度,我们都会为您提供服务。继续阅读了解更多。 ...
计算机和人类是如此的不同。虽然计算机处理信息的速度是无限快的,但如果它们试图偏离自己的方向,就会遇到麻烦。这些“快速**”与人们形成了鲜明的对比,他们的思维速度不如机器,但更容易适应。 ...
... 本文将重点讨论什么是意外的计算机崩溃以及如何识别问题。计算机崩溃的发生有多种原因。对于普通的PC用户来说,PC崩溃通常被视为PC损坏或损坏的迹象。在现实中,PC机的关闭很少值得担心。只要...
...烁。安装程序可能仍在运行,但速度很慢,这可能是由于计算机的老化。在大多数情况下,Windows10应该在几个小时内安装完毕。 安装程序卡住:如果发生这种情况,并且没有硬盘驱动器活动,请按住电源按钮5秒钟...
...PC、Mac还是Linux系统。 硬件开机 当您按下电源按钮时,计算机会为其组件提供电源—主板、CPU、硬盘、固态驱动器、图形处理器以及计算机中的所有其他组件。 提供电源的硬件被称为“电源”。在一台典型的台式电脑内,它...
...天。在这一步,Windows显示了一条“现在可以安全地关闭计算机”的消息,您必须自己按下物理电源按钮。1996年首次发布的ACPI(高级配置和电源接口)标准允许Windows关闭PC电源。 相关:是的,可以用电源按钮关闭电脑 这与使用...