訓練家的佈弱格-Patch1.2

The BLOG of trainer



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

類型:電腦應用
作者:羽山
文章時間:2015-07-22 11:20:00
瀏覽人數:5079人
標題: 電腦三不五時會大頓,Event ID=10 的問題
網址:http://sunnyriver.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-10-15)
【KTM 390】KTM RC390 側柱增加 1.5cm

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

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

(2024-10-04)
【FZR 150】FZR150 起動電流切斷控制器(起動電源控制器) 3KW-H1950-00 小改

(2024-10-04)
【FZR 150】Kymco G5 整流器改 FZR 四線式

(2024-10-03)
【NSR 150】NSR150 中釘補胎

(2024-10-02)
【FZR 150】大閔 FZR 蛋蛋號維修 Part2

(2024-09-28)
【KTM 390】KTM Duke 390 側柱加高 1 公分

(2024-09-23)
【FZR 150】大閔 FZR 蛋蛋號維修

(2024-09-22)
【焊接】大閔 FZR 整流罩支架焊接鎖點