Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

running enable-wsmancredssp causes PowerShell to exit with error #2599

Copy link
Copy link
@JamesWTruher

Description

@JamesWTruher
Issue body actions

Steps to reproduce

enable-wsmancredssp -DelegateComputer ServerA.foo.xyz.com -Role Client -Force

Expected behavior

not to crash

Actual behavior

Unhandled Exception: System.InvalidCastException: Unable to cast COM object of type 'Microsoft.WSMan.Management.GPClass'
to interface type 'Microsoft.WSMan.Management.IGroupPolicyObject'. This operation failed because the QueryInterface cal
l on the COM component for the interface with IID '{EA502723-A23D-11D1-A7D3-0000F87571E3}' failed due to the following e
rror: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
at Microsoft.WSMan.Management.EnableWSManCredSSPCommand.UpdateCurrentUserRegistrySettings() in C:\Users\jimtru\src\github\Forks\JamesWTruher\PowerShell-1\src\Microsoft.WSMan.Management\CredSSP.cs:line 733
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

Environment data

> $PSVersionTable
Name                           Value
----                           -----
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSVersion                      6.0.0-alpha
PSRemotingProtocolVersion      2.3
CLRVersion
WSManStackVersion              3.0
GitCommitId                    v6.0.0-alpha.11-64-g1851e1a5dcc648dec6170d037109775b3dce0038
BuildVersion                   3.0.0.0
SerializationVersion           1.1.0.1
PSEdition                      Core
Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

Blockedblocked on something external to this repoblocked on something external to this repoResolution-DuplicateThe issue is a duplicate.The issue is a duplicate.WG-RemotingPSRP issues with any transport layerPSRP issues with any transport layerWaiting - DotNetCorewaiting on a fix/change in .NETwaiting on a fix/change in .NET

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.