Solved

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

Posted on 2009-05-13
5
1,011 Views
Last Modified: 2012-05-06
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
Comment
Question by:martin_babarik
  • 3
  • 2
5 Comments
 
LVL 15

Expert Comment

by:zelron22
ID: 24379176
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
 
LVL 15

Expert Comment

by:zelron22
ID: 24379185
You can use LDIFDE to populate passwords, to answer part of your question.

http://support.microsoft.com/kb/237677
0
 
LVL 13

Author Comment

by:martin_babarik
ID: 24379242
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
 
LVL 15

Accepted Solution

by:
zelron22 earned 500 total points
ID: 24379347
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
 
LVL 13

Author Closing Comment

by:martin_babarik
ID: 31581140
Oops I'm so sorry, it happened somehow that I overlooked your solution, my apology.
Thank you very much.

Martin
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
This article runs through the process of deploying a single EXE application selectively to a group of user.
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question