windows不能顯示此串連屬性。windows management instrumentation (WMI) 資訊可能損壞 (轉,經測試成功)

來源:互聯網
上載者:User

標籤:自動   strong   tar   repos   led   啟動   響應   ==   art   

Windows Management Instrumentation (WMI)資訊可能損壞錯誤修複

在 查看“本地串連”的屬性,並切換到“進階”選項卡後,提示:“Windows不能顯示此串連的屬性。Windows Management Instrumentation(Windows管理體繫結構組件WMI)資訊可能損壞。要更正此問題,請使用系統還原將Windows還原到一個較早的 時間點……

解決方案:

具體操作如下:第一步:右擊“我的電腦”,選擇“管理”菜單,依次定位到“電腦管理(本地)→服務和應用程式→服務”項,在右邊視窗中找到“Windows Management Instrumentation”一項,雙擊開啟,在彈出的視窗中單擊“停止”按鈕。

第二步:進入本地磁碟的C:\Windows\System32\Wbem\Repository目錄,刪除該目錄下的所有檔案後,重新啟動電腦。登入後,系統會重新在該目錄拷貝建立所需要的檔案,並且自動啟動剛才停止的WMI服務。
小提示.
該 故障是由於C:\Windows\System32\Wbem\Repository目錄下的檔案損壞引起的,WMI會在每30~60秒之間調用該目錄下 的檔案,所以會收到上述錯誤提示資訊。該故障還能引起的其他連鎖反應有:無法查看“本地串連”的屬性、運行msinfo32(查看系統資訊)命令時系統無 響應、運行wmimgmt.msc命令開啟WMI嵌入式管理單元時系統提示“Failed to connect to local computer due to WMI:Generic failure”錯誤。

如果還是不行或者服務雷根本沒有WMI這個的話:

開啟記事本,將以下代碼儲存為*.bat(檔案名稱任意,尾碼名固定)檔案,在安全模式下開啟運行。

程式碼如下:

```
@echo on

cd /d c:\temp

if not exist %windir%\system32\wbem goto TryInstall

cd /d %windir%\system32\wbem

net stop winmgmt

winmgmt /kill

if exist Rep_bak rd Rep_bak /s /q

rename Repository Rep_bak

for %%i in (*.dll) do RegSvr32 -s %%i

for %%i in (*.exe) do call :FixSrv %%i

for %%i in (.mof,.mfl) do Mofcomp %%i

net start winmgmt

goto End

:FixSrv

if /I (%1) == (wbemcntl.exe) goto SkipSrv

if /I (%1) == (wbemtest.exe) goto SkipSrv

if /I (%1) == (mofcomp.exe) goto SkipSrv

%1 /RegServer

:SkipSrv

goto End

:TryInstall

if not exist wmicore.exe goto End

wmicore /s

net start winmgmt

:End
```

運行後,系統開始自動修複、修複完成後重新啟動電腦,問題解決。

windows不能顯示此串連屬性。windows management instrumentation (WMI) 資訊可能損壞 (轉,經測試成功)

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.