Ciderspine
asked on
Active Directory - dsmod
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.
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.
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=s avilltech, DC=com
-newname johnsavill
The machine will return the following result:
dsmove succeeded:CN=savillj,CN=Us ers,DC=it, DC=uk,DC=s avilltech, DC=com
Reps
points
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,
-newname johnsavill
The machine will return the following result:
dsmove succeeded:CN=savillj,CN=Us
Reps
points
ASKER
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.
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.
yeah you are right
Check this script
http://www.microsoft.com/technet/scriptcenter/resources/qanda/nov05/hey1101.mspx
Reps
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER