雜亂大全14-SSD凍結 WebCache造成硬碟100% (桌面當機 只有滑鼠能動)

  • 前言:最近發現某些電腦會有SSD凍結的現象,與WebCache有關!
tags: 六角學院

主題:

雜亂大全14-SSD凍結 WebCache造成硬碟100% (桌面當機 只有滑鼠能動)

本篇重點:

  • 處理SSD凍結的現象

SSD凍結-WebCache

  • 硬碟100%、桌面當機、只有滑鼠能動
  • 處理SSD凍結
  • 作業系統花了異常久的時間 ( 秒) 來完成此服務。
    這個問題很有可能是因為硬體有瑕疵。
    請連絡您的硬體製造商已取得更多的協助來診斷此問題。

軟體:

系統-Windows 10 v2004,1909,1903

討論 :

發生的原因-通常在使用瀏覽器
發生的時間-隨機
發生的長度-超過30秒,只有滑鼠可以動
發生的硬體-部分某幾種SSD會發生

監測 :

打開工作管理員,有兩種方式監測
如果是有原因的錯誤,可以用效能監測器
如果是沒有原因的錯誤,可以用工作管理員的效能
監測是否有隨機達到100%
(一定要先打開監測,凍結發生時通常叫不出工作管理員)

出現的錯誤報告:

1
2
3
4
5
6
7
taskhostw (11428,D,0) 
WebCacheLocal: 要求寫入到檔案
"C:\Users\$使用者\AppData\Local\Microsoft\Windows\WebCache\WebCacheV01.jfm"
(位移 0 (0x0000000000000000); 8192 (0x00002000) 位元組)
已成功,但是作業系統花了異常久的時間 (36 秒) 來完成此服務。
這個問題很有可能是因為硬體有瑕疵。
請連絡您的硬體製造商已取得更多的協助來診斷此問題。

處理方式有兩種

1.修改MSI檔(部分SSD有效)

參考此網址:
https://support.microsoft.com/en-us/help/3083595/task-manager-might-show-100-disk-utilization-on-windows-10-devices-wit

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#1.Identify if you are running the inbox AHCI driver (StorAHCI.sys):

1-1 Open a command prompt with administrator privileges.
Then type the following command in the command prompt window and hit Enter: devmgmt.msc

1-2 Under IDE ATA/ATAPI Controllers right-click on the AHCI controller node
and select Properties. This node is usually called “Standard SATA AHCI Controller.”

1-3 Navigate to the driver tab and click Driver Details.

1-4 If you see “StorAHCI.sys” in the list, you are running the inbox driver.

#2.Disable MSI for the controller in the registry:

2-1 In the same properties window opened in step 1.2,
navigate to the Details tab and select Device instance path from the Property drop-down menu. Note this path.

2-2 Open the registry editor by typing regedit in the previously opened command prompt.

2-3 Navigate to:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Enum\PCI\ <AHCI Controller>\Device Parameters\Interrupt Management\MessageSignaledInterruptProperties,
where <AHCI Controller> refers to the device instance path you noted in step 2.1.
Change the value of the MSISupported key from “1” to “0”.
If you don’t know which controller your boot device is attached to,
repeat steps 2.1 through 2.4 for all AHCI controllers found under 1.2.

#3.Reboot the machine.

2.刪除WebCache(部分SSD有效)

請跟著步驟走

1.請先到這裡下確認有東西
C:\Users\使用者名稱\AppData\Local\Microsoft\Windows\WebCache

2.按下windows鍵+R
輸入 perfmon /res

3.點選CPU
在下方搜尋處輸入剛剛的 位置
C:\Users\使用者名稱\AppData\Local\Microsoft\Windows\WebCache

==找到目前正在使用這資料夾的程式==

4.打開記事本(txt記事本)
輸入以下

1
2
3
4
5
6
7
8
9
10
11
net stop COMSysApp

taskkill /F /IM taskhostw.exe
taskkill /F /IM dllhost.exe
taskkill /F /IM explorer.exe

del /Q %LocalAppData%\Microsoft\Windows\WebCache\*.*

start explorer.exe
net start COMSysApp
pause

*提醒:要確認有在taskkill那邊加入正在使用他的程式
例如我的就是 taskkill /F /IM dllhost.exe

5.另存此檔到桌面
命名為kill.bat,
存檔類型改為”所有檔案”,按確定
![](https://i.imgur.com/V7ESlSO.jpg =80%x)

6.打開桌面,對此檔按右鍵選擇”以系統管理員身分執行”
![](https://i.imgur.com/GBnTTuw.jpg =60%x)

7.順利刪除,電腦會自動產生新的WebCache


以上若是還有問題,歡迎mail討論~
mail: liao86221@gmail.com

參考連結