Page 1 of 1

Powershell command to edit DefaultAccessPolicy?

Posted: Sun Feb 09, 2020 8:16 pm
by oerknoe
Hi,

i created some ACL rules with $server.AddACLRule(), but how can I change the "DefaultAccessPolicy" to "deny"?

Thanks!

Re: Powershell command to edit DefaultAccessPolicy?

Posted: Thu Feb 13, 2020 5:41 pm
by Michael (staff)
The simplest way would stop StarWind service, edit the corresponding lines in "C:\Program Files\StarWind Software\StarWind\StarWind.cfg" and start the service back.

Code: Select all

  <acltable>
    <DefaultAccessPolicy value="[b]deny[/b]"/>
  </acltable>