To remove a computer from an Active Directory domain, follow these steps:
- Log in the computer as a local administrator.
- Remove the domain membership.
- Go to Control Panel and select System and Security > System.
- Select Change Settings > Change.
- Select the Computer Name tab.
- Go to the Domain field and select Workgroup.
- Type an appropriate workgroup name.
- Click OK to complete the process.