Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows NT Restoring Users to New Computer
Message
From
14/12/1999 19:33:00
 
General information
Forum:
Windows
Category:
Administration & Security
Miscellaneous
Thread ID:
00303605
Message ID:
00303774
Views:
19
>I have copied the sam file from one computer to a new computer.
>these computers have the same name, i want to restore the user accounts when i copy the sam file into \winnt\system32\config then start NT i try to log in as a user from the sam file but it says NETLOGIN not running on this computer cannot log in ?????
>

From www.ntfaq.com

Q. How can I move users from one machine to another?

A. If you just want to replace the PDC of a domain with a new machine, the easiest way is to install the new machine as a BDC and then promote to the PDC which removes the need of adding/removing users.

If you actually want to merge two domains or just move some accounts the procedure below should help. You will need the resource kit utility addusers.exe

Log on as an Administrator on the machine that has the accounts you wish to move
Run the command
addusers /d
This will create a comma separated file with details of all accounts and groups.
You don't want the information about global or local groups (such as Administrators etc) so edit the file and remove the [Global] and [Local] sections and their content.
Copy the file to the machine you want to create the accounts on or a network drive
Log on as an Administrator on the machine that the accounts should be added, if a domain, log on to the PDC
Run the command
addusers /c
This will read in the file and create the accounts
You could then delete the accounts of off the original machine using
addusers /e
New versions of the addusers.exe utility add support so users don't have to change their passwords, e.g.

/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.

So, 'addusers /e /p:l' would mean the users don't have to change the passwords.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform