訓練家的佈弱格-Patch1.2

The BLOG of trainer



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

類型:電腦應用
作者:羽山
文章時間:2015-07-22 11:20:00
瀏覽人數:4485人
標題: 電腦三不五時會大頓,Event ID=10 的問題
網址:http://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-03-09)
【HONDA CBR1000RR】CBR1000RR 原廠管

(2024-02-24)
【NSR 150】NSR150 整理後卡鉗

(2024-02-14)
【機車綜合相關】買了牧田的打氣機與心得

(2024-02-10)
【NSR 150】NSR150 整流器接頭重作

(2024-02-09)
【機車綜合相關】鋰電、鋰鐵電池、電源充電器

(2024-01-07)
【NSR 150】NSR150 貨架耳朵斷裂維修

(2024-01-06)
【KTM 390】KTM Duke390 維修發電問題 電盤內仁

(2023-12-29)
【NSR 150】NSR150 改可調拉桿

(2023-11-20)
【遊戲 / 生活】防盜洗手罐

(2023-11-17)
【KTM 390】KTM Duke390 製作鋰鐵電池