To move a server out of the domain you must have local admin level access, and the same applies to adding it to a workgroup. Do it with the GUI interface, logged on to to the system as the local admin account.
If you are not the local admin, you have no business messing up the system!
I am working on a script that requires removing a server from the domain and renames the server so a redundant server can be brought up as that server. Right now I am using the netdom command to remove the server, but it there is no command that I know of that I can run to add this server to a workgroup. This is an automated script, so the GUI is out of the question, it must be command line. thanks!
What is critical about the server name?
Remember the rule that ALL SIDs are unique, and it applies to system names too. If this was not the case, turning off server of "name1," then renaming another server to "name1" would automatically make it replace the original "name1" in the domain....just does not work that way, each machine has a unique SID.
If you restore the original server to the new server platform from backups, however, it will work to replace the first system in the domain. The original system, however, must be removed totally from the domain to avoid conflicts.
Perhaps you can use the netsh (netsh.exe)utility to run your script?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.