Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NT USER MANAGER - FULL NAME

Status
Not open for further replies.

gonko

Technical User
Aug 12, 2002
45
GB
Hi, can someone advise?.

At the moment we have all users as christian, surname. Anyone know of an easy wasy to change them to surname, christian name??

Your help is appreciated
 
You could use the addusers (from resource kit)command to extract all user details (including, user name and full name). Edit file so it just contains these 2 fields. Use that as input to a batch file that runs a for statement, which calls the net user command (using /FULLNAME parameter) - should be able to reverse the names, using the , (comma) between them as delimiter (note, adduses uses , as default delimiter, so use its /s parameter to change this).

PS. You can download addusers from here if no resource kit.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top