Back up Win local account list?
August 19, 2005 3:44 AM
Subscribe
Is there a way to back up just the local username/password list in Windows (specifically Win2000 server) and copy it from machine to machine?
I have a collection of 7 radiology-image servers that have to have a very long (and identical) local-account user list on all of 'em for the benefit of outside locations (doctors' offices) in which the users and their pcs aren't members of this hospital's domain. Yes I'm doing all the usual full and incremental backups but considering the amount of typing and clicking that goes into these userlists I'd like to have a separate backup of just them in my pocket. If it were Unix I could just burn /etc/password and /etc/shadow to a CD and have exactly what I need. But in Windows? What (if anything) to do? Thanks very much!
posted by jfuller to computers & internet (2 comments total)
addusers \\machine /d extractfile.txt
/d is "dump". You'll need the addusers command from the resource kit, but you'd need that anyway to rebuild them.
Otherwise, I'd seriously consider building another domain controller for these accounts, and using domain trusts to get them access to the hospital domain.
Note: This doesn't save passwords. Moving passwords about is problematical in Windows. You could use a password cracker and get most of them. But 99% of the battle is the accounts. You can invert this command (use a textfile to add accounts) -- the accounts all come in with no password, but a requirement to change the password on next logon, so while not ideal, it would help with a fast rebuild.
Note that net user and net accounts might give you the rest, but I'd have to check them (don't have a windows box here.)
posted by eriko at 5:20 AM on August 19, 2005