[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

WMI error running CScript for IIFP

Asked by SupportGate in Windows Management Instrumentation (WMI), Windows 2003 Server, Windows Batch Scripting

Tags: WMI CScript IIFP

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,InstallHinfSection WBEM 132 %windir%\inf\wbemoc.inf
--------------------------------------------------------------------------------------------------
net stop winmgmt
pause
c:
cd c:\windows\system32\wbem
rd /S /Q repository
regsvr32 /s %systemroot%\system32\scecli.dll
regsvr32 /s %systemroot%\system32\userenv.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>mofcomp 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>mofcomp 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>mofcomp 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>mofcomp 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.

[+][-]09/09/09 02:43 AM, ID: 25289511Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/09/09 07:00 AM, ID: 25291356Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/16/09 11:37 AM, ID: 25348648Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/01/09 05:17 AM, ID: 25467820Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/09/09 08:18 AM, ID: 25535892Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/09/09 08:43 AM, ID: 25536126Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/23/09 10:52 AM, ID: 25646709Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-92 - Hierarchy / EE_QW_3_20080625