[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Active Directory - dsmod

Posted on 2006-06-23
7
Medium Priority
?
2,996 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

Plesk WordPress Toolkit

Plesk's WordPress Toolkit allows server administrators, resellers and customers to manage their WordPress instances, enabling a variety of development workflows for WordPress admins of all skill levels, from beginners to pros.

See why 2/3 of Plesk servers use it.

Question has a verified solution.

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

This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
It’s time for spooky stories and consuming way too much sugar, including the many treats we’ve whipped for you in the world of tech. Check it out!
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…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

650 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