?
Solved

Active Directory - dsmod

Posted on 2006-06-23
7
Medium Priority
?
2,967 Views
Last Modified: 2011-10-03
Hello,

I've inherited a Windows 2k3 AD network. The bozo before me gave all the users uppercase logon names. I know it's not case-sensitive and it doesn't really matter but I want to change then to lowercase. I've used dsmod to successfully change them in bulk but I can't find a dsmod switch to change the 'pre-Windows 2000 logon name' which is still in uppercase. Does anyone know?

Ciderspine.
0
Comment
Question by:Ciderspine
[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
  • 3
  • 2
7 Comments
 

Author Comment

by:Ciderspine
ID: 16967147
I think what I'm looking for is a way to change the users samid using the ds tools. Dsmod appears only to change a groups samid. Can I change a users samid with dsmove?
0
 
LVL 30

Expert Comment

by:ded9
ID: 16967270
okay here is the way

 You can use the Dsmove command with the -newname switch to rename Active Directory (AD) objects. For example, to change user savillj to user johnsavill, type


C:\>dsmove CN=savillj,CN=Users,DC=it,DC=uk,DC=savilltech,DC=com
   -newname johnsavill

The machine will return the following result:


dsmove succeeded:CN=savillj,CN=Users,DC=it,DC=uk,DC=savilltech,DC=com



Reps
points
0
 

Author Comment

by:Ciderspine
ID: 16967653
Hi,

Thanks, but that only changes the RDN. I want to change the sAMAccountName. I don't think it can be done with any of the ds tools.
0
 
LVL 30

Expert Comment

by:ded9
ID: 16968440
0
 
LVL 30

Accepted Solution

by:
ded9 earned 1000 total points
ID: 16968545
Here is the perfect solution


Check out this command


If you want to change the sAMAccountName, use dsmod after the dsmove.

dsmod group distinguishedName -samid NewsAMAccountName

Reps
points
0

Featured Post

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

This program is used to assist in finding and resolving common problems with wireless connections.
Microsoft Office 365 is a subscriptions based service which includes services like Exchange Online and Skype for business Online. These services integrate with Microsoft's online version of Active Directory called Azure Active Directory.
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Suggested Courses

762 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