About wmi repair

Source: Internet
Author: User

There are two Windows hosts that cannot get the interface traffic. The manufacturer said the OS version was a problem.

Nima went up and looked at it.

An error is reported as soon as you enter.


In this case, 360 is used to delete the server and restart the server. You can monitor the Server properly by adding the server to the monitoring system.

An error 360 is reported when another server is opened.

This is also the problem. However, the 360 program had a problem after being cleared, so we had to reinstall 360 and restart the system to clean it up, but Nima was still unable to get started.

The wooden method can only repair wmi. Stop the wmi Service, delete the Repository folder below, but the file cannot be deleted. The system prompts that the file is in use and the file is unlocked.

I couldn't open it. I thought of the x64 system. I found an x64 system on the Internet, but only the chrome browser. I still don't support the expansion of thunder 7.

Cup, find someone to download, clean up the folder, find a batch to fix, and then restart the service to fix it. wmi is successfully added to monitoring,

However, the CPU and interface still cannot be obtained, paralyze, open serverice and browse, start ics, and find again,
Cpu memory network interface retrieved



 

Attach fixwmi. 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

From: Bai du Id banned's blog

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.