How to Unjoin the Domain from Windows 10 Computer

When you are running your computer in an enterprise environment you normally connected through active directory so that computers can easily be managed through a single point like Windows Server. In this article, I will explain how we can unjoin Windows 10 from the active directory domain.

Unjoin Windows 10 from Active Directory Domain

Log into your Windows 10 machine with an administrative account and then search for This PC it will show computer on top right click on it and then click on properties.

Under computer name, domain and workgroup settings, click on change settings.

This will open up System Properties box, select Computer Name tab, then click on Change… button.

This will open up Computer Name/Domain Changes configuration window.

Under “Member of” check mark Workgroup then click OK.

Enter your administrator user name and password and click Ok. It will give you the notification that when you will leave the domain you will need a local administrator account to log in to the machine. Click Ok when prompted.

Once done, click on Close button, it will prompt you to restart your computer. Click on Restart Now.

Once restarted, you computer has been unjoined from active directory domain.

You can also use the following power shell command to unjoin  the domain.

Remove-Computer -UnjoinDomaincredential Domain01\Admin01 -PassThru -Verbose -Restart

Leave a Reply