dsccommunity / SecurityPolicyDsc

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

MSFT_SecurityOption: Spelling error in MSFT_SecurityOption.psm1 #105

Closed swspoerle closed 5 years ago

swspoerle commented 6 years ago

Details of the scenario you tried and the problem that is occurring

The ValidateSet in the Parameter for User_Account_Control_Behavior_of_the_elevation_prompt_for_standard_users has a misspelling of "Prompt for credentials" as it says "Prompt for crendentials"

Verbose logs showing the problem

SecurityPolicyDsc\SecurityOption : At least one of the values 'Prompt for credentials' is not supported or valid for property 'User_Account_Control_Behavior_of_the_elevation_prompt_for_standard_users' on class 'SecurityOption'. Please specify only supported values: Automatically deny elevation request, Prompt for credentials on the secure desktop, Prompt for crendentials.

Suggested solution to the issue

The DSC configuration that is used to reproduce the issue (as detailed as possible)

User_Account_Control_Behavior_of_the_elevation_prompt_for_standard_users

Version of the DSC module that was used ('dev' if using current dev branch)

2.5.0.0

jcwalker commented 6 years ago

@swspoerle good catch on this. I should be able to take of this within a week or so.