Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

disjoining domain from command line


  • Please log in to reply

#1
Jamluv

Jamluv

    Member

  • Member
  • PipPip
  • 10 posts
i want to disjoin from one domain and join another from command line. i can use netdom to join but only when i disjoin from the old domain. but i also want to disjoin from command line. how can i do this.
  • 0

Advertisements


#2
darth_ash

darth_ash

    Member 1K

  • Member
  • PipPipPipPip
  • 1,382 posts
I dont have Win2k. But i do remember there was a command-line utility called DNSCMD.EXE, which had a wide range of DNS management functions.
  • 0

#3
Jamluv

Jamluv

    Member

  • Topic Starter
  • Member
  • PipPip
  • 10 posts
DNSCMD is used to work with dns. but i need someting to disjoin from a domain and join another domain, from cmd so that i can put it in a batch file. i have to disjoin about 50 machines from an old domain to a new domain. (i will need a salary raise if i am to do that manually!!!)
  • 0

#4
darth_ash

darth_ash

    Member 1K

  • Member
  • PipPipPipPip
  • 1,382 posts
If U join a computer to a new domain, it is automatically disjoined from the previous domain
  • 0

#5
Jamluv

Jamluv

    Member

  • Topic Starter
  • Member
  • PipPip
  • 10 posts
that doesnt happen in this case. netdom.exe is giving me an error saying the computer is already joined to a domain.
  • 0

#6
darth_ash

darth_ash

    Member 1K

  • Member
  • PipPipPipPip
  • 1,382 posts
U could find out where in the registry the domain name is loacted, export that key, change it to new domain name; and then import the key on all machines.
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP