Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 609
  • Last Modified:

Change profile Path

I want to be able to change the profile path from \\server1\profiles$\%username% to \\server2\profiles$\%username% for 150 users on a Windows 2000 DC.

The problem is in 2003 you can multiselect and change them in one go on Windows 2000 you dont appear to be able to do it.  

How do I get round this without changing every single one of them.

  • 2
1 Solution
Export a list of the users to a file - users.txt, then run the following command on a DC:

for  %x  in  (users.txt)  do  net  user  %x  /profilepath:\\server2\profiles$\%x

You can use CSVDE to get a list of users:

CSVDE  -f  users.txt  -r  "(ObjectClass=User)"  -l  sAMAccountName

Or you can use the NET command to export a list of users:


The output from either of these commands will need to be processed (easily done) to create a list of users that can be used in the first command.
Sorry, that NET USERS command should have been:

NET  USERS  >  users.txt
Go to the OU that you want to modify the people's profile path...

Highlight the OU... (the users will be listed in the right hand pane..)

Using the CTRL (for individual selection) or the SHIFT (for mass selection), highlight the users that you want to modify.  The right click one of the users...  Select PROPERTIES from the drop down box.  Click the PROfile tab and edit the profile...  click OK to save..

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now