{"id":7185,"date":"2021-11-23T10:24:24","date_gmt":"2021-11-23T10:24:24","guid":{"rendered":"https:\/\/lgildv5i97.onrocket.site\/answers\/?post_type=question&#038;p=7185"},"modified":"2021-11-23T10:26:37","modified_gmt":"2021-11-23T10:26:37","slug":"remove-join-to-domain-by-batch-file-in-windows-7","status":"publish","type":"question","link":"https:\/\/computing.net\/answers\/programming\/remove-join-to-domain-by-batch-file-in-windows-7\/29904.html","title":{"rendered":"Remove &#038; Join To Domain By Batch File In Windows 7"},"content":{"rendered":"<p>Hello,<\/p>\n<p>I want to make a batch file that does the:<\/p>\n<p>Remove from domain<\/p>\n<p>Join to doamin<\/p>\n<p>All one script that performs this<\/p>\n<p>I tried to make a batch file with the NETDOM but the thing did not work<\/p>\n<p>I try this:<br \/>\nNETDOM REMOVE \/Domain:XXXXXX \/user:XXXXXXX \/password:XXXXXXX \/SHUTDOWN \/R<br \/>\nNETDOM ADD \/Domain:XXXXXXX \/user:XXXXXXX \/password:XXXXXXX \/SHUTDOWN \/R<\/p>\n<p>Can anyone help?<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"iawp_total_views":20},"question-category":[55],"question_tags":[],"class_list":["post-7185","question","type-question","status-publish","hentry","question-category-programming"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question\/7185","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question"}],"about":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/types\/question"}],"author":[{"embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/comments?post=7185"}],"wp:attachment":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/media?parent=7185"}],"wp:term":[{"taxonomy":"question-category","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question-category?post=7185"},{"taxonomy":"question_tags","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question_tags?post=7185"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}