Solved

Bulk username change

Posted on 2014-01-16
2
208 Views
Last Modified: 2014-01-30
Dear Experts,

In AD our user logon names are firstname.surname@company.com and our Pre-Windows 2000 logon name are Company\FirstinitialSurname

We need to change all our Pre-Windows 2000 logon names to firstname.surname

What's the easiest way to do this for all users? (Hundreds of users in multiple OUs) Also what implications are there for instance on Exchange and file server folder permissions?
0
Comment
Question by:Bladey001
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 37

Accepted Solution

by:
Mahesh earned 500 total points
ID: 39786457
There should not be any impact as file server recognize upon SID and Exchange works on alias

you can download "Bulk AD Users" tool from Wise soft (Freeware) and search user there from list, OU or entire domain and there is option called properties to load.
There you should select Pre-Windows 2000 logon names, logon names, 1st name, last names
Then you need to export this list to Excel from tool
Then you need to use Excel concatenate function to club 1st name + last name in the format of 1st name.lastname and map them with logon names in csv file format.
Now you can pass this file as input to another option call csv update from the tool and it should update the required fields for you for all users in the list

http://wisesoft.co.uk/software/bulkadusers/default.aspx

You can try and get more help from tool web site

Mahesh
0
 
LVL 40

Expert Comment

by:footech
ID: 39786502
Using PowerShell and the MS AD cmdlets.
Import-Module ActiveDirectory
Get-ADUser -filter * | ForEach {
   $newsam = ("$($_.givenname).$($_.surname)").ToLower()
   Write-Output "Changing $($_.samaccountname) to $newsam"
   Set-ADUser _.samaccountname -SamAccountName $newsam -whatif
}

Open in new window

Comment out or remove the Write-Output line if you don't want any feedback, and remove the -whatif parameter from Set-ADUser to run for real.  With the -whatif parameter in place, no changes will be made.

Neither Exchange or folder permissions should be affected.  Folder permissions in particular are referenced by the account's SID which doesn't change.  You may want to ask the question in the Exchange topic area for a more definitive answer regarding that, as Exchange isn't my strongest area, but I don't see it being an issue as renaming a user is a common task.
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question