dsccommunity / SecurityPolicyDsc

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

Network_access_ Restrict_clients_ allowed_to_make_ remote_calls_to_SAM: convertfrom-gpo not ok #184

Open KennethYCK opened 2 years ago

KennethYCK commented 2 years ago

Using SecurityPolicyDCS version 2.10 , and use convertfrom-GPO and generate below item and change to mof will have error message

SecuityOption 'Network_access_ Restrict_clients_ allowed_to_make_ remote_calls_to_SAM'
{ 
Name ='Network_access_ Restrict_clients_ allowed_to_make_ remote_calls_to_SAM'
Network_access_ Restrict_clients_ allowed_to_make_ remote_calls_to_SAM ='O:BAG:BAD:(A;;RC;;;BA)'
}

Error message: Convert Property 'Networkaccess Restrictclients allowed_tomake remote_calls_to_SAM' value from type 'String[]' to tye 'instance[]' failed