This is a 32 bit Windows 2003 Enterprise Server.
After moving our IIFP server from one to another, I can manually run the Management Agents. If I try to run the scripts I get the following error:
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
deltaimport.vbs(12, 1) (null): 0x8004100E
I have tried to fix WMI using the following scripts:
--------------------------
----------
----------
----------
----------
----------
----------
----------
--
rundll32.exe setupapi,InstallHinfSectio
n WBEM 132 %windir%\inf\wbemoc.inf
--------------------------
----------
----------
----------
----------
----------
----------
----------
--
net stop winmgmt
pause
c:
cd c:\windows\system32\wbem
rd /S /Q repository
regsvr32 /s %systemroot%\system32\scec
li.dll
regsvr32 /s %systemroot%\system32\user
env.dll
mofcomp cimwin32.mof
mofcomp cimwin32.mfl
mofcomp rsop.mof
mofcomp rsop.mfl
for /f %%s in ('dir /b /s *.dll') do regsvr32 /s %%s
for /f %%s in ('dir /b *.mof') do mofcomp %%s
for /f %%s in ('dir /b *.mfl') do mofcomp %%s
mofcomp exwmi.mof
mofcomp -n:root\cimv2\applications
\exchange wbemcons.mof
mofcomp -n:root\cimv2\applications
\exchange smtpcons.mof
mofcomp exmgmt.mof
--------------------------
----------
----------
----------
----------
----------
----------
----------
-
Using the 2nd script, I get the following errors:
C:\WINDOWS\system32\wbem>m
ofcomp POLBASE.MOF
Microsoft (R) 32-bit MOF Compiler Version 5.2.3790.3959
Copyright (c) Microsoft Corp. 1997-2001. All rights reserved.
Parsing MOF file: POLBASE.MOF
MOF file has been successfully parsed
Storing data in the repository...
An error occurred while creating object 1 defined on lines 16 - 55:
0X80041002 Class, instance, or property 'RSOP_PolicySetting' was not found.
Compiler returned error 0x80041001
C:\WINDOWS\system32\wbem>m
ofcomp POLPRO.MOF
Microsoft (R) 32-bit MOF Compiler Version 5.2.3790.3959
Copyright (c) Microsoft Corp. 1997-2001. All rights reserved.
Parsing MOF file: POLPRO.MOF
MOF file has been successfully parsed
Storing data in the repository...
An error occurred while creating object 1 defined on lines 16 - 55:
0X80041002 Class, instance, or property 'RSOP_PolicySetting' was not found.
Compiler returned error 0x80041001
C:\WINDOWS\system32\wbem>m
ofcomp POLPROC.MOF
Microsoft (R) 32-bit MOF Compiler Version 5.2.3790.3959
Copyright (c) Microsoft Corp. 1997-2001. All rights reserved.
Parsing MOF file: POLPROC.MOF
MOF file has been successfully parsed
Storing data in the repository...
An error occurred while creating object 1 defined on lines 16 - 55:
0X80041002 Class, instance, or property 'RSOP_PolicySetting' was not found.
Compiler returned error 0x80041001
C:\WINDOWS\system32\wbem>m
ofcomp POLPROU.MOF
Microsoft (R) 32-bit MOF Compiler Version 5.2.3790.3959
Copyright (c) Microsoft Corp. 1997-2001. All rights reserved.
Parsing MOF file: POLPROU.MOF
MOF file has been successfully parsed
Storing data in the repository...
An error occurred while creating object 1 defined on lines 16 - 55:
0X80041002 Class, instance, or property 'RSOP_PolicySetting' was not found.
Compiler returned error 0x80041001
I have also tried to reinstall SP2 and have run Windows Update till there is nothing left to update.
Thanks for your help on this.