I wind up having to remove / rejoin machines to our domain occasionally that
have been stored, etc., and get purged from the directory. While the unjoin
process will prompt you for a reboot, I've not had any ill effects from
skipping it and just immediately doing the rejoin. The research I've done in
the past seemed to indicate that the reboot requirement was a holdover from the
server code that's common across the server and workstation platforms, but
workstations were normally not a problem. I'm not saying this is the
"supported" method, but I've not run into any problems with doing it over the
last few years.
As always, YMMV, make a backup, enter at your own risk, yada yada. :)
--
There are 10 kinds of people in the world...
those who understand binary and those who don't.
From: [email protected] [mailto:[email protected]] On
Behalf Of Charles Sullivan
Sent: Monday, March 17, 2014 6:02 PM
To: [email protected]
Subject: RE: [NTSysADM] Rejoin Computer to Domain Without Removing
I had looked into the netdom switches in the past and I didn't think there was
anything that would do it, but there is a way.
I was able to remove the machine using the /force switch and then join it
without the reboot in the middle.
Ha ha. I just tried the equivalent in the GUI and that also succeeded! All of
this time I've been joining a workgroup, rebooting, joining the domain,
rebooting again.
In my scenario, the computer object didn't exist. It may be different when the
object does exist. But in that case, it seems like you should just be able to
delete the computer object first and it would amount to the same thing.
Charlie Sullivan
Sr. Windows Systems Administrator
Boston College
197 Foster St. Room 367
Brighton, MA 02135
617-552-4318
From: [email protected]<mailto:[email protected]>
[mailto:[email protected]] On Behalf Of Rankin, James R
Sent: Monday, March 17, 2014 4:47 PM
To: [email protected]<mailto:[email protected]>
Subject: Re: [NTSysADM] Rejoin Computer to Domain Without Removing
Netdom command?
Sent from my (new!) BlackBerry, which may make me an antiques dealer, but it's
reliable as hell for email delivery :-)
________________________________
From: Charles Sullivan
<[email protected]<mailto:[email protected]>>
Sender: [email protected]<mailto:[email protected]>
Date: Mon, 17 Mar 2014 20:44:39 +0000
To:
[email protected]<[email protected]<mailto:[email protected]%[email protected]>>
ReplyTo: [email protected]<mailto:[email protected]>
Subject: [NTSysADM] Rejoin Computer to Domain Without Removing
Is there a way I can rejoin a computer to the domain without first removing it?
This would be for a scenario where the computer object has been removed, or
something similar to that. I know there's likely no way to avoid one reboot,
but I would rather not have to do two of them. Also, because it would most
likely be in a CLI, I could save time by scripting it.
Charlie Sullivan
Sr. Windows Systems Administrator