While working with the new SCCM version, I noticed that I was missing some Intel AMT Integration that I used to have, and decided to look into it and made a right click menu to get back some of the functionality. After building this plugin, options for restarting, power on\off, and KVM should show under a vPro Tab on the right click menu.

 

Installation of PowerShell AMT 1:1 Reboots from SCCM Console

  1. Close SCCM Console
  2. Download and install vPro Powershell Module on SCCM Server (Download Intel® vPro™ Technology module for Windows* PowerShell) 1.PNG
  3. On SCCM Server go to C:\Program Files (x86)\Microsoft Configuration Manager\AdminConsole\XmlStorage\Extensions\Actions\2.PNG
    1. Create folder 3fd01cd1-9e01-461e-92cd-94866b8d1f39

      This folder title is a GUID that translates to where the menu will pop up (there are different GUIDs for other locations)

    2. Inside Folder create xml file – IntelvProExt.xml
      3.PNG
    3. Edit file to include following

<ActionDescription

                class="Group"

                DisplayName="Intel vPro"

                MnemonicDisplayName="Intel vPro"

                Description="Contains commands for Intel vPro hardware">

                <ShowOn>

                                <string>DefaultHomeTab</string>

                                <string>ContextMenu</string>

                </ShowOn>

                <ActionGroups>

<ActionDescription

                                                class="Executable"

                                                DisplayName="PowerShell Reboot"

                                                MnemonicDisplayName="PowerShell Reboot"

                                                Description="Sends a forced PowerShell Reboot"

                                                RibbonDisplayType="TextAndSmallImage">

                                                <ShowOn>

                                                                <string>ContextMenu</string>

                                                                <string>DefaultHomeTab</string>

                                                                <string>DefaultContextualTab</string>

                                                </ShowOn>

                                                <Executable>

                                                                <FilePath>C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe</FilePath>

                                                                <Parameters>Invoke-AMTForceBoot ##SUB:Name##.vprodemo.com -tls -operation reset -device harddrive</Parameters>

                                                </Executable>

                                </ActionDescription>

                               

                </ActionGroups>

</ActionDescription>

  1. d. Save and Close File
  2. e. Restart SCCM Console
  3. Right click menu will now have Intel vPro menu with PowerShell Reboot Options

 

From here we have a basic powershell reboot for AMT systems. should look something like this

5.PNG

 

 

After having reboots taken care of I figured I would expand this menu a bit and get some more functionality baked in.

 

  1. To Add KVM options with RealVNC Viewer Plus - This will take advantage of the AMTKVM options for Out of Band KVM

                              <ActionDescription

                                                class="Executable"

                                                DisplayName="Start KVM"

                                                MnemonicDisplayName="Start KVM"

                                                Description="Starts a KVM session with Intel hardware"

                                                RibbonDisplayType="TextAndSmallImage">

                                                <ShowOn>

                                                                <string>ContextMenu</string>

                                                                <string>DefaultHomeTab</string>

                                                                <string>DefaultContextualTab</string>

                                                </ShowOn>

                                                <Executable>

                                                                <FilePath>C:\Program Files (x86)\RealVNC\VNCViewerPlus\vncviewerplus.exe</FilePath>

                                                                <Parameters>-uri kvm://##SUB:Name##</Parameters>

                                                </Executable>

                                </ActionDescription>

 

  1. To add Reboots\Power Down\Power On via AMTSDK – REQUIRES AMTSDK (https://software.intel.com/en-us/amt-sdk/download)
    1. Extract files needed to C:\AMT (or location of your choosing – make sure to adjust location in descriptions) from .\AMTSDK\Windows\Intel_AMT\Bin and .\AMTSDK\Windows\Intel_AMT\Bin Ws-Management\C++
      1. CPPCimFramework.dll
      2. CPPCimFrameworkUntyped.dll
      3. RemoteControlTyped.exe

7.PNG

                                   <ActionDescription

                                                class="Executable"

                                                DisplayName="Power On"

                                                MnemonicDisplayName="Power On"

                                                Description="Sends a Power On Command"

                                                RibbonDisplayType="TextAndSmallImage">

                                                <ShowOn>

                                                                <string>ContextMenu</string>

                                                                <string>DefaultHomeTab</string>

                                                                <string>DefaultContextualTab</string>

                                                </ShowOn>

                                                <Executable>

                                                                <FilePath>C:\AMT\RemoteControlTyped.exe</FilePath>

                                                                <Parameters>-p On -host ##SUB:Name## -krb -tls</Parameters>

                                                </Executable>

                                </ActionDescription>

                               

                                <ActionDescription

                                                class="Executable"

                                                DisplayName="Reboot"

                                                MnemonicDisplayName="Reboot"

                                                Description="Sends a Reboot Command"

                                                RibbonDisplayType="TextAndSmallImage">

                                                <ShowOn>

                                                                <string>ContextMenu</string>

                                                                <string>DefaultHomeTab</string>

                                                                <string>DefaultContextualTab</string>

                                                </ShowOn>

                                                <Executable>

                                                                <FilePath>C:\AMT\RemoteControlTyped.exe</FilePath>

                                                                <Parameters>-p powercycle -host ##SUB:Name## -krb -tls</Parameters>

                                                </Executable>

                                </ActionDescription>

                                                               

                                <ActionDescription

                                                class="Executable"

                                                DisplayName="Power Off"

                                                MnemonicDisplayName="Power Off"

                                                Description="Sends a Power Off Command"

                                                RibbonDisplayType="TextAndSmallImage">

                                                <ShowOn>

                                                                <string>ContextMenu</string>

                                                                <string>DefaultHomeTab</string>

                                                                <string>DefaultContextualTab</string>

                                                </ShowOn>

                                                <Executable>

                                                                <FilePath>C:\AMT\RemoteControlTyped.exe</FilePath>

                                                                <Parameters>-p Off -host ##SUB:Name## -krb -tls</Parameters>

                                                </Executable>

                                </ActionDescription>

                               

                                <ActionDescription

                                                class="Executable"

                                                DisplayName="Graceful Reboot (AMT 9+ only)"

                                                MnemonicDisplayName="Graceful Reboot (AMT 9+ only)"

                                                Description="Sends a graceful reboot command (AMT 9+ only)"

                                                RibbonDisplayType="TextAndSmallImage">

                                                <ShowOn>

                                                                <string>ContextMenu</string>

                                                                <string>DefaultHomeTab</string>

                                                                <string>DefaultContextualTab</string>

                                                </ShowOn>

                                                <Executable>

                                                                <FilePath>C:\AMT\RemoteControlTyped.exe</FilePath>

                                                                <Parameters>-p gracefulreset -host ##SUB:Name## -krb -tls</Parameters>

                                                </Executable>

                                </ActionDescription>

                               

                                <ActionDescription

                                                class="Executable"

                                                DisplayName="Graceful Shutdown (AMT 9+ only)"

                                                MnemonicDisplayName="Graceful Shutdown (AMT 9+ only)"

                                                Description="Sends a graceful shutdown command (AMT 9+ only)"

                                                RibbonDisplayType="TextAndSmallImage">

                                                <ShowOn>

                                                                <string>ContextMenu</string>

                                                                <string>DefaultHomeTab</string>

                                                                <string>DefaultContextualTab</string>

                                                </ShowOn>

                                                <Executable>

                                                                <FilePath>C:\AMT\RemoteControlTyped.exe</FilePath>

                                                                <Parameters>-p gracefuloff -host ##SUB:Name## -krb -tls</Parameters>

                                                </Executable>

                                </ActionDescription>

 

At the end we have something like this

6.PNG

 

 

Enjoy the right-click menu