This step-by-step article describes how to change the administrator account and guest account names by using Group Policy in Windows Server 2003. This may be useful if you want to change the name of the administrator or guest user accounts to minimize the chance of misuse of these accounts.
Create a Group Policy Object
To create a Group Policy object (GPO) to change the administrator and guest account names:
- Start the Active Directory Users and Computers snap-in. To do so, click Start, point to All Programs, point to Administrative Tools, and then click Active Directory Users and Computers.
- In the console tree, right-click the domain or the organizational unit where you want to create the group policy, and then click Properties.
- Click the Group Policy tab, and then click New.
- Type the name that you want to use for this policy. For example, type Rename Administrator and Guest accounts, and then press ENTER.
- Click Close.
Rename the Administrator and Guest Accounts
- Start the Active Directory Users and Computers snap-in.
- In the console tree, right-click your domain or the organizational unit that contains the Group Policy that you want, and then click Properties.
- Click the Group Policy tab, click the Group Policy object that you want, and then click Edit. For example, click the Rename Administrator and Guest accounts Group Policy object, and then click Edit.
- Expand Computer Configuration, expand Windows Settings, expand Security Settings, expand Local Policies, and then click Security Options.
- In the right pane, double-click Accounts: Rename administrator account.
- Click to select the Define this policy setting check box, and then type the new name that you want to use for the administrator account.
- Click OK.
- Double-click Accounts: Rename guest account.
- Click to select the Define this policy setting check box, and then type the new name that you want to use for the guest account.
- Click OK, and then quit the Group Policy Object Editor snap-in.
- Quit the Active Directory Users and Computers snap-in.
Troubleshoot
If you try to reverse the changes to the administrator or guest account names by clearing the Define this policy setting check box in the Rename guest account or Rename administrator account dialog boxes, you may not be able to log on to the domain by using the default account names. To resolve this issue, use Group Policy to restore the default account names, and then clear the Define this policy setting check box:
- Start the Active Directory Users and Computers snap-in.
- In the console tree, right-click your domain or the organizational unit that contains the Group Policy that you want, and then click Properties.
- Click the Group Policy tab, click the Group Policy object that you want, and then click Edit.
- Expand Computer Configuration, expand Windows Settings, expand Security Settings, expand Local Policies, and then click Security Options.
- In the right pane, double-click Accounts: Rename administrator account.
- Click to select the Define this policy setting check box, and then type Administrator. Click OK.
- Double-click Accounts: Rename guest account.
- Click to select the Define this policy setting check box, and then type Guest.
- Click OK, and then quit the Group Policy Object Editor snap-in.
- Quit the Active Directory Users and Computers snap-in.
- Click Start, click Run, type cmd in the Open box, and then click OK.
- At the command prompt, type the following commands, pressing ENTER after each command: gpupdate
exit - Start the Active Directory Users and Computers snap-in.
- In the console tree, right-click your domain or the organizational unit that contains the Group Policy that you want, and then click Properties.
- Click the Group Policy tab, click the Group Policy object that you want, and then click Edit.
- Expand Computer Configuration, expand Windows Settings, expand Security Settings, expand Local Policies, and then click Security Options.
- In the right pane, double-click Accounts: Rename administrator account.
- Click to clear the Define this policy setting check box, and then click OK.
- Double-click Accounts: Rename guest account.
- Click to clear the Define this policy setting check box, and then click OK.
- Click OK, and then quit the Group Policy Object Editor snap-in.
- Quit the Active Directory Users and Computers snap-in.
REFERENCES
For more information about Group Policy in Windows Server 2003, visit the follow…
For more information about Group Policy in Windows Server 2003, visit the following Microsoft Web site:
http://www.microsoft.com/windowsserver2003/gpmc/default.mspx (http://www.microsoft.com/windowsserver2003/gpmc/default.mspx)
APPLIES TO
- Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
- Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
- Microsoft Windows Server 2003, Standard Edition (32-bit x86)
- Microsoft Windows Server 2003, 64-Bit Datacenter Edition
- Microsoft Windows Server 2003, Enterprise x64 Edition
<
p>Source: HOW TO: Rename the Administrator and Guest Account in Windows Server 2003