0

Environment: 1 Win2008R2 Network Server (also domain controller) 13 or so Workstations.

Traditionally we've always used the server administrator credentials to join a workstation to a business domain network or 13 workstations. However we're now enforcing password policies and it's required that admin password will change regularly.

The network server admin account password was changed today as a result of this policy enforcement.

My network user account password that's used on my workstation also had to be updated.

I logged off my workstation and back in after being prompted to change the password. I was then required to enter Domain Admin credentials to access the domain. I suspect this was because the server admin account password was changed.

I had thought that as the workstation was already added to AD that it would be remembered, but the credentials still needed to be entered on the workstation.

So this had me thinking that there has to be a better/correct way to do this.

I thought I could create a Domain Admin user just for this purpose and set the password to never expire but I think that surely defeats the purpose in the first place of maximising security.

So what is the best way to do this.

I.E. When first adding/joining a workstation to a network domain, what Domain Admin credentials should be entered?

All of the articles and YouTube videos I've seen so far say to enter Administrator and it's password.

Please let me know if this requires further expansion.

migrated from superuser.com Apr 27 '18 at 17:53

This question came from our site for computer enthusiasts and power users.

  • 1
    Is this for business/corporate? Or is this a home network? – Tim_Stewart Apr 27 '18 at 15:17
  • @Tim_Stewart The question is tagged "domain" and the context further confirms it is very likely a corporate or managed network. – music2myear Apr 27 '18 at 15:32
  • @music2myear, I figured. I flagged this before I saw you had answered. Wouldn't this be off-topic for su per the help section? I definitely interpreted this question as relating to administration in a corporate/Enterprise environment. The reason I asked is because I use LDAP at home and wanted to confirm the suspicion. Regards, – Tim_Stewart Apr 27 '18 at 15:53
  • @Tim_Stewart business network. If this is off topic then I'm sorry I ended up here after Google searching and found similar topics and answers. I shall read the help section now. – PeteB Apr 27 '18 at 16:35
  • A better, clearer, and more specific form of this question may gain more authoritative answers over at ServerFault. The question is also more of a policy question rather than solution request as it is currently written. – music2myear Apr 27 '18 at 16:38
2

Updated answer based on corrected/edited question

Once a computer has been joined to a domain it does not have to re-join the domain. Once an administrator account has confirmed the system is to be added to the domain, you could delete that admin account and it would have no impact on the computer added using that account.

I'm not sure where the wires are getting crossed in your understanding, but they are crossed.

The trust relationship between the domain and its member computers is NOT predicated or dependent on the administrator accounts used to authenticate the various systems together.

Previous answer, based on original question:

There are many ways to solve this, some of them good and properly security-minded, and some of them not. For that reason, this question really deserves more of an open-ended discussion format to fully flesh out. However, here's two methods I'm familiar with:

  1. Each technician of appropriate responsibility has two domain user accounts, one regular user that they use to login to their own computer and do most of their day-to-day tasks with, and another account that has domain admin permissions which they use to open the tools and perform the tasks that require this. The administrator account has higher security requirements, longer password, and more frequent changes. But it belongs to the specific technician.

  2. When domain admin permissions are required, a form is submitted specifying the need and time required. Temporary credentials are issued with permissions limited to the particular requirements. These are then deleted once the task is completed.

There are situations where each of these may be appropriate. The easiest method though is to have two sets of credentials for technical staff and they are then each responsible for using them appropriately.

Also, creating shared credentials is a terrible, horrible, no-good, very bad idea. Making their password to never expire makes it even worse. I don't know what your background or experience is, but from the context of your question I'm guessing you're not in a position of authority in your organization, and you should really talk to those who are about the best way to go about balancing security and convenience.

  • Hey thanks for the info but not sure you understand the question (could be my fault for being being concise enough). I'm not referring to sharing credentials for logging into the computer. I'm referring to adding a workstation to a windows network domain. When joining a domain you're asked for domain admin credentials. Most sources state entering administrator details. I don't think this is appropriate especially as administrator passwords should be changed regularly which would mean having to rejoin the network everyone the admin password is changed. – PeteB Apr 27 '18 at 16:29
  • Then please edit the question to make it more clear. – music2myear Apr 27 '18 at 16:33
  • Ok, yea, that is not what I understood from your question at all. Please edit your question adding this information and I shall edit my answer to correct it. – music2myear Apr 27 '18 at 16:39
1

Ideally, each technician/administrator should have at least two (if not more) accounts.

  • Standard Account (for daily non-administrative tasks)
  • Workstation Admin account (administrative access only to Workstations; delegated access to Workstation OUs in Active Directory, no access to servers)
  • Server Admin account (administrative access to servers and delegated access to Server OUs - no access to workstations)
  • Domain Admin account (administrative access to Active Directory; NO access to servers, NO access to workstations [except Secured Management workstations])
  • Other accounts as necessary.

Accordingly, the technician's Workstation Admin account should be used to join the computer to the domain. Shared accounts - should be used only in situations where no other option is available. Alternatively, I could see an option where an automated deploiyment tool (like SCCM or something) could leverage a dedicated account with no access other than that of joining computers to the domain in a dedicated OU.

In order for it to work properly (aside from the first 10 workstations joined), you can refer back to this article: https://support.microsoft.com/en-us/help/932455/error-message-when-non-administrator-users-who-have-been-delegated-con (an oldie but a goodie). In short the steps are

  1. Open Active Directory Users and Computers
  2. Right-click the Workstations OU, select Delegate Control
  3. Work through the wizard and delegate a custom task of Creating and Deleting selected objects in the folder; limited to only computer objects in the folder.
  4. Grant the Reset Password, R/W Account Restrictions, Validated write to DNS hostname, and Validated write to service principal name.

The trick is that the workstation admin account should be a member of a group of "workstation admins" from there all access and permissions should be granted to the workstation admin group.

0

Commonly, the users who can add a machine to an Active Directory Domain are members of the Domain Admins Active Directory user group.

However, non-Domain Admins can add machines as well, if given the proper permission. Some companies might not want Help Desk technicians to have Domain Admin privileges, but do want them to able to join machines to the domain. With the proper permissions, this can be accomplished. See this Microsoft article for more information.

  • So (as advised in that article) delegate via AD Computer Object to a user (mine or an account specifically for the purpose for example) and use those credentials to join workstations to the domain? – PeteB Apr 27 '18 at 18:04
  • @PeteB Are you in charge if your domain? if so, just put yourself in the domain admins group, if you arent there. Thats all you need. Assigning permissions should only be done if necessary, as it complicates things. – Keltari Apr 27 '18 at 18:20
  • However, non-Domain Admins can add machines as well, if given the proper permission - By default, Authenticated Users can join up to 10 machines to an AD domain. Users do not need to be explicitly granted the right to do so. – joeqwerty Apr 27 '18 at 19:00
  • @Keltari - yes solely responsible. – PeteB Apr 27 '18 at 19:41
  • @PeteB then just put youself in domain admins group, then your account will be able to join domains – Keltari Apr 27 '18 at 19:43

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.