Quantcast
Channel: Sysinternals Forums
Viewing all articles
Browse latest Browse all 10386

Internals : Forcefully Remove Local PC From A Domain

$
0
0
Author: korin
Subject: Forcefully Remove Local PC From A Domain
Posted: 27 December 2013 at 10:59pm

I know this is almost 3 years later, but in case anyone else stumbles across this post, I'll leave this here.

You stated in your original post that you are a local admin. This is all you need to unjoin the domain. When prompted, simply enter your local account in the form <computername>\<username> and provide your password.

You can also do this from the command line with the netdom command, which is not installed in windows by default but usually part of the support tools or server resource tols, depending on your version of windows.

The command is
netdom remove
<computer>

See http://technet.microsoft.com/en-us/library/cc776879%28v=ws.10%29.aspx or http://technet.microsoft.com/en-us/library/cc788074.aspx

As to your later question, you can find the domain registration data in teh registry under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Domain

I do not suggest attempting to unjoin a domain by editing the registry. Use the built-in tools to perform this task and avoid corrupting your system.

Viewing all articles
Browse latest Browse all 10386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>