Tuesday, November 11, 2008

Step by Step guide for Installing and Configuring SCCM 20007 and Applying SP1 Build

ConfigMgr (SP1) Setup Guide

 

Step by Step guide for Installing and Configuring SCCM 20007 and Applying SP1 Build

Extend the Active Directory Schema – There is no reason not to!

Four actions need to be taken in order to successfully enable Configuration Manager clients to query Active Directory Domain Services to locate site resources:

·         Extend the Active Directory schema.

·         Create the System Management container.

·         Set security permissions on the System Management container.

·         Enable Active Directory publishing for the Configuration Manager site.

To extend the AD schema using ExtADSch.ext

1.     With Windows Server support tools installed – netdom query fsmo – to identify the schema master role;

2.     Backup system state on schema master DC;

3.     Disconnect the Schema Master DC from the network;

4.     Logon to the schema master DC with an account that is a member of the Schema Admins Security group.

5.     run extadsch.exe, located at \smssetup\bin\i386

6.     verify that the schema extension was successful by reviewing the extadsch.log located at c:\

After the schema has been extended with the classes and attributes required for configuration manager, you must create the System Management container within the System container in the site server's domain partition in Active Directory Domain Services:

Because domains controllers do not replicate their System Management container to other domains in the forest, a System Management container must be created for each domain that hosts a Configuration Manager Site.( We are one domain forest!)

(Grant the site server's computer account full control to the System container, allow it to create the System Management container when it first publishes site information to AD – not very secure!)

The ADSIEdit MMC console will be used to create the System Management container in AD – you must first install the Windows Server Support tools, run suptools.msi  from  \Support\Tools on the Windows installation media.

To create the ADSIEdit MMC console

1.     On the taskbar, click Start, and then click Run.

2.     Type mmc and click OK.

3.     On the File menu, click Add/Remove Snap-in.

4.     Click Add.

5.     Under Snap-in, select ADSI Edit.

6.     Click Close.

7.     Click OK.

To manually create the System Management container

1.     Log on as an account that has the Create All Child Objects permission on the System container in Active Directory Domain Services.

2.     Open the ADSIEdit MMC console, and connect to the domain in which the site server resides.

3.     In the console pane, expand Domain [computer fully qualified domain name], expand <distinguished name>, and right-click CN=System. On the context menu, click New and then click Object.

4.     In the Create Object dialog box, select Container and click Next.

5.     In the Value field, type System Management and click Next

6.     Click Finish

After you have created the System Management container in Active Directory® Domain Services, you must grant the primary site server's computer account the permissions necessary to publish site information to the container.

To apply permissions to the System Management container using the Active Directory Users and Computers administrative tool

1.     Click Start, click Run, and then enter dsa.msc to open the Active Directory Users and Computers administrative tool.

2.     Click View, and then click Advanced Features.

3.     Expand the System container.

4.     Right-click System Management. On the context menu, click Properties.

5.     In the System Management Properties dialog box, click the Security tab.

6.     Click Add to add the site server computer account and grant the account Full Control permissions.

7.     Click Advanced, select the site server's computer account, and click Edit.

8.     In the Apply onto list, select This object and all child objects.

9.     Click OK.

To enable a Configuration Manager site to publish site information to Active Directory Domain Services

1.     In the Configuration Manager console, navigate to System Center Configuration Manager / Site Database / Site Management / <site code> - <site name>.

2.     Right-click <site code> - <site name>, and click Properties.

3.     On the Advanced tab of site properties, select the Publish this site in Active Directory Domain Services check box.

When Configuration Manager site information is published to Active Directory Domain Services, Configuration Manager clients can automatically detect server locator points and management points without generating Windows Internet Name Service (WINS) traffic. If Configuration Manager site information is not published to Active Directory Domain Services, you must manually add Configuration Manager site role information in WINS.(I don't see a reason why you don't want to publish the site information to AD!)

The First Site Server (Central Site) Setup

1.     Install Windows Server 2003 R2 Std 64 bit SP2

2.     Install IIS + BITS and Allow WebDAV in IIS Manager (Required by MP)

3.     Install SQL 2005 Std 64bit

Service Account – Select Local system

Choose Windows Authentication Mode in next screen…

4.     Install SQL SP2 - reboot

ConfigMgr 2007 Prerequistes:

·         MMC 3.0 already installed as SP2

·         MS06-030 already installed

·         Install IE 7.0 (Not required) and other critical updates

·         Windows Server 2003-based schannel hotfix

o    Configuration Manager out of band service point requires Windows Server 2003-based schannel hotfix. The schannel hotfix is available for download at:

http://support.microsoft.com/kb/942841/en-us.

·         Windows Remote Management (WinRM) v1.1

o    WinRM v1.1 is required to run the out of band console and must be installed before primary site or Configuration Manager console installations or upgrades. WinRM 1.1 is available for download at:

http://support.microsoft.com/kb/KB936059.

·         MMC updates for Configuration Manager (Software Updates)?

o    This software update addresses several MMC errors that may occur when running the Configuration Manager console. This update should be applied if any of the following occur: Configuration Manager console stops responding when the host computer is low on available memory, context menu errors on console home pages, or inconsistent display after drag-and-drop operations do not succeed. More information about this update is available at: http://go.microsoft.com/fwlink/?LinkId=98349.

5.     Install WSUS SP1 for SUP – check Store updates locally (Choose a Separate Drive)

 

Select Use an existing database server on this computer

Select - Create a Windows Server Update Service 3.0 SP1 Web Site

Click Next, Next to Finish the setup

6.     Install ConfigMgr Site Server and Site System Roles;

Select Install Configuration Manager Site Server in the first setup screen and follow through the below screenshots

In the next screen – type in your site code and site name

Type in your SQL server name and database name in the next screen

Then type the SMS Provider location – which should be the site server name

In the next screen, you can choose "Install a management point" or "Do not install a management point"

Follow through the next few screenshots..

You will see the "Settings Summary" page next followed by Installation Prerequisite Check. Most likely you will see a few yellow "Warning" but you should be able to Click "Begin Install" here.

After about 30 minutes – everything turns green

You can click view log or you can check the ConfigMgrSetup.log in C:\

Click Next – you should see "Setup completed all operations successfully. Click Finish to close the wizard.

Go to Start – ConfigMgr Console (wait for a couple of minutes for it to load)

Expand Site Management, then xy0 – Central Site, Site Settings, Site Systems, right click on your Site Server name and click New Roles

This will start New Site Role Wizard, leave the default, click Next

We are going to create a SUP – select Software Update Point and click Next

Leave it as is if you don't have Proxy server, click Next

Check Use this server as the active software update point, Since we created WSUS custom Web site when we setup WSUS, change the port to 8530 for TCP and 8531 for SSL as above.

An active software update point is configured on the central site so that software updates can be centrally managed and monitored. Many of the software updates synchronization settings are configured at the central site and not available at child sites. The active software update point on the central site synchronizes with Microsoft Updates.

 

 

 

The software update point on the central site should always be configured to synchronize from Microsoft Update. When any other setting is selected, synchronization will not succeed on the central site.

Keep the default setting Do not create WSUS reporting events, and then click Next

Check Enable synchronization on a schedule and leave the default Simple schedule, then click Next

Leave the default Update classifications, Click Next

 

Select the above products for now, click Next

In the Languages page, only leave English checked and uncheck all the other languages, click Next

Review Summary page, Click Next

When setup is done, click close – We successfully added SUP!

Next we are going to add Reporting Point and Failback Status Point

Start the New Site Role Wizard as before and select Reporting point and Failback status point

Leave default for the next three screens and click Next and you will get to the Wizard Completed page and click close.

Use the reporting users group to control access to the reporting point  -  By default, all members of the Administrators and Reporting Users groups have access to the reporting point Web site. If users need access to reports on the reporting point, add them to the Reporting Users local groups on each required reporting point. The Reporting Users group does not have any members by default.

The Reporting Users group does not have Configuration Manager 2007 object security rights configured by default. This group needs Read security rights on the Report SMS class or members of the group are not able to access reports, even though they do have access to the reporting Web site.

Congratulations – by now, we have the Central site setup with RP, FSP and SUP!

Next we are going to build a Primary Site with three separate boxes, Primary Site, MP and SUP.

Since we just went through the above drill, the rest should be easy

·          Install Windows Server 2003 R2 64 Bit SP2 on all three boxes with latest updates! (turn off automatic updates!)

·          Add Server2 (New Primary Site server) to System Management Container in AD – Grant full control permission

·          Install IIS on Server2

·          Install SQL 2005 + SP2 on Server2

·          Run Prerequisite check on Server2 and satisfy the appropriate Prerequisites!

·          Install WSUS SP1 administration console on Server2

·          Download and install Microsoft Report Viewer Redistributable 2005 (requirement for WSUS admin console)

·          Install Site Server on server2 and choose custom, Do not install a management point

Configure the communication between Central Site and Primary Site

·          On Server1 – Open ConfigMgr Admin Console – Right click xy0 – Central Site, then click Set Parent Site – Select Central Site!

·          Add Server1 to SMS_SiteToSiteConnection_xy1 group on Server2

·          Add Server2(Computer account) to SMS_SiteToSiteConnection_xy0 group on server1

You do NOT need to make the site server computer account a local admin. All you have to do is to have the account you specify in the site address a member of the target site's SMS_SiteToSiteConnection group. You'd do that at each site for the account the other site is using to push data down to the local site.

To configure primary-site-to-primary-site communications, you must manually create the addresses that will be used.

Create New Standard Sender Address, see my blog

http://myitforum.com/cs2/blogs/yli628/archive/2008/06/09/how-to-establish-primary-site-to-primary-site-communications-in-configmgr-sccm.aspx

Add Site server computer account to local admin on all site systems!!! – Then follow the below steps

Setup the default MP on Server3

·          Install IIS + BITS + WEBDAV on Server3(New MP)

·          Run Prerequisite check on Server3 and satisfy the appropriate Prerequisites!

On Server2, Start ConfigMgr Console and Expand Site Management, then xy0 – Primary site, Site Settings, Site Systems, right click on your Site Server name and click New – Server,  then go through the "New Site System Server Wizard". You shouldn't go wrong here.

By default, the Configuration Manager 2007 site server role component installation files are installed on the first available Configuration Manager 2007 will not install site role component files on a drive that contains a file named no_sms_on_drive.sms. NTFS formatted disk drive with the most available free disk space.

You can create a no_sms_on_drive.sms file in the root folder of all drives except for drives that you have specified as server share site systems.

Since MP is on a different box, need to grant full control permission for Server3 computer account to System Management container in AD.

Setup SUP/WSUS o Server4

·          Install IIS

·          Install WSUS SP1 (of course install Report Viewer 2005 Redistributable first)

·          Select Create a Windows Server Update Services 3.0 SP1 Web Site

ADD new site system on Server2 and add Server4 for SUP – Similar like we did for Server3 (MP)

 

Congratulations again – by now we have a fully functional Central Site and a Primary Site. Next you could configure the Site boundaries, enable agents, discover method and tune the schedules etc.

For client installation methods – I prefer Software Update Point Client Installation

http://technet.microsoft.com/en-us/library/bb633194(TechNet.10).aspx

http://sccmnap.com/blogs/rgotnap/archive/2008/06/09/details-for-obtaining-100-configmgr-client-installation-amp-reach.aspx

Remember, FSP are not stored in AD so has to specify in GPO for the client to locate FSP!

            

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


-------------------
Thanks,
http://paddymaddy.blogspot.com/

Wednesday, November 5, 2008

VBS Script To Copy A File To A Remote Machine

From Myitforum
 
VBS Script To Copy A File To A Remote Machine
 

-------------------
Thanks,
http://paddymaddy.blogspot.com/

Mof File for LowDisk Space Event ID based on NT Event during hardware inventory

 
 
 

//------------------------------- LowDisk Space Event ID ------------------------------------

#pragma namespace("\\\\.\\root\\cimv2")
[Union,
ViewSources{"Select * FROM Win32_NTLogEvent WHERE LogFile = 'System' AND EventCode = 2013"},
ViewSpaces{"\\\\.\\root\\cimv2"},
dynamic,provider("MS_VIEW_INSTANCE_PROVIDER")]

Class NTLogEvent
{
     [PropertySources("LogFile"), Key] string LogFile;
     [PropertySources("RecordNumber"), Key] UINT32 Recordnumber;
     [PropertySources("Message")] String Message;
     [PropertySources("TimeGenerated")] DateTime TimeGenerated;
};

//-------------------------- Reporting Class-----------------------------------
#pragma namespace("\\\\.\\root\\CIMV2\\SMS")

[SMS_Report(TRUE),
SMS_Group_Name("Installed Updates"),
SMS_Class_ID("MICROSOFT|Win32_NTLogEvent|1.0") ]

Class NTLogEvent: SMS_Class_Template
{
     [SMS_Report(TRUE), Key] String LogFile;
     [SMS_Report(TRUE), Key] UINT32 RecordNumber;
     [SMS_Report(True)] String Message;
     [SMS_Report(True)] DateTime TimeGenerated;
}; 


-------------------
Thanks,
http://paddymaddy.blogspot.com/

SCCM 2007 Performance Questions whitepaper published

-------------------
Thanks,
http://paddymaddy.blogspot.com/

Client is Installed Flag Explained


-------------------
Thanks,
http://paddymaddy.blogspot.com/

Monday, November 3, 2008

File and Print Enable

 

Set objFirewall = CreateObject("HNetCfg.FwMgr")
Set objPolicy = objFirewall.LocalPolicy.CurrentProfile

Set colServices = objPolicy.Services
Set objService = colServices.Item(0)
objService.Enabled = True

-------------------
Thanks,
http://paddymaddy.blogspot.com/

System Info OS and Service Pack Level

' **************************
' ServerInfo.vbs
' Collects OS and SP info
' List of systems must be in same directory as script
' Run using cscript
' **************************
' Name of Input File
strInputFile = "Syslist.txt"
' Name of Output File
strOutputFile = "ServerInfo.csv"

' Create file system object
set objFSO = CreateObject("Scripting.FileSystemObject")
' Check for Existing Output file, Create output file
If  objFSO.FileExists(strOutputFile) Then
   Wscript.echo "You must delete or remove " &  strOutputFile & " from this directory prior to running script"
   wscript.quit
End If
set objOutputFile = objFSO.OpenTextFile(strOutputFile, 2 , True)
If objFSO.FileExists(strInputFile) Then
  set objInStream = objFSO.OpenTextFile(strInputFile, 1)
' Begin reading input file
Set objWebmLocator = CreateObject("WbemScripting.SWbemLocator")
On Error Resume Next
Do While objInStream.AtEndOfStream <> True
 strComputer = objInStream.Readline
 'Wscript.echo ("Connecting to " & strComputer)
 Set objWMI = GetObject("winmgmts:" _
   & "{impersonationLevel=impersonate}!\\" _
   & strComputer & "\root\cimv2")
 
 If Err.number <> 0 Then
  Err.clear
  Set objWMI = objWebmLocator.ConnectServer(strComputer, "root\CIMV2", strUser, strPassword)
 End If
 If Err.Number <> 0 Then
  objOutputFile.Writeline(strComputer & ",Unavailable")
  'WScript.echo ("Connection Failed")
 Else
  Set colOS = objWMI.ExecQuery("Select Caption From Win32_OperatingSystem")
  Set colSP = objWMI.ExecQuery("Select CSDVersion From Win32_OperatingSystem")
 
  intOSCount = 0
  intSPCount = 0
 
  For Each objOS In colOS
   intOSCount = intOSCount + 1
   strOSVal = Replace(objOS.Caption, ",", " ")
  Next
  For Each objSP in colSP
   intSPCount = intSPCount + 1
   strSPVal = objSP.CSDVersion
  Next
  If intOSCount + intSpCOunt > 2 Then
   strVerified = "Unconfirmed"
  Else
   strVerified = "Confirmed"
  End If
  objOutputFile.Writeline(strComputer & "," & strOSVal & "," & strSPVal & "," & strVerified)

 End If
 Err.Clear
 
Loop
End IF
wscript.echo ("Script Complete")
wscript.quit

-------------------
Thanks,
http://paddymaddy.blogspot.com/

WMI Connectivity Check

Set objExcel = CreateObject("Excel.Application")

objExcel.Visible = True

objExcel.Workbooks.Add

intRow = 2

 

objExcel.Cells(1, 1).Value = "Machine Name"

objExcel.Cells(1, 2).Value = "Status"

objExcel.Cells(1, 3).Value = "Error Number"

objExcel.Cells(1, 4).Value = "Hex Error Number"

objExcel.Cells(1, 5).Value = "Error Description"

 

Set Fso = CreateObject("Scripting.FileSystemObject")

Set InputFile = fso.OpenTextFile("MachineList.Txt")

Do While Not (InputFile.atEndOfStream)

strComputer = InputFile.ReadLine

 

On Error Resume Next

Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\Wmi")

objExcel.Cells(intRow, 1).Value = UCase(strComputer)

 

If Err.Number <> 0 Then

objExcel.Cells(intRow, 2).Value = "Error"

objExcel.Cells(intRow, 3).Value = Err.Number

objExcel.Cells(intRow, 4).Value = Hex(Err.Number)

ElseIf Err.Number = 0 Then

objExcel.Cells(intRow, 2).Value = "Success"

objExcel.Cells(intRow, 5).Value = "No Errors"

Err.Clear

End If

 

If Err.Number = 462 Then

objExcel.Cells(intRow, 5).Value = "Machine Not Found"

ElseIf Err.Number = "-2147217394" Then

objExcel.Cells(intRow, 5).Value = "WMI Class Not Found"

ElseIf Err.Number = "-2147217405" Then

objExcel.Cells(intRow, 5).Value = "Access Denied"

Err.Clear

End If

 

If objExcel.Cells(intRow, 2).Value = "Error" Then

objExcel.Cells(intRow, 2).Font.ColorIndex = 3

Else

objExcel.Cells(intRow, 2).Font.ColorIndex = 10

End If

 

intRow = intRow + 1

Loop

 

objExcel.Range("A1:E1").Select

objExcel.Selection.Interior.ColorIndex = 19

objExcel.Selection.Font.ColorIndex = 11

objExcel.Selection.Font.Bold = True

objExcel.Cells.EntireColumn.AutoFit

 

MsgBox "Done"


-------------------
Thanks,
http://paddymaddy.blogspot.com/

Admin$ check

Set objExcel = CreateObject("Excel.Application")

objExcel.Visible = True

objExcel.Workbooks.Add

intRow = 2

 

objExcel.Cells(1, 1).Value = "Machine Name"

objExcel.Cells(1, 2).Value = "Admin Share Exists"

 

Set Fso = CreateObject("Scripting.FileSystemObject")

Set InputFile = fso.OpenTextFile("MachineList.Txt")

Do While Not (InputFile.atEndOfStream)

strComputer = InputFile.ReadLine

 

On Error Resume Next

Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")

Set colShares = objWMIService.ExecQuery("Select * from Win32_Share Where Name = 'ADMIN$'")

 

objExcel.Cells(intRow, 1).Value = UCase(strComputer)

If colShares.Count > 0 Then

objExcel.Cells(intRow, 2).Value = "Yes"

Else

objExcel.Cells(intRow, 2).Value = "No"

End If

If Err.Number <> 0 Then

objExcel.Cells(intRow, 2).Value = Err.Description

Err.Clear

End If

intRow = intRow + 1

 

objExcel.Range("A1:B1").Select

objExcel.Selection.Interior.ColorIndex = 19

objExcel.Selection.Font.ColorIndex = 11

objExcel.Selection.Font.Bold = True

objExcel.Cells.EntireColumn.AutoFit

loop

 

Wscript.Echo "Done"


-------------------
Thanks,
http://paddymaddy.blogspot.com/

Remote Systems Discovery Data Collection Cycle Client agent initiate

On Error Resume Next
Dim oCPAppletMgr
Set oCPAppletMgr = CreateObject("CPApplet.CPAppletMgr")
Dim oClientActions
Set oClientActions = oCPAppletMgr.GetClientActions()
Dim oClientAction
For Each oClientAction In oClientActions
If oClientAction.Name = "Discovery Data Collection Cycle" Then
oClientAction.PerformAction
End If
If oClientAction.Name = "Request & Evaluate Machine Policy" Then
oClientAction.PerformAction
End If
Next

-------------------
Thanks,
http://paddymaddy.blogspot.com/

Thursday, October 30, 2008

Microsoft MSXML6 msxml6.msi Silent installation

To install msxml6.msi Silent installation
msxml6.msi /qb
-------------------
Thanks,
http://paddymaddy.blogspot.com/

Philosophy Hero Socrates


Ancient Greek philosophy is dominated by three very famous men: Socrates, Plato, and Aristotle. All three of these lived in Athens for most of their lives, and they knew each other. Socrates came first, and Plato was his student, around 400 BC. Socrates was killed in 399 BC, and Plato began his work by writing down what Socrates had taught, and then continued by writing down his own ideas and opening a school. Aristotle, who was younger, came to study at Plato's school, and ended up starting his own school as well.

In the years after Plato and Aristotle died, in the 200's BC, three famous kinds of philosophy started up in the schools that Plato and Aristotle had started. These are the Stoics, the Skeptics, and the Epicureans. Each of these continued to be important ways of thinking about the world all the way through the Roman Empire, until people converted to Christianity in the 300's AD, and even after that.

BOOKS

Philosophy and Science in Ancient Greece: The Pursuit of Knowledge, by Don Nardo (2004). For teenagers. Don Nardo has written many books for young people about the ancient Greeks.

The Cambridge Companion to Greek and Roman Philosophy, edited by David Sedley (1997).

and also


-------------------
Thanks,
http://paddymaddy.blogspot.com/

http://www.historyforkids.org/

Good Links makes happy when you read them

-------------------
Thanks,
http://paddymaddy.blogspot.com/

Saturday, October 25, 2008

This new test post

This new test post

Creating And Configuring The AD System Management Container For SMS

Creating And Configuring The AD System Management Container For SMS


This document will walk you through the process of creating and
configuring the Active Directory System Management container for SMS.
This applies to SMS 2003 (either Service pack) on a Windows 2003
Server operating system.

Note: You must be a member of the Schema Administrator group to
successfully extend the schema.

Use the following steps to create the from the System Management container

Download the Windows Server 2003 Support Tools to get the AdsiEdit utility.


From a Windows 2003 Server DC logon as an account that is a member of
the Schema Administrator group.


From the "Start" - "Run" line type in Adsiedit.Msc then and click "OK".


Click the + sign next to your "Domain (ServerName.DomainName.Com\Net)"


Click the + sign to expand the "DC=DomainName,Dc= Com\Net"


Click the + sign to expand the "CN=System" container.


Right mouse click the "CN=System" container and from the context menu
select "New" and then select "Object" to begin the Create Object
wizard.


From the "Create Object" "Select A Class" dialog box select
"Container" then select "Next" to continue.


In the "Value:" line type in "System Management" and click "Next" to continue.


Select "Finish" to complete the System Management container creation process.


Verify that the "CN= System Management" object has been created successfully.


From the "Administrative Tools" program group select "Active
Directory Users And Computers"


From the "View" menu select "Advanced features" to allow the "System"
leaf to be displayed.


Click the + sign to expand the "Systems" leaf then select Right mouse
click on the "System Management" container and from the context menu
select "Properties".


From the "System Management Properties" dialog box select the "Security" leaf.


Select "Add" then select "Object Types" and make sure that both the
"Users" and "Computers" object types are checked then click "OK" to
close the window.


Select "Advanced" and the "Users, Computers, or Groups" dialog box
will be displayed.


Select "Find Now" and select your SMS Service account if you are
running in Standard Security Mode or your SMS server name if you are
running in Advanced Security Mode then click "OK" to continue.


Highlight the account that you are using (from the step above) and
grant the account the following rights:


Read
Write
Create All Child Objects
Delete All Child Objects


Click "OK" to complete the task.


Insert your SMS Installation CD-ROM media in the CD drive and from the
"Start" - "Run" line browse to the "SmsSetup\Bin\I386" directory
folder and select "Extadsch.Exe" and click "OK"


Click "OK" once again and the command prompt window opens and the
application begins.


When the process has completed open the ExtADSch.Log file located in
the root dive (C:\) of the server from which it was executed from and
verify that the last line states: "SMS Setup completed successfully!"

-------------------
Thanks,
http://paddymaddy.blogspot.com/

Friday, October 24, 2008

SMS_Def.Mof : Mcafee ePO Dat Version Hardware Inventory Mof File modify

Below is the SMS_Def.Mof : Mcafee ePO Dat Version Hardware Inventory
Mof File modify:-


// //
// Mcafee ePO Plugins Enumeration //
// //
/////////////////////////////////////
#pragma namespace ("\\\\.\\root\\cimv2\\sms")
#pragma deleteclass("Win32Reg_Mcafee_ePO_Plugins", NOFAIL)

[ SMS_Report (TRUE),
SMS_Group_Name ("Mcafee ePO Plugins"),
SMS_Class_ID ("McAfee|ePO_Plugins|1.0") ]

class Win32Reg_Mcafee_ePO_Plugins : SMS_Class_Template
{
[SMS_Report (TRUE), key ] string SoftwareID;
[SMS_Report (TRUE) ] string Version;
[SMS_Report (TRUE) ] string ProductName;
[SMS_Report (FALSE) ] string PluginPath;
[SMS_Report (FALSE) ] string UninstallCommand;
[SMS_Report (FALSE) ] string InstallPath;
[SMS_Report (FALSE) ] string InstalledPath;
[SMS_Report (TRUE) ] string HotFixVersions;
[SMS_Report (TRUE) ] string HotFixInstallDate;
[SMS_Report (TRUE) ] string DatInstallDate;
[SMS_Report (TRUE) ] string DatVersion;
};

//Configuration.MOF
/////////////////////////////////////
// //
// Mcafee ePO Plugins Enumeration //
// //
/////////////////////////////////////
#pragma namespace ("\\\\.\\root\\cimv2")
#pragma deleteclass("Win32Reg_Mcafee_ePO_Plugins", NOFAIL)

[ dynamic,
provider("RegProv"),
ClassContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Network
Associates\\ePolicy Orchestrator\\Application Plugins")
]
class Win32Reg_Mcafee_ePO_Plugins
{
[PropertyContext("Software ID"), key] string SoftwareID;
[PropertyContext("Version")] string Version;
[PropertyContext("Product Name")] string ProductName;
[PropertyContext("Plugin Path")] string PluginPath;
[PropertyContext("Uninstall Command")] string
UninstallCommand;
[PropertyContext("Install Path")] string InstallPath;
[PropertyContext("Installed Path")] string InstalledPath;
[PropertyContext("HotFixVersions")] string HotFixVersions;
[PropertyContext("HotFixInstallDate")] string
HotFixInstallDate;
[PropertyContext("DatInstallDate")] string DatInstallDate;
[PropertyContext("DatVersion") ] string DatVersion;
};

-------------------
Thanks,
http://paddymaddy.blogspot.com/