Notepad:Rejoin Domain: Difference between revisions

From Amar
Jump to navigationJump to search
Created page with " How do Rejoin a Computer to the Domain without Losing it’s SID 19 This entry was posted in Uncategorized on February 1, 2012 by amy Post to Twitter Post to Facebook Post t..."
 
No edit summary
Line 1: Line 1:
How do Rejoin a Computer to the Domain without Losing it’s SID 19
= How do Rejoin a Computer to the Domain without Losing it’s SID 19 =
This entry was posted in Uncategorized on February 1, 2012 by amy
This entry was posted in Uncategorized on February 1, 2012 by amy
Post to Twitter Post to Facebook Post to StumbleUpon


This trick comes to be via my Active Directory study group. I suggest that everyone join a usergroup and/or a study group. It’s not that we don’t know AD, it’s that we forget or miss new features. A refresher course is fun too.
This trick comes to be via my Active Directory study group. I suggest that everyone join a usergroup and/or a study group. It’s not that we don’t know AD, it’s that we forget or miss new features. A refresher course is fun too.

Revision as of 01:12, 13 June 2015

How do Rejoin a Computer to the Domain without Losing it’s SID 19

This entry was posted in Uncategorized on February 1, 2012 by amy

This trick comes to be via my Active Directory study group. I suggest that everyone join a usergroup and/or a study group. It’s not that we don’t know AD, it’s that we forget or miss new features. A refresher course is fun too.

Occasionally a computer will come “disjoined” from the domain. The symptoms can be that the computer can’t login when connected to the network, message that the computer account has expired, the domain certificate is invalid, etc. These all stem from the same problem and that is that the secure channel between the computer and domain is hosed. (that’s a technical term. Smile )

The classic way to fix this problem is to unjoin and rejoin the domain. Doing so is kind of a pain because it requires a couple of reboots and the user profile isn’t always reconnected. Ewe. Further if you had that computer in any groups or assigned specific permissions to it those are gone because now your computer has a new SID, so the AD doesn’t see it as the same machine anymore. You’ll have to recreate all of that stuff from the excellent documentation that you’ve been keeping. Uh, huh, your excellent documentation. Double Ewe.

Instead of doing that we can just reset the secure channel. There are a couple of ways do this:

   In AD right click the computer and select Reset Account. Then re-join without un-joining the computer to the domain. Reboot required.
   In an elevated command prompt type: dsmod computer “Computer DN” – reset. Then re-join without un-joining the computer to the domain. Reboot required.
   In an elevated command prompt type: netdom reset MachineName /domain DomainName /User0 UserName /Password0 {Password | *} The account whose credentials you provided must be a member of the local administrators group. No rejoin. No reboot.
   In an elevate command prompt type: nltest /Server:ServerName /SC_Reset:DomainDomainController  No rejoin. No reboot.