The first thing i did using salt stack was creating a local windows user. Creating users on different OS builds are fully supported by using the built-in salt functions.
First create a mapping in your top.sls config which point to your Windows state directory.
Sample config in top.sls Defining 2 hostnames, one with a wildcard for matching a server group.
Content of the win_generic.sls
In this example I use pillar for securing passwords. If you don’t use pillar, just use a plain text password in the password field.
Ill write a blog article how to use Pillar in SALT.