Saving and moving users to a new server

To save all users to a text file, type NET USER > users.txt. You can also edit the file into a command file, as described here.

This tip was submitted to the SearchWin2000.com tip exchange by member Steven Teiger. Please let other users know how useful it is by rating it below.


To save all users to a text file, type NET USER > users.txt. This exports all user names to a text file that can be saved to document your users.

You can also edit the file into a command file that will create users on a new server, using the command NET USER <username> [/DOMAIN] /ADD. To see the full NET USER syntax, at a command prompt type NET USER /?.

This was first published in June 2003

Dig deeper on Microsoft Active Directory

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchServerVirtualization

SearchCloudComputing

SearchExchange

SearchSQLServer

SearchWinIT

SearchEnterpriseDesktop

SearchVirtualDesktop

Close