Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Repair WMI on x64 server 2003 r2

Reply
Thread Tools Display Modes

Repair WMI on x64 server 2003 r2

 
 
Alex
Guest
Posts: n/a

 
      12-11-2009
Hi all,
I was installing SCOM 2007R2 agents, and on of my servers answered:
The Operations Manager Server could not execute WMI Query "(null)" on
computer server.domain.com.
Operation: Agent Install
Install account: DOMAIN\admin
Error Code: 80004005
Error Description: Unspecified error

So I wanted to rebuild WMI, using this
http://www.mrtweak.com/windows-serve...nstall-script/

Here is my result:
C:\Temp>wmireinstall.bat

C:\Temp>net stop winmgmt
The following services are dependent on the Windows Management
Instrumentation service.
Stopping the Windows Management Instrumentation service will also stop these
services.

Office Communications Server Application Host

Do you want to continue this operation? (Y/N) [N]: y
The Office Communications Server Application Host service is stopping....
The Office Communications Server Application Host service could not be
stopped.

System error 1051 has occurred.

A stop control has been sent to a service that other running services are
dependent on.


C:\Temp>c:

C:\Temp>cd C:\WINDOWS\system32\wbem

C:\WINDOWS\system32\wbem>rd /S /Q repository
The system cannot find the file specified.

C:\WINDOWS\system32\wbem>regsvr32 /s C:\WINDOWS\system32\scecli.dll

C:\WINDOWS\system32\wbem>regsvr32 /s C:\WINDOWS\system32\userenv.dll

C:\WINDOWS\system32\wbem>mofcomp cimwin32.mof
Microsoft (R) 32-bit MOF Compiler Version 5.2.3790.1830
Copyright (c) Microsoft Corp. 1997-2001. All rights reserved.
File 'cimwin32.mof' not found!

C:\WINDOWS\system32\wbem>mofcomp cimwin32.mfl
Microsoft (R) 32-bit MOF Compiler Version 5.2.3790.1830
Copyright (c) Microsoft Corp. 1997-2001. All rights reserved.
File 'cimwin32.mfl' not found!

C:\WINDOWS\system32\wbem>mofcomp rsop.mof
Microsoft (R) 32-bit MOF Compiler Version 5.2.3790.1830
Copyright (c) Microsoft Corp. 1997-2001. All rights reserved.
Parsing MOF file: rsop.mof
MOF file has been successfully parsed
Storing data in the repository...
Done!

C:\WINDOWS\system32\wbem>mofcomp rsop.mfl
Microsoft (R) 32-bit MOF Compiler Version 5.2.3790.1830
Copyright (c) Microsoft Corp. 1997-2001. All rights reserved.
File 'rsop.mfl' not found!

C:\WINDOWS\system32\wbem>for /F %s in (ådir /b /s *.dllå) do regsvr32 /s %s
The system cannot find the file ådir.

C:\WINDOWS\system32\wbem>for /F %s in (ådir /b *.mofå) do mofcomp %s
The system cannot find the file ådir.

C:\WINDOWS\system32\wbem>for /F %s in (ådir /b *.mflå) do mofcomp %s
The system cannot find the file ådir.

C:\WINDOWS\system32\wbem>mofcomp -n:root\cimv2\applications\exchange
wbemcons.mof
Microsoft (R) 32-bit MOF Compiler Version 5.2.3790.1830
Copyright (c) Microsoft Corp. 1997-2001. All rights reserved.
File 'wbemcons.mof' not found!

C:\WINDOWS\system32\wbem>mofcomp -n:root\cimv2\applications\exchange
smtpcons.mof
Microsoft (R) 32-bit MOF Compiler Version 5.2.3790.1830
Copyright (c) Microsoft Corp. 1997-2001. All rights reserved.
File 'smtpcons.mof' not found!

C:\WINDOWS\system32\wbem>mofcomp exmgmt.mof
Microsoft (R) 32-bit MOF Compiler Version 5.2.3790.1830
Copyright (c) Microsoft Corp. 1997-2001. All rights reserved.
File 'exmgmt.mof' not found!

C:\WINDOWS\system32\wbem>mofcomp exwmi.mof
Microsoft (R) 32-bit MOF Compiler Version 5.2.3790.1830
Copyright (c) Microsoft Corp. 1997-2001. All rights reserved.
File 'exwmi.mof' not found!

C:\WINDOWS\system32\wbem>net start winmgmt
The requested service has already been started.

More help is available by typing NET HELPMSG 2182.

C:\WINDOWS\system32\wbem>

Now my OCS is not working

So what to do?
Thank you
Alex

 
Reply With Quote
 
 
 
 
Alex
Guest
Posts: n/a

 
      12-15-2009
there is no wmi guru here?

"Alex" <Alex@me> wrote in message
news:...
> Hi all,
> I was installing SCOM 2007R2 agents, and on of my servers answered:
> The Operations Manager Server could not execute WMI Query "(null)" on
> computer server.domain.com.
> Operation: Agent Install
> Install account: DOMAIN\admin
> Error Code: 80004005
> Error Description: Unspecified error
>
> So I wanted to rebuild WMI, using this
> http://www.mrtweak.com/windows-serve...nstall-script/
>
> Here is my result:
> C:\Temp>wmireinstall.bat
>
> C:\Temp>net stop winmgmt
> The following services are dependent on the Windows Management
> Instrumentation service.
> Stopping the Windows Management Instrumentation service will also stop
> these services.
>
> Office Communications Server Application Host
>
> Do you want to continue this operation? (Y/N) [N]: y
> The Office Communications Server Application Host service is stopping....
> The Office Communications Server Application Host service could not be
> stopped.
>
> System error 1051 has occurred.
>
> A stop control has been sent to a service that other running services are
> dependent on.
>
>
> C:\Temp>c:
>
> C:\Temp>cd C:\WINDOWS\system32\wbem
>
> C:\WINDOWS\system32\wbem>rd /S /Q repository
> The system cannot find the file specified.
>
> C:\WINDOWS\system32\wbem>regsvr32 /s C:\WINDOWS\system32\scecli.dll
>
> C:\WINDOWS\system32\wbem>regsvr32 /s C:\WINDOWS\system32\userenv.dll
>
> C:\WINDOWS\system32\wbem>mofcomp cimwin32.mof
> Microsoft (R) 32-bit MOF Compiler Version 5.2.3790.1830
> Copyright (c) Microsoft Corp. 1997-2001. All rights reserved.
> File 'cimwin32.mof' not found!
>
> C:\WINDOWS\system32\wbem>mofcomp cimwin32.mfl
> Microsoft (R) 32-bit MOF Compiler Version 5.2.3790.1830
> Copyright (c) Microsoft Corp. 1997-2001. All rights reserved.
> File 'cimwin32.mfl' not found!
>
> C:\WINDOWS\system32\wbem>mofcomp rsop.mof
> Microsoft (R) 32-bit MOF Compiler Version 5.2.3790.1830
> Copyright (c) Microsoft Corp. 1997-2001. All rights reserved.
> Parsing MOF file: rsop.mof
> MOF file has been successfully parsed
> Storing data in the repository...
> Done!
>
> C:\WINDOWS\system32\wbem>mofcomp rsop.mfl
> Microsoft (R) 32-bit MOF Compiler Version 5.2.3790.1830
> Copyright (c) Microsoft Corp. 1997-2001. All rights reserved.
> File 'rsop.mfl' not found!
>
> C:\WINDOWS\system32\wbem>for /F %s in (ådir /b /s *.dllå) do regsvr32 /s
> %s
> The system cannot find the file ådir.
>
> C:\WINDOWS\system32\wbem>for /F %s in (ådir /b *.mofå) do mofcomp %s
> The system cannot find the file ådir.
>
> C:\WINDOWS\system32\wbem>for /F %s in (ådir /b *.mflå) do mofcomp %s
> The system cannot find the file ådir.
>
> C:\WINDOWS\system32\wbem>mofcomp -n:root\cimv2\applications\exchange
> wbemcons.mof
> Microsoft (R) 32-bit MOF Compiler Version 5.2.3790.1830
> Copyright (c) Microsoft Corp. 1997-2001. All rights reserved.
> File 'wbemcons.mof' not found!
>
> C:\WINDOWS\system32\wbem>mofcomp -n:root\cimv2\applications\exchange
> smtpcons.mof
> Microsoft (R) 32-bit MOF Compiler Version 5.2.3790.1830
> Copyright (c) Microsoft Corp. 1997-2001. All rights reserved.
> File 'smtpcons.mof' not found!
>
> C:\WINDOWS\system32\wbem>mofcomp exmgmt.mof
> Microsoft (R) 32-bit MOF Compiler Version 5.2.3790.1830
> Copyright (c) Microsoft Corp. 1997-2001. All rights reserved.
> File 'exmgmt.mof' not found!
>
> C:\WINDOWS\system32\wbem>mofcomp exwmi.mof
> Microsoft (R) 32-bit MOF Compiler Version 5.2.3790.1830
> Copyright (c) Microsoft Corp. 1997-2001. All rights reserved.
> File 'exwmi.mof' not found!
>
> C:\WINDOWS\system32\wbem>net start winmgmt
> The requested service has already been started.
>
> More help is available by typing NET HELPMSG 2182.
>
> C:\WINDOWS\system32\wbem>
>
> Now my OCS is not working
>
> So what to do?
> Thank you
> Alex


 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: SBS2003 with Server 2008 Terminal Services Larry Struckmeyer[SBS-MVP] Windows Small Business Server 0 11-25-2009 07:25 PM
Re: Migrating from 2000 to 2003 Meinolf Weber [MVP-DS] Server Migration 0 11-07-2009 05:54 PM
Conflicting SFC results JohnDavid Windows Vista Performance 6 03-18-2008 02:00 AM
How to repair Vista? Jack Tripper Windows Vista Installation 25 03-16-2008 02:20 PM
boot stuck on black screen with cursor pointer DannyE Windows Vista Installation 7 05-16-2007 04:56 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59