Re: Export Local User Accounts

H

Herb Martin

Is there a way to export local user accounts from Windows
2000 Server and import those local user accounts into
another Windows 2000 Server?

Not really -- even if you succeed they will be "different" user ACCOUNTS;
not the same users, just the same name.

In Computer Manager/System Tools/Local Users & Groups/Users you can
right-click EXPORT a "text" list of the data pane on the right.
This just gets names, comments, and no settings.

AddUsers (from the ResKit) works better but remember you still get
NEW accounts when you import.

Export with: AddUsers /f: userfile.txt
Import with: AddUsers /c: userfile.txt

ADDUSERS {/c|/d{:u}|/e} filename [/t][/s:x] [/?]
[\\computername|domainname] [/p:{l|c|e|d}]
/? Display this help screen.
/c Create accounts specified in the file.
/d: Write current accounts to the specified file, opt. followed by {:u}.
u Write current accounts to the specified file in Unicode text format.
/p: Set's account creation options, followed by an comb. of {lced}
l Users do not have to change passwords at next logon.
c Users cannot change passwords.
e Passwords never expire. (implies l option)
d Accounts disabled.
/e Erase user accounts specified in the file.
/s:x Sets the separator character for the input/output file. Replace the
x with the character to be used for separating fields. (e.g. /s:~)
Note: The separator character is a comma ',' by default.
/t Enables Terminal Services user properties to be created or viewed.
Use in conjunction with { /c | /d }.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top