Path: g2news1.google.com!postnews.google.com!g44g2000cwa.googlegroups.com!not-for-mail From: "Jatin_Quark" Newsgroups: microsoft.public.win32.programmer.wmi Subject: Reinstall WMI Date: 24 Jan 2006 23:02:41 -0800 Organization: http://groups.google.com Lines: 24 Message-ID: <1138172561.176516.224350@g44g2000cwa.googlegroups.com> NNTP-Posting-Host: 203.200.99.68 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1138172568 5876 127.0.0.1 (25 Jan 2006 07:02:48 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 25 Jan 2006 07:02:48 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe) X-HTTP-Via: 1.0 INDEXT-ISA1 Complaints-To: groups-abuse@google.com Injection-Info: g44g2000cwa.googlegroups.com; posting-host=203.200.99.68; posting-account=99d7cA0AAAAad2krf6ATgkKWwcNp1tDr I had been reasching for the way, through which WMI can be reinstalled, as WMI was getting corrupcted on my servers on regular basis. Here is the solution: Go to the directory %WinDir%\Inf Search for the file wbemnt5.inf or wbemoc.inf Copy the file to another file, say wbemoc_reinstall.inf Add the following lines to the top of this file: [Components] WBEM=ocgen.dll,OcEntry,wbemoc.inf,,7 Run the following command: sysocmgr /i:wbemoc_reinstall.inf /f A setup would comeup, asking to reinstall WMI. Complete the setup wizard, and WMI would start functioning again. Hope this would be useful to many.... Enjoy:) Jatin