Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Batch Script - Create user in Windows XP programmatically

Is there a way to create a user in Windows XP via Batch Script and even assign it administrator/limited user value?

like image 869
Anthony Miller Avatar asked Sep 21 '11 13:09

Anthony Miller


1 Answers

Suppose the username is rased and password is pAsS

net user rased pAsS /add 
net localgroup administrators rased /add

here user is added under administrators group.

like image 170
Rased Dot Net Avatar answered Jan 02 '23 09:01

Rased Dot Net