Prev: no internet -
Next: XP Pro/Server 2008 GPO
From: Alex on 11 Dec 2009 09:12 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-servers/exchange-wmi-errors-wmi-repository-clear-reinstall-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
From: Alex on 15 Dec 2009 05:19 there is no wmi guru here? "Alex" <Alex(a)me> wrote in message news:e1H3uvmeKHA.1596(a)TK2MSFTNGP06.phx.gbl... > 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-servers/exchange-wmi-errors-wmi-repository-clear-reinstall-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
|
Pages: 1 Prev: no internet - Next: XP Pro/Server 2008 GPO |