CredSSP without retyping username/password

Welcome Forums General PowerShell Q&A CredSSP without retyping username/password

This topic contains 1 reply, has 2 voices, and was last updated by

4 years, 11 months ago.

  • Author
  • #14487

    Points: 12
    Rank: Member

    Is it a limitation of credSSP which requires users to reenter username/passwords second time? Is there a way around it.
    I'm trying to make module with bunch of common tasks which will be delegated to helpdesk personell to perform (reset application pools on remote IIS systems for example). I want them to open WinRM session to central station and from there execute all those cmdlets. Problem is that now they not only need to enter their credentials second time but also they need to put a bunch of additional parameters in all my cmdlets to allow credSSP.
    What is most elegant way to accomplish what I'm looking for if I want to utilize central server they run my cmdlets from?


  • #14488

    Points: 1,811
    Helping HandTeam Member
    Rank: Community Hero

    It isn't a limitation so much as a precaution. You're not meant to have an easy time putting passwords in clear text :).

    Read through some of the articles listed at, and you'll see how others have dealt with the problem.

    What you really want to do is set up a remoting endpoint that (a) lets users connect by using their own identity, which can be passed along automatically, and (b) run the commands in the session under a permanently saved alternate credential. If you look at "Secrets of PowerShell Remoting" (under Free eBooks in our Resources menu), there's a chapter on doing what you're after.

The topic ‘CredSSP without retyping username/password’ is closed to new replies.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort