Article ID: 000058752 Content Type: Error Messages Last Reviewed: 02/09/2022

“WsmanUnauthorizedException” Error When Using PowerShell* Commands with AMT Systems

Environment

Windows Server 2016 Family*, Windows® 10 family

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Summary

How to fix the "WsmanUnauthorizedException" error when using PowerShell* to call all cmdlets included in the Intel VPro* SDK

Description

When run commands that query the status of the AMT configuration get an unauthorized error.  

  • Get-AMTSetup command, it fails at when discover() is invoked: Add-Type -Path "C:\PowershellModules\IntelvProModule\Bin\IntelvPro\Intel.Wsman.Scripting.dll" $me = new-Object 'Intel.Management.Mei.MeDevice'$result = new-Object 'System.Object' $MeEnabled=$me.Enable() $me.Discover() Exception calling "Discover" with "0" argument(s): "Unauthorized"At C:\Users\xAdministrator\Desktop\AMTtesting.ps1:9 char:1+ $me.Discover()+ ~~~~~~~~~~~~~~+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException+ FullyQualifiedErrorId : WsmanUnauthorizedException  
  • Other "Get" commands produce similar Unauthorized messages.  
Resolution

The problem is a bug in the local Security Settings. The commands do not work if the following local policy is enabled:

System cryptographyUse FIPS compliant algorithms for encryption, hashing, and signing.

Change the setting to disabled, then reboot the system, after that the error will no longer appears.

This is a bug with the SDK on AMT versions 11.6.0.1102 or earlier.

Related Products

This article applies to 1 products