ConfigMgr Right Click Tools

There's been a lot of conversation going around about how to port over the right click tools from SMS 2003 to ConfigMgr. The first thing we need to do in order to make that happen is download the ConfigMgr SDK so we can find the proper GUID to save our xml files under and also to find the code to use with our xml file. Everything you need to know about writing your own right click tools is in the SDK but it's not easy to figure out if your not a developer and I don't know too many SMS Admins that are also developers. I have been playing around with this for a week or two and every time I think I have it figured out I hit another road block. The easiest ones to get working are the tools that just call another function that's built into to windows. (stuff like ping, computer management, connect to C$ etc) to do those just make an xml file, you can call it whatever you want to and save it in you ConfigMgr install directory under AdminUI\XmlStorage\Extensions\Actions\7ba8bf44-2344-4035-bdb4-16630291dcf6. Here's an example of some really easy tools to get you started. Other folks have done some more advanced stuff like client actions and so forth but I am trying to reduce the dependancy of external vbs files before I blog about that so look for more to come later.

 <ActionDescription Class="Group" DisplayName="ConfigMgr Tools" MnemonicDisplayName="MnemonicNewGroupName" Description="ConfigMgr Tools" SqmDataPoint="53">
  <ActionGroups>
 </Executable>
        </ActionDescription>
<ActionDescription Class="Executable" DisplayName="Connect to C$" MnemonicDisplayName="Mnemonic" Description="Connect to C$">
      <Executable>
        <FilePath>explorer.exe</FilePath>
<Parameters>\\##SUB:Name##\C$\</Parameters>
      </Executable>
    </ActionDescription>
    <ActionDescription Class="Executable" DisplayName="Ping Workstation" MnemonicDisplayName="Mnemonic" Description="Ping Workstation">
      <Executable>
        <FilePath>cmd.exe</FilePath>
<Parameters> /k Ping  ##SUB:Name## -t</Parameters>
      </Executable>
    </ActionDescription>
<ActionDescription Class="Executable" DisplayName="Start Event Viewer" MnemonicDisplayName="Mnemonic" Description="Start Event Viewer">
      <Executable>
        <FilePath>eventvwr</FilePath>
<Parameters>##SUB:Name##</Parameters>
      </Executable>
    </ActionDescription>
<ActionDescription Class="Executable" DisplayName="Computer Management" MnemonicDisplayName="Mnemonic" Description="Computer Management">
      <Executable>
        <FilePath>compmgmt.msc</FilePath>
<Parameters>/computer=##SUB:Name##</Parameters>
      </Executable>
    </ActionDescription>
     </Executable>
    </ActionDescription>
<ActionDescription Class="Executable" DisplayName="Client Logs" MnemonicDisplayName="Mnemonic" Description="Client Logs">
      <Executable>
        <FilePath>explorer.exe</FilePath>
<Parameters>\\##SUB:Name##\C$\Windows\System32\CCM\Logs</Parameters>
      </Executable>
    </ActionDescription>
<ActionDescription Class="Executable" DisplayName="Connect To CCM Setup" MnemonicDisplayName="Mnemonic" Description="Connect To CCM Setup">
         <Executable>
            <FilePath>explorer.exe</FilePath>
            <Parameters>\\##SUB:Name##\admin$\Windows\System32\CCMSetup</Parameters>
         </Executable>
      </ActionDescription>
  </ActionGroups>
</ActionDescription>

Published Thursday, January 17, 2008 8:18 PM by jmarcum

Comments

No Comments
Powered by Community Server (Commercial Edition), by Telligent Systems