Solved

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

Posted on 2009-05-13
5
995 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Introduction You may have a need to setup a group of users to allow local administrative access on workstations.  In a domain environment this can easily be achieved with Restricted Groups and Group Policies. This article will demonstrate how to…
In this article, we will see the basic design consideration while designing a Multi-tenant web application in a simple manner. Though, many frameworks are available in the market to develop a multi - tenant application, but do they provide data, cod…
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

707 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now