If you're building or moving console extensions to SCCM 2007, you may find that it can be difficult to identify the proper GUID to enable the extension in the desired location. For starters, be sure to download and review the documentation in the SCCM 2007 SDK. Search the SDK for the section titled How to Find a Configuration Manager Console Node GUID. As you can see from reviewing that document, search AdminConsole.xml located in the *SCCMInstallDir*\AdminUI\XmlStorage\ConsoleRoot\AdminConsole.xml file to identify the proper GUID.
Here's an alternative method that may help you identify the GUID much faster than described in the SDK. Perform the following steps on a test SCCM site server.
- Download GUID.Zip from myITforum.com.
- Extract GUID.Zip to C:\GUID.
- Copy all the subfolders located in C:\GUID\ to *SCCMInstallDir*\adminui\xmlstorage\extensions\actions\
- Restart your SCCM Console.
After the SCCM Console has been restarted, Right-click a Programs node, and look for the additional info (FYI - you can right-click on just about anything, and find associated GUIDs).
Notice the action labeled GUID - 96d5b2a5-174c-46eb-b1cb-840c4d8c55e0 - The .xml file that created this entry is located here:
If you view that .xml, you'll see that it's launching C:\TEMP\Test.VBS - This was an example code that simply captures the GUID, and writes it to C:\temp\GUID.txt.
- Const ForAppending = 8
- strGUID = Wscript.Arguments(0)
- strMSG = inputbox("Enter Description for this GUID")
- Set fso = CreateObject("Scripting.FileSystemObject")
- Set ts = fso.OpenTextFile("c:\temp\GUIDInfo.txt", ForAppending, True)
- ts.Write strGUID & vbTAB & strMSG & vbCRLF