Question: how to remove a windows 10 computer from a domain?
Answer:  Open Settings, and click/tap on the Accounts icon.  Click/tap on Access work or school on the left side, click/tap on the connected AD domain (ex: "TEN") you want to remove this PC from, and click/tap on the Disconnect button. ( ...   Click/tap on Yes to confirm. (