Page 1 of 1

[SOLVED] Create a user in Windows

Published: September 23, 2022 - 11:06 AM
by gilles.lapene
I want to create a Windows user and then add them to the administrator group.
I found the `create_user` command, but I can't find the correct syntax.
Do you have any ideas?
Wapt 1.8.2
Regards

Re: Creating a user in Windows

Published: September 23, 2022 - 12:39 PM
by gilles.lapene
Okay, I figured it out. I needed to add apostrophes to each value. `create_user('nomutilisateur', 'motdepasse', 'nomdutilisateur', 'nomdutilisateur')`