訓練家的佈弱格-Patch1.2

The BLOG of trainer



編輯日期:2015-07-22 11:20

類型:電腦應用
作者:羽山
文章時間:2015-07-22 11:20:00
瀏覽人數:5570人
標題: 電腦三不五時會大頓,Event ID=10 的問題
網址:https://3wa.tw/blog/blog.php?id=1431
內容:
 

最近電腦在運作時,常常都會頓挫頓挫,看了 taskmgr 老半天也找不到問題

後來就去 event log 看

發現了奇怪的訊息~

詳細寫啥其實也看不太懂,不過就照著關鍵字去找。

https://support.microsoft.com/en-us/kb/2545227

Cause

This originated in the Windows 7 SP1 DVD/ISO creation process. There was an issue in the creation process that caused a WMI registration to remain in the DVD/ISO. Since the registration is designed to work only during the DVD/ISO creation process, it fails to run on a live system and causes these events. These events are not indicative of any issue in the system and can be safely ignored. If however you want to prevent these events from getting generated and want to remove this specific WMI registration manually, please follow the steps mentioned in this article for running the workaround script.

總之是這原因造成電腦會頓一下頓一下嗎?應該就是了吧!

解決方式就是先建一個:

Workaround.txt

裡面的內容寫:

strComputer = "."

Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" _
& strComputer & "\root\subscription")

Set obj1 = objWMIService.ExecQuery("select * from __eventfilter where name='BVTFilter' and query='SELECT * FROM __InstanceModificationEvent WITHIN 60 WHERE TargetInstance ISA ""Win32_Processor"" AND TargetInstance.LoadPercentage > 99'")

For Each obj1elem in obj1

set obj2set = obj1elem.Associators_("__FilterToConsumerBinding")

set obj3set = obj1elem.References_("__FilterToConsumerBinding")

For each obj2 in obj2set

WScript.echo "Deleting the object"

WScript.echo obj2.GetObjectText_

obj2.Delete_

next

For each obj3 in obj3set

WScript.echo "Deleting the object"

WScript.echo obj3.GetObjectText_

obj3.Delete_

next

WScript.echo "Deleting the object"

WScript.echo obj1elem.GetObjectText_

obj1elem.Delete_

Next

儲存,然後把剛才的Workaround.txt改名成Workaround.vbs

然後用最大管理員身份的cmd去執行這程式

如果你的電腦是正常的,不會有任何的提示~

如果跟我的一樣有Event ID=10 的問題,應該會跳2~3次Alert視窗代表他處理掉了

希望電腦可以順一點嘍...

首頁  上十頁  上一頁  1 下一頁    最末頁 (總共有...1頁)

第 1 頁

有話要說  看留言 【0】
其他分類
當月訓練
(2015-07-22)
【電腦應用】電腦三不五時會大頓,Event ID=10 的問題

(2015-07-13)
【追風 135】追風踩發桿換新

最新訓練
(2025-03-16)
【HONDA CBR1000RR】CBR1000RR 引擎怪聲內鏈調整器維修

(2025-03-13)
【KTM 390】KTM RC390 更換左前叉油

(2025-03-04)
【NSR 150】NSR150 排氣管尾管鑽孔排油

(2025-03-01)
【KTM 390】KTM Duke 390 更換內鏈調整器 排氣管上耐熱漆

(2025-02-15)
【KTM 390】KTM Duke 390 前叉漏油維修更換前叉油封

(2025-02-14)
【機車綜合相關】玩車工具篇

(2025-01-15)
【本田 MSX-125】MSX-125 單向閥、呼吸管清潔保養、更換安裝位置、頭罩重噴

(2025-01-14)
【木工】製作門擋

(2024-12-22)
【KTM 390】KTM RC390 更換後輪

(2024-12-17)
【木工】三樓客廳椅子維修