Script package - programmatically create a user in Windows XP

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

+5
source share
2 answers

Suppose the username is canceled and the password is pAsS

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

here the user is added under the group of administrators.

+9
source

, , net user USERNAME PASSWORD /add ( PASSWORD, , * PASSWORD, ), " "; , net localgroup Administrators USERNAME /add .

+3

All Articles