Today, I had a problem where one of my Server Core machines would not leave the domain. I was having other issues and needed to get the machine off of the domain, but throughout my troubleshooting, I got a number of different errors. The machine just wouldn’t leave the domain!
Or at least not until I found the netdom.exe utility. This tool can be used to perform a number of different domain administration tasks but for my purposes, I was interested in the following:
netdom remove <hostname> /domain:<domainname> /force
I ran this command on the offending server itself. The “/force” switch made all the difference in the world and after a short wait, my server was domain-free.
No comments:
Post a Comment