none
Enable-PsRemoting is not working on ADFS 2016 RRS feed

  • Question

  • When I try to run command Enable-PSRemoting I get the below error. I am trying to enable PSRemoting on ADFS server and found that Winrm is working fine. Test-WSMAN also works fine.

    Not sure what to check here, can you please suggest?

    **remove-item : Access is denied.
    At line:69 char:21
    + ...                   remove-item -path "$securityIDPath" -recurse -force
    +                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Remove-Item], InvalidOperationException
        + FullyQualifiedErrorId : System.InvalidOperationException,Microsoft.PowerShell.Commands.RemoveItemCommand**

    Thursday, May 21, 2020 12:24 PM

All replies

  • Before installing ADFS did you find whether or not PSRemoting was enabled by default?
    Thursday, May 21, 2020 1:34 PM
  • yes, winrm and test-wsman working but did not try enable-psremoting. Is it known that on ADFS it does not work ?


    Thursday, May 21, 2020 4:07 PM