Re: Any automatic way of Renaming all user accounts to Employee IDs

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



eric hela wrote:

I have been asked to rename all user accounts in AD to Employee IDs. Can
anyone share experience or an easy way of automating this process?. I
have over 2000 user accounts to replace in Windows 2000 AD. No other
information change will change. The only change will be to replace the
username to an Employee ID.

If you rename the account, you change the common name (the cn attribute).
However, may logon with their NT name, the "pre-Windows 2000 logon name",
which is the value of the sAMAccountName attribute. cn must be unique in the
container/OU, while sAMAccountName must be unique in the domain. Which are
you changing?

--
Richard
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net


.



Relevant Pages

  • Re: cannot get by logon screen
    ... How can they reset the logon or delete the users to get into the ... boot the computer into Safe Mode. ... do Ctrl-Alt-Del twice to get the classic Windows logon box. ... go to the User Accounts applet and fix the password issues. ...
    (microsoft.public.windowsxp.general)
  • Disabling automatic logon during Start Up
    ... User Accounts. ... >automatically logs on to my account which of course is ... On most other computers, the logon ... >to windows instead of requiring a password to logon. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: BSOD recovery
    ... your old account and see if you can logon. ... How to copy data from a corrupted user profile to a new profile in Windows ... Locate the following file and see if it launches User Accounts. ... How to Perform a Windows XP Repair Install ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: Any automatic way of Renaming all user accounts to Employee IDs
    ... the CN and sAMAccountName are same. ... have over 2000 user accounts to replace in Windows 2000 AD. ... username to an Employee ID. ... However, may logon with their NT name, the "pre-Windows 2000 logon name", ...
    (microsoft.public.win2000.active_directory)
  • Re: Windows XP Signon
    ... Since I cannot signon, ... This should bring up the Logon to Windows dialog. ... Once you are able to logon, you might want to go to Control ... Panel -> User Accounts and disable the Welcome Screen. ...
    (microsoft.public.windowsxp.help_and_support)