Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1073
  • Last Modified:

How to prepopulate user and computer passwords on RODC using any kind of script?

Hello,

I'm looking for any scripted solution, that would allow me to prepopulate user and computer passwords on particular RODC.
I know I can't use groups to prepopulate the passwords for multiple users at once, but I guess (hope) there is some way, how to prepopulate passwords for users in some input txt or csv file.
I'm familiar with VBS and PowerShell and I'm not asking directly for entire script - just if someone could point me to a proper method or object that can be used to achieve this.

Thank you in advance
Martin
0
martin_babarik
Asked:
martin_babarik
  • 3
  • 2
1 Solution
 
zelron22Commented:
RODC's are for branch offices that are part of an existing domain.  You can't have one be the only domain controller in a domain because you can't write to it.

Assuming that it's part of a larger domain, then all you need to do is promote it as an RODC and it should replicate AD from other DCs.

0
 
zelron22Commented:
You can use LDIFDE to populate passwords, to answer part of your question.

http://support.microsoft.com/kb/237677
0
 
martin_babarikAuthor Commented:
Sorry but this is incorrect information. RODCs does not repliacte entire AD database - there are no passwords stored on DC. If you want to have some passwords stored, you need to add them manually in the properties of the RODC computer account.

I'm not asking about how to populate passwords for user account generally in AD.
The question is: how to PREpopulate passwords on RODC - it means how to populate the list of passwords that are stored on RODC (by default RODC doesn't contain ANY password).
0
 
zelron22Commented:
Whoops, my mistake.

I found this.  If you have a list of users, you could use this with a for-in-do command to get them all.-

http://windowsitpro.com/article/articleid/100024/q-how-can-i-pre-populate-a-specific-users-credentials-on-a-read-only-domain-controller-rodc.html
0
 
martin_babarikAuthor Commented:
Oops I'm so sorry, it happened somehow that I overlooked your solution, my apology.
Thank you very much.

Martin
0

Featured Post

Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now