Tuesday 9 September 2014

GPO: How to create or delete local accounts via Group Policy

How to create local accounts via Group Policy

How to create local accounts via Group Policy
This step by step document shows how to create a local admin account across all domain joined PC’s for use with situations like LogMein remote support and notebooks, which are not always connected to the domain.
1. Open Group Policy Management
2. Create a new Group Policy Object called “Local Users Login Account” and link it to the appropriate OU.
3. Open up the newly created GPO called “Local Users Login Account”.
clip_image002
4. Under the User Configuration Node, Select PreferencesControl Panel Settings, Local Users and Groups. Then Right Click and select NewLocal User
clip_image004
5. In Action, Select Update. User name will be “RemoteAdmin”. Under Full name, type in a descriptive name. Select a password in Passwordand Confirm Password, and Uncheck User must change password at next logon, and check Password never expires. Leave Account never expires checked. Click on OK.
clip_image006
6. Now go to the Computer Configuration Node, and select PreferencesControl Panel SettingsLocal Users and Groups. Right click and select NewLocal Group.
clip_image008
7. Under Action, select Update, in Group name, select Administrators (built-in), and then click on Add under Members. In the Add box, type in RemoteAdmin for the name and click OK. Now Click on OK again.
clip_image010
8. Now wait for the group policy to update. If you don’t want to wait, you can open up a command prompt on a workstation and type “gpupdate /force”
Troubleshooting:
If you see the user being created but not added to the local administrators group, take a look at where you are assigning the GPO to. Ensure you are assigning it to User objects and Computer Objects.

No comments:

Post a Comment