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.

John Savill

March 16, 2017

1 Min Read
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.

About the Author(s)

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like