Skip to content

Instantly share code, notes, and snippets.

@derekmurawsky
Created November 19, 2013 15:29
Show Gist options
  • Save derekmurawsky/7547097 to your computer and use it in GitHub Desktop.
Save derekmurawsky/7547097 to your computer and use it in GitHub Desktop.
Create a user and add them to a group via the Windows command line and net command.
net user UserName Password /ADD /FULLNAME:"Full Name" /PASSWORDCHG:Yes /EXPIRES:never /ACTIVE:yes /COMMENT:"Comment"
net localgroup GroupName UserName /add
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment