Question: how to remove a computer from a domain without the domain controller?
Answer: Press the Windows key + R on the keyboard, then type sysdm. ...  When the System Properties window opens, click on the Change button at the bottom of the “Computer Name” tab. Select the Workgroup radio button, enter a workgroup name you want to be a member of after unjoining the domain. ...  Click OK when prompted.