How do I Change My Computer Name Through Group Policy in Windows 2003 Domain.

Export to PDF | Export to DOC

Problem:  How do I Change My Computer Name Through Group Policy in Windows 2003 Domain.


Solution:

Create Template Key:

  1. Start Regedit
  2. Change the value data for
    HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\LocalizedString
    to %USERNAME% on: %COMPUTERNAME%
  3. Export the HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D to a shared location on your Windows Domain. 

Change the key to what you want it to

  1. Use group policy to deploy the registry change:
  2. Start Active Directory Users and Computers. 
  3. Right-click the domain, and then click Properties. 
  4. Click the Group Policy tab.
  5. Click Open
  6. Right Click the domian and select “Create & Link a GPO Here…”
  7. Name this Policy to MyComputerNamePolicy (or whatever you like). 
  8. Right Click MyComputerNamePolicy, and then click Edit to start the Group Policy editor. 
  9. Expand Computer Configuration, Windows Settings, Scripts (Startup/Shutdown).
  10. Right-click Startup in the right pane, and then click Properties. 
  11. Click Add. 
  12. In Script name Place: C:\WINDOWS\regedit.exe
  13. In Scripts Parameters type:/s “\\servername\Share Location\registry-template-file .reg”

    (/s is for silent, inside the quotes is the network share location of the .reg fie to import.)

  14. Click Ok
  15. Click Apply, Ok
  16. Refresh Group Policy. Run gpupdate. Click Start, Run, gpupdate <enter>
  17. Have domain computers reboot. 


Leave a Reply

Your email address will not be published. Required fields are marked *