Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I need to unjoin a computer from the domain preferably form the command line. I know how to use netdom.exe to join a machine to a domain. Is there a corresponding way to un-join it?