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?
netdom remove /d:DOMAINNAME, I think.
netdom remove %computername% /domain:domainname.com
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
6 years ago