Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Easy question. Possibly. Is it possible to join a domain at the command line
At the moment i am joining lots of computers to domains and even renaming them.
I was just wondering if there was a snazzy little way of joining them to the domain via the command line.
The computers come preconfigured, so there is no possibility to run set up scripts.
I am looking for something like
c:\> Join domain microsoft.com
Enter username for domain: microsoft\username
Enter password: ********
Welcome to the Microsoft Domain. You must restart your computer for these settings to take effect.Is this possible?

Easy question. Possibly. Is it possible to join a domain at the command line
Easy answer, yes. But why is this not posted in 'Networking'?
At the moment i am joining lots of computers to domains and even renaming them.
Wow, lots of fun!
I was just wondering if there was a snazzy little way of joining them to the domain via the command line.
The computers come preconfigured, so there is no possibility to run set up scripts.
Well I would recommend that you login script this. I have no idea why you'd say you can't 'run scripts', that makes no sense whatsoever.
First you need a DOMAIN CONTROLLER. This needs to be setup and working. XP has no facility to do this.
Windows Home Server is a very simple setup for the average home user, and would probably be a better solution for you.
DOMAIN CONTROLLERS need a couple things to work.
1. A PRIMARY CONTROLLER. This is the main runner of the domain.
2. A BACKUP CONTROLLER. Domain controllers fail, they need a backup. If the domain controller has to go down for updates, then without a BACKUP the whole domain (ie: networking) dies with it.
3. A Working DNS name server. This is really more than any casual user needs, and a lot of headache to manage it. ISA or SBS are products well-suited to a Microsoft environment. You could also build a linux PDC/BDC is you like.
The real thing you should do is read up on 'managing domains', then decide 'do I really need the headache? Or should I look for a simpler solution'.
J.
j e r u v y a t y a h o o d o t c o m

i know i don't explain things very well, so i am sorry for this. Strange as it might sound, i work in IT. I work in an IT department. Yes they have PDC's & BDC's and all the others.
When i was talking about scripts, i mean, the computers come pre configured, but only in terns of XP and installed programs. So the computers are ready to be renamed, & joined to the domain.
Joy of joys, i have to rename the computer, restart it, join it to the domain, restart it. click-click-click. See what i mean?
Its up to me, if i want to find an alternative solution to the endless clicks, but no one is going to provide it for me at work.
I would appreciate a script, a little file i could run to join a ocmputer to a domain and/or rename the computer.
Thank-you

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |