locked
This command cannot be run due to the error: Access is denied. RRS feed

  • Question

  • I am running a script from local machine. The script creates a session with Server B. The Server B in turn starts a process a server A. I am going into a second hop and I have enabled CredSSP on local machine as well as on Server B. What could be the solution to this problem?

    Thanks,

    Rushikesh

    Thursday, September 28, 2017 9:34 AM

All replies

  • Hi Rushikesh,

    ensure ...

    • That you not only have CredSSP configured, but are also using it.
    • That the user used on the first hop has the necessary privileges to start processes on ServerA
    • That Server A is configured to accept incoming remote management

    Cheers,
    Fred


    There's no place like 127.0.0.1


    • Edited by FWN Thursday, September 28, 2017 9:50 AM
    Thursday, September 28, 2017 9:44 AM
  • Thanks Fred.

    I have CredSSP configured, but how do I use it?

    Regards,

    Rushikesh

    Friday, September 29, 2017 4:41 AM
  • Generally, the various remoting commands support a parameter called -Authentication. Specify CredSSP there.

    Also note: When using the CredSSP authentication mechanism, you must explicitly specify credentials, so you also need to pass the -Credential parameter.


    There's no place like 127.0.0.1

    Friday, September 29, 2017 7:48 AM