I have several local accounts which are created at install time with C#. There is a group policy that in turn grants certain permissions to these new accounts.
The problem I am trying to solve is how do I go about getting the group policy pushed to the new accounts. Without the group policy applied the application will not function.
Opening a cmd prompt and running gpupdate /force fixes it, but I need a more seamless transition between install time and run time.