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 onoff, and KVM should show under a vPro Tab on the right click menu.
Installation of PowerShell AMT 1:1 Reboots from SCCM Console
- Close SCCM Console
- Download and install vPro Powershell Module on SCCM Server (Download Intel® vPro™ Technology module for Windows* PowerShell)
- On SCCM Server go to C:Program Files (x86)Microsoft Configuration ManagerAdminConsoleXmlStorageExtensionsActions
<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:WindowsSystem32WindowsPowerShellv1.0powershell.exe</FilePath>
<Parameters>Invoke-AMTForceBoot ##SUB:Name##.vprodemo.com -tls -operation reset -device harddrive</Parameters>
</Executable>
</ActionDescription>
</ActionGroups>
</ActionDescription>
- d. Save and Close File
- e. Restart SCCM Console
- 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
After having reboots taken care of I figured I would expand this menu a bit and get some more functionality baked in.
- 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)RealVNCVNCViewerPlusvncviewerplus.exe</FilePath>
<Parameters>-uri kvm://##SUB:Name##</Parameters>
</Executable>
</ActionDescription>
- To add RebootsPower DownPower On via AMTSDK – REQUIRES AMTSDK (https://software.intel.com/en-us/amt-sdk/download)
- Extract files needed to C:AMT (or location of your choosing – make sure to adjust location in descriptions) from .AMTSDKWindowsIntel_AMTBin and .AMTSDKWindowsIntel_AMTBin Ws-ManagementC++
- CPPCimFramework.dll
- CPPCimFrameworkUntyped.dll
- RemoteControlTyped.exe
- Extract files needed to C:AMT (or location of your choosing – make sure to adjust location in descriptions) from .AMTSDKWindowsIntel_AMTBin and .AMTSDKWindowsIntel_AMTBin Ws-ManagementC++
<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:AMTRemoteControlTyped.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:AMTRemoteControlTyped.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:AMTRemoteControlTyped.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:AMTRemoteControlTyped.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:AMTRemoteControlTyped.exe</FilePath>
<Parameters>-p gracefuloff -host ##SUB:Name## -krb -tls</Parameters>
</Executable>
</ActionDescription>
At the end we have something like this
Enjoy the right-click menu
The post SCCM Right Click Menu for AMT Out of Band Functions appeared first on Blogs@Intel.