windows下添加用户和组命令

net user 用户名 ebiz /add /active:yes /expires:never /passwordchg:yes /fullname:"命名" /comment:"注释"

net localgroup "组名" 用户名 /add

pause

net user zhangsan ebiz /add /active:yes /expires:never /passwordchg:yes /fullname:"张三" /comment:"CVS Users"

net localgroup "CVS Users"zhangsan/add

pause

你可能感兴趣的:(windows)