Search found 1 match

by NewDosLearner
13 Oct 2021 04:31
Forum: DOS Batch Forum
Topic: Create Local User and add to local admin group
Replies: 2
Views: 3757

Create Local User and add to local admin group

Hi all, I am new to creating Bat scripts and I am trying to do something very simple which does not seem to be working. I am simply trying to create a new local user and add them to the local Administrators group. I am also trying to set the password to never expire. Below is my code : net user ADMI...