How to configure Users permissions in Windows Server 2008 R2 by command line?
- by Répás
I have to create about 800 users in our Windows S 2008 R2 and I'd like to make a few settings with them.
Create user: net user Joe 1mb4pASs /add /fullname:"John Smith" /passwordchg:no /comment:"no comment"
Set never expired password: wmic useraccount where "Name='Joe'" set PasswordExpires=FALSE
Add the user to two groups (like in the Members Of…