訓練家的佈弱格-Patch1.2

The BLOG of trainer



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

類型:電腦應用
作者:羽山
文章時間:2015-07-22 11:20:00
瀏覽人數:5226人
標題: 電腦三不五時會大頓,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】追風踩發桿換新

最新訓練
(2024-11-04)
【酷龍 150】酷龍150 換新鏈條 里程:39250km

(2024-10-31)
【機車綜合相關】煞車檢測筆測量電阻範圍

(2024-10-29)
【機車綜合相關】拆胎特工-輪胎拆胎架

(2024-10-25)
【NSR 150】NSR150 更換前煞車油(簡易) 43177km

(2024-10-25)
【網誌】加密文章測試

(2024-10-19)
【本田 MSX-125】MSX-125 更換前輪軸承

(2024-10-18)
【HONDA CBR1000RR】CBR1000RR 側柱維修

(2024-10-15)
【KTM 390】KTM RC390 側柱增加 1.5cm

(2024-10-12)
【NSR 150】NSR150 更換空濾綿 43010km

(2024-10-10)
【NSR 150】NSR150 側柱加高1.5cm