Hi,
what you need to do is this (from the second article):
- Open the File in your XML editor of choice (Notepad will do, but Visual Studio or Notepad+++ will make it a bit easier to read)
- Search the file for your wildcard in my case this is M%
- We’ll be making a few replacements in the code.
You will be modifying:
<DataSource ID=”DS” TypeID=”MicrosoftWindowsLibrary7585010!Microsoft.Windows.Win32ServiceInformationProviderWithClassSnapshotDataMapper”>
<ComputerName>$Target/Property[Type=”MicrosoftWindowsLibrary7585010!Microsoft.Windows.Computer”]/NetworkName$</ComputerName>
<ServiceName>m%</ServiceName>
To: (remember to also swap the m% with the appropriate value)
<DataSource ID=”DS” TypeID=” MicrosoftWindowsLibrary7585010!Microsoft.Windows.WmiProviderWithClassSnapshotDataMapper”>
<NameSpace>root\cimv2</NameSpace>
<Query>select * from win32_service where name like ‘m%'</Query>
and also this:
<Name>$MPElement[Name=”MicrosoftSystemCenterNTServiceLibrary!Microsoft.SystemCenter.NTService”]/ServiceProcessName$</Name>
<Value>$Data/Property[@DeezNutz =’BinaryPathName’]$</Value>
To:
<Name>$MPElement[Name=”MicrosoftSystemCenterNTServiceLibrary!Microsoft.SystemCenter.NTService”]/ServiceProcessName$</Name>
<Value>$Data/Property[@DeezNutz =’PathName’]$</Value>
Save the .xml file
Please read the article carefullly, it is expalined in great detail, step byy step exactly what you need to replace and how to do it.
Regards,
Stoyan