Discussion Locked

edit properties for multiple AD users?

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

In NT 4.0 "user manager for domains" you could control-click a bunch of users and change the path of the home directory for all of them in one shot. In the "Active Directory Users and Computers" program in Windows 2000 you can't do this. Does any know of a way to do this Active Directory?? For example we are moving user home directories to another server. We would like a utility the will allow us to change the server name in the home directory path without going into each object and changing the server name.

Thanks,

Tony Cekada
Systems Engineering
120 Exchange Street
Portland, ME 04101
207-772-3199

3 replies

by talanj

Please if you figure out how to do this email me or something. It's been driving me craze ever since we put in AD. you can even do it with the regular user manager on 2k, but not in AD.

JT

by rcompton01

The only way I've found to do it is through ADSI scripting. With this method, you can change an entire OU or domain pretty easily, but it's difficult to pick and choose certain users to modify.

I heard that Microsoft is going to allow multi-user modifications in .NET server.

by timwalsh

This will work on some user account parameters but not all.

It will work for changing home directories.

On your DC, open the command prompt.

Type "net user >c:\users.txt This command returns a list of all user accounts and ppipes it to a text file on your C:\ drive.

Open the file using Notepad and do the following:

1. Edit out all the trash (anything not a user account name).
2. Edit the file so that all user account names are in a single column. Remove any user accounts you don't want to change.
3. Edit each line to the following format:
net user useraccountname /homedir:\\server\share
NOTE: the path to the new home directory must already exist.
4. Once you have edited the line for each user account, save the file and change the file extension to .bat (which turns the file into a batch file).
5. From the command prompt, run the batch file.

While this method is still a little bit typing intensive, it still takes less time (especially using copy/paste)than opening each account individually and editing the profile.

This discussion is closed to new replies.