Skumar_CCSA
asked on
script, batch file, windows 7, username create script
Hi experts,
looking for your help....
we have some deployment happening this month, the below users need to be created for all client pc..not domain environment.
Need to create the below user accounts after installing the win 7, can you please help me is it possible to create users running batch file ?
Username 1 :abunlock
Password : Bact!qaz
Group : Users
User cannot change password.
Password Never Expire
Username 2 :auser
Password : Bact!qaz
Group : Users
User cannot change password.
User Must Change password at next logon
Username 1 :abce
Password : Bact!qaz
Group : Administrators
User cannot change password.
Password Never Expire
looking for your help....
we have some deployment happening this month, the below users need to be created for all client pc..not domain environment.
Need to create the below user accounts after installing the win 7, can you please help me is it possible to create users running batch file ?
Username 1 :abunlock
Password : Bact!qaz
Group : Users
User cannot change password.
Password Never Expire
Username 2 :auser
Password : Bact!qaz
Group : Users
User cannot change password.
User Must Change password at next logon
Username 1 :abce
Password : Bact!qaz
Group : Administrators
User cannot change password.
Password Never Expire
The best option I can see to fulfill your requirement is to use GP preferences
Create brand new GPO and navigate to computer configuration\preferences and navigate to users
There you can create new local users in update mode with required password and remaining password and also you can set their group membership as well
Once you have done, apply this policy on OU containing computers
During next reboot \ GPO update interval new users will be created on client computers
Once it get created next time policy will check if user already exists, then it will skip their recreation.
If some body deletes them, policy will recreate them
Check below link for more information
http://technet.microsoft.com/en-us/library/cc771917.aspx
Check below link for step by step
http://blog.korteksolutions.com/how-to-create-local-accounts-via-group-policy/
Also if computer configuration is not working then move the settings to the User section of preferences instead of Computer, then enabled group policy loopback processing to apply it to the computer.
Loop back processing can be found under computer configuration\administrati ve templates\system\group policy in the same GPO
Mahesh
Create brand new GPO and navigate to computer configuration\preferences and navigate to users
There you can create new local users in update mode with required password and remaining password and also you can set their group membership as well
Once you have done, apply this policy on OU containing computers
During next reboot \ GPO update interval new users will be created on client computers
Once it get created next time policy will check if user already exists, then it will skip their recreation.
If some body deletes them, policy will recreate them
Check below link for more information
http://technet.microsoft.com/en-us/library/cc771917.aspx
Check below link for step by step
http://blog.korteksolutions.com/how-to-create-local-accounts-via-group-policy/
Also if computer configuration is not working then move the settings to the User section of preferences instead of Computer, then enabled group policy loopback processing to apply it to the computer.
Loop back processing can be found under computer configuration\administrati
Mahesh
Mahesh,
Don't you need a domain and windows server to use group policy?
Don't you need a domain and windows server to use group policy?
ASKER
No domain enviornment...
This need to be done through script....
After installing window 7..admin will run the script and it will creAte users .
This need to be done through script....
After installing window 7..admin will run the script and it will creAte users .
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Ya, Korbus,
You are right
GPO won't work
I think I have over looked question
You are right
GPO won't work
I think I have over looked question
I'll let the url speak for itself ;)