(Does Windows)当您尝试将其关闭时,Windows 是否会挂起?在我的一台笔记本电脑上,我遇到了Windows会在关机屏幕上挂起异常长时间的问题。
有时它最终会关闭,但可能需要 4 分钟到 10 分钟!笔记本电脑是全新的,运行的是Windows 10,因此规格没有问题。
在玩了几个解决方案之后,我能够摆脱烦人的关机问题!在这篇文章中,我将介绍我尝试过的各种解决方案,希望其中一种对你有用。
方法 1 (Method 1) – 重新安装网络驱动程序(– Reinstall Network Drivers)
出于某种奇怪的原因,网络驱动程序在关机期间确实会引起很多问题。Windows会尝试向您的网卡发送某些命令以终止网络连接,如果该通信有任何问题,您可能会遇到很长的关机时间。
继续下载最新的网络驱动程序并安装它们。重新启动计算机(可能必须第一次切断电源),看看它在关机期间是否仍然挂起。
方法 2 (Method 2) – 删除硬件(– Remove Hardware)和设备
关机可能需要永久关闭的另一个原因是计算机上是否安装了一些新硬件。
如果您最近安装了任何硬件,请在设备管理器(Device Manager)中禁用它,看看是否能解决您的问题。如果是这样,您可能必须更新该硬件的驱动程序。此外,请确保从您的计算机上断开任何USB设备,例如USB 记忆(USB)棒和外部硬盘驱动器。
方法 3 – 硬盘错误
就我而言,这个问题与我的硬盘驱动器有关。该驱动器已有数年历史,并且分区严重。在某个地方,坏扇区开始出现。最好在Windows中(Windows)运行 chkdsk 实用程序(run the chkdsk utility)以查看是否有任何可能导致减速的磁盘错误。
您还应该阅读我关于如何排除故障硬盘驱动器的帖子以及(how to troubleshoot a failing hard driv)可用于测试和诊断硬盘驱动器的几个免费工具。
方法 4 – 卸载软件
解决此问题的另一种方法是打开任务管理器(Task Manager)并终止一些进程,然后尝试重新启动。如果是在后台运行的软件程序导致问题,计算机将立即关闭。
我注意到这是同时安装了防病毒和备用电池 ( UPS ) 软件的计算机上的问题。两者在关机时会相互冲突,从而导致计算机无法关机。
您可以先尝试禁用防病毒程序或安全软件,因为它们往往会在关机期间挂起并导致问题。
您还可以通过转到MSCONFIG中的(MSCONFIG)启动(Startup)来完全禁止程序启动。尽可能多地禁用服务( (Disable)Microsoft除外)和启动程序并尝试关闭。这称为执行干净启动(performing a clean boot),Microsoft有一篇关于如何执行此操作的深入文章。
请注意,慢速关机也可能是由终端(Terminal)服务(Services)或显卡服务等Windows服务引起的。(Windows)您可以使用MSCONFIG或在(MSCONFIG)CMD中键入 services.msc来禁用服务。
方法 5 – 分页文件设置
某些用户可能会遇到问题,即在每次关闭计算机时将页面文件设置为清除。有时出于安全原因这样做,但大多数用户永远不需要此功能。
但是,它可以通过某些安全软件打开。您可以通过转到Start、Run、键入GPEDIT.MSC并单击 OK 来禁用它。
然后转到计算机配置(Computer Configuration)、Windows 设置(Windows Settings)、安全设置(Security Settings)、本地策略(Local Policies)、安全(Security) 选项(Options)并找到Shutdown: Clear virtual memory pagefile。确保它已禁用(Disabled)。
方法 6 – 注销脚本
如果您在域环境中,慢速关机可能是由在您的 PC 上强制执行的注销脚本引起的,当您未连接到办公室网络时,这实际上可能是一个问题。
在这些情况下,计算机正在搜索公司网络,但找不到注销脚本,然后在一定时间后超时。如果您认为这是您关机缓慢的原因,您可以询问您的网络管理员。
方法 7 – AHCI BIOS 设置
如果您最近更换了计算机上的硬盘,您可能需要检查BIOS设置并启用或禁用AHCI。使用AHCI(AHCI)以便软件可以与SATA驱动器或设备进行通信。
如果您的计算机在更改此设置后无法正常启动,请不要担心,只需返回BIOS并将其更改回原始值,一切都会正常工作。
如果您在Windows中仍然遇到关机问题,请在此处发表评论并提供具体细节,我们会尽力提供帮助!
Troubleshoot Windows Hanging During Shutdown
Doеs Windows hang when you try to shut it down? On one of my laptops, I ran into the problem where Windows would jυst hang on the shutdown screen for an abnormally long timе.
Sometimes it would eventually shut down, but it could take anywhere from 4 minutes to 10! The laptop is brand new and was running Windows 10, so there were no problems with the specs.
After playing around with several solutions, I was able to get rid of the annoying shutdown problem! In this post, I’ll go through the various solutions I tried and hopefully one will work for you.
Method 1 – Reinstall Network Drivers
For some strange reason, network drivers can really cause a lot of problems during shutdown. Windows tries to send certain commands to your network card to kill off network connections and if there is any problem with that communication, you can experience a very long shutdown period.
Go ahead and download the latest network drivers and install them. Restart your computer (might have to kill the power the first time) and see if it still hangs during shutdown.
Method 2 – Remove Hardware & Devices
Another reason why a shutdown can take forever is if there is some new hardware that has been installed on the computer.
If you recently installed any hardware, disable it in Device Manager and see if that solves your problem. If so, you might have to update the drivers for that piece of hardware. Also, make sure to disconnect any USB device from your computer such as USB sticks and external hard drives.
Method 3 – Hard Drive Errors
In my case, the issue was related to my hard drive. The drive was several years old and heavily partitioned. Somewhere along the line, bad sectors starting popping up. It’s a good idea to run the chkdsk utility in Windows to see if there are any disk errors that could be causing the slowdown.
You should also read my posts on how to troubleshoot a failing hard drive and several free tools you can use to test and diagnose a hard drive.
Method 4 – Uninstall Software
Another way to fix this issue is to open Task Manager and kill off some processes and then try to restart. If it’s a software program running in the background that is causing the issue, the computer will shutdown immediately.
I noticed this was a problem on computers that had anti-virus and battery backup (UPS) software installed at the same time. The two would conflict with each other during shutdown and prevent the computer from turning off.
You can try disabling anti-virus program or security software first as these tend to hang and cause issues during shutdown.
You can also disable programs from starting up altogether by going to Startup in MSCONFIG. Disable as many services (other than Microsoft ones) and startup programs as possible and try to shut down. This is called performing a clean boot and Microsoft has an in-depth article on how to do it.
Note that the slow shutdown can also be caused by Windows services like Terminal Services or graphics card services. You can disable services by using MSCONFIG or by typing services.msc into CMD.
Method 5 – Paging File Setting
Some users could have a problem in which the page file is set to be cleared during every shutdown of the computer. This is sometimes done for security reasons, but most users would never need this feature.
It can, however, be turned on by certain security software. You can disable it by going to Start, Run, typing GPEDIT.MSC and clicking OK.
Then go to Computer Configuration, Windows Settings, Security Settings, Local Policies, Security Options and find Shutdown: Clear virtual memory pagefile. Make sure it is Disabled.
Method 6 – Logoff Scripts
If you are in a domain environment, a slow shutdown could be caused by logoff scripts that are enforced on your PC and it could actually be a problem when you are not connected to your office network.
In these cases, the computer is searching for the corporate network, but can’t find the logoff scripts and then times out after a certain amount of time. You can ask your network administrator if you think that is the reason for your slow shutdown.
Method 7 – AHCI BIOS Setting
If you recently switched the hard drive on your computer, you may want to check your BIOS settings and either enable or disable AHCI. AHCI is used so that software can communicate with a SATA drive or device.
If your computer doesn’t boot up properly after changing this setting, don’t worry, just go back into the BIOS and change it back to the original value and everything will work fine.
If you’re still having shutdown problems in Windows, post a comment here with specific details and we will try to help!