dsccommunity / SecurityPolicyDsc

A wrapper around secedit.exe to configure local security policies
MIT License
176 stars 53 forks source link

Configurations not being applied #119

Open SwethaGanapathy01 opened 5 years ago

SwethaGanapathy01 commented 5 years ago

We have below DSC configurations which is replicating in the server but I'm getting it as failed recommendation with mismatch in expected and actual result

    AccountPolicy PasswordPolicies
    {
        Name = "PasswordPolicies"
        Enforce_password_history = 24
        Maximum_Password_Age = 70
        Minimum_Password_Age = 1
        Minimum_Password_Length = 14
        Store_Passwords_Using_Reversible_Encryption = "Disabled"
    }

Above recommendations are shown as failed.

SwethaGanapathy01 commented 5 years ago

Can anyone suggest me with some solution for the above issue with configuration

jcwalker commented 5 years ago

@SwethaGanapathy01 I have tested the settings you provided in your issue and the resource succeeds without error. Can you provide the error you are getting?