Unjoin a Nano Server instance from a domain
Q. How can I unjoin a Nano Server instance from a domain post creation?A. Using WMI you can normally move an OS instance to a workgroup using:invoke-cimmethod -classname win32_computersystem -methodname "unjoindomainorworkgroup" -Arguments @{FUnjoinOptions=0;Username="Administrator";Password="Pa55word"}However this will not work with Nano Server at this time. Instead to change the domain membership the instance will need to be reimaged.
March 16, 2017
![Unjoin a Nano Server instance from a domain Unjoin a Nano Server instance from a domain](https://eu-images.contentstack.com/v3/assets/blt07f68461ccd75245/blteeb810468d766ba1/661cf716fcf5a76925c6775b/windowsserver-2016_4_0_5.jpg?width=850&auto=webp&quality=95&format=jpg&disable=upscale)
Q. How can I unjoin a Nano Server instance from a domain post creation?A. Using WMI you can normally move an OS instance to a workgroup using:invoke-cimmethod -classname win32_computersystem -methodname "unjoindomainorworkgroup" -Arguments @{FUnjoinOptions=0;Username="Administrator";Password="Pa55word"}However this will not work with Nano Server at this time. Instead to change the domain membership the instance will need to be reimaged.
About the Author(s)
You May Also Like