Powershell command to edit DefaultAccessPolicy?

Software-based VM-centric and flash-friendly VM storage + free version

Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)

Post Reply
oerknoe
Posts: 1
Joined: Sun Feb 09, 2020 8:13 pm

Sun Feb 09, 2020 8:16 pm

Hi,

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

Thanks!
Michael (staff)
Staff
Posts: 317
Joined: Thu Jul 21, 2016 10:16 am

Thu Feb 13, 2020 5:41 pm

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>
Post Reply