Login | |
|
 |
RE: Disjoin a domain without domain admin account - 1/28/2008 1:22:50 AM
|
|
 |
|
| |
SAPIENScripter
Posts: 276
Score: 2
Joined: 11/1/2006
From: SAPIEN Technologies
Status: offline
|
Sure, you can use NETDOM to do this. You still need domain admin credentials but you can easily do it in a batch file. netdom /remove DESKTOP01 /domain:MYDOMAIN /userd:MYDOMAIN\administrator /passwordd:admin-password /reb:10 Of course, if you are running the command with domain admin credentials, you don't have to specify /userd. One thing I can't recall is if the computer name can be DESKTOP01 or \\DESKTOP01.
_____________________________
Jeffery Hicks Windows PowerShell MVP SAPIEN Technologies - Scripting, Simplified. www.SAPIEN.com Follow Me: http://www.twitter.com/JeffHicks
|
|
| |
|
|
|
 |
RE: Disjoin a domain without domain admin account - 1/28/2008 11:47:13 PM
|
|
 |
|
| |
DiGiTAL.SkReAM
Posts: 1183
Score: 7
Joined: 9/6/2005
From: Florida, USA
Status: offline
|
Uhm, you can pull the computer out of the domain as long as you are a LOCAL admin on the box. The computer's domain account will still be there, and the DCs will all still think that it is a domain member, but the computer itself will consider itself part of a workgroup, and won't recognize domain logons any longer. you have to be a DOMAIN admin to delete the domain account of the computer at the same or later time.
_____________________________
"Would you like to touch my monkey?" - Dieter (Mike Meyers) "It is better to die like a tiger, than to live like a pussy." -Master Wong, from Balls of Fury
|
|
| |
|
|
|
 |
RE: Disjoin a domain without domain admin account - 1/29/2008 3:18:45 AM
|
|
 |
|
| |
netxman
Posts: 104
Score: 0
Joined: 8/1/2005
Status: offline
|
DiGiTAL.SkReAM How to pull the computer out of the domain using script or something else? I'm the local admin on the box. I dont care about the computer's old domain account. Bucause I need to add the computer to a new domain by using NetDom.exe which needs the computer belongs to workstation first. Hope the further help. Thanks. 
|
|
| |
|
|
|
 |
RE: Disjoin a domain without domain admin account - 1/31/2008 8:47:28 AM
|
|
 |
|
| |
mcds99
Posts: 433
Score: 4
Joined: 2/28/2006
Status: offline
|
If using MS encryption you don't want to quit a domain until all the data is decrypted. If you do you will have to join the domain again and I've seen that not work. I know a guy who killed the only domain controler on a network, not good.
_____________________________
Sam Keep it Simple Make it Fun KiSMiF
|
|
| |
|
|
|
|
|