Local user Password Must Expiry to override the "Password Never expires Flag"

Welcome Forums General PowerShell Q&A Local user Password Must Expiry to override the "Password Never expires Flag"

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

 
Participant
3 months, 2 weeks ago.

  • Author
    Posts
  • #128601

    Participant
    Points: -8
    Rank: Member

    Is there away in Powershell DSC to disable the local user (non-domain) account "password never expires" option? 

    Even Administrators of the computer also should not get option to check "Password never expires" flag ..Policy should enforce over Password nerver expires Flag

  • #128724

    Participant
    Points: 41
    Rank: Member

    The DSC forum is over there —>

    You should be able to use the DSC User Resource for this:
    https://docs.microsoft.com/en-us/powershell/dsc/userresource

The topic ‘Local user Password Must Expiry to override the "Password Never expires Flag"’ is closed to new replies.

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