Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

automated Rejoin domain

Posted on 2004-10-10
12
Medium Priority
?
1,419 Views
Last Modified: 2008-01-09
Hi i have a question that needed answer quickly.

My company have about 50+ computer running win2k and i just redo my win2k adv server.

I remembered on a previous occasion i had to got to each and every pc in my premises to rename the computer and work group then restart and join domain.
It was terrible!!!. There must be a better way of doing this.

i read somewhere on EE that i can actually can use the netdom command to do it but i never found the steps to perform the task.

Pls Help.
0
Comment
Question by:mysticaljoey
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
  • 3
12 Comments
 
LVL 51

Expert Comment

by:Netman66
ID: 12270481
Here is an article expaining the syntax of Netdom: http://support.microsoft.com/default.aspx?scid=kb;en-us;266651&Product=win2000

You could scipt something that can be run from floppy.

netdom join - is the command.

0
 
LVL 1

Expert Comment

by:iamgod
ID: 12275963
Couple of comments re - netdom, untick simple file sharing on  XP workstations . Create batch files from EXcel sheets. Utlity doesn't work on win 2000, run from XP computer.
0
 

Author Comment

by:mysticaljoey
ID: 12284802
ok.. i've tried every thing. if just gave me something like network address not found but i can add the computer.

Lets put it in a scenario.

Lets say i'm in front of my server about to do the thing. I want to connect machine [mypc] to domain [mycompany]
[mypc] login and password (not domain) is "administrator" and "123".
administrator for the domain is [mycompany] is "administrator" and "plsconnect"

so at this point. what should i type at the command promtp?
0
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 
LVL 1

Expert Comment

by:iamgod
ID: 12285481
try this

netdom join mypc /domain:mycompany /userd:administrator /passwordd: plsconnect /usero:administrator /passwordo:123 /reboot
0
 

Author Comment

by:mysticaljoey
ID: 12326396
it did'nt work. it just say. access denied. i tried everything with the password. i even put both domain and computer password as 123
0
 
LVL 1

Expert Comment

by:iamgod
ID: 12331670
Remeber to remove simple file sharing on workstations you are trying to join - this will cause problem - also if you've got SP2  on image , may need to take off firewall
0
 
LVL 51

Expert Comment

by:Netman66
ID: 12331770
This command needs to be run from the local PC.

You will also need to have the DNS suffix for your domain entered here:

Right click My Computer, select Properties.  Select the Computer Name tab (XP) or Network Identification tab (2000).  Click on Change button.  Click on More button.  Add your domain suffix at the top.

You're likely seeing error 53 and this is the cause of it.



0
 
LVL 1

Expert Comment

by:iamgod
ID: 12332215
Apologies, yea - only works on another Xp workstation  don't run from server - netman66 is right
0
 

Author Comment

by:mysticaljoey
ID: 12336328
So does that mean i still have to visit every workstation in the company? That's a bit too time consuming don't you think? is'nt there a better way of doing this?
0
 
LVL 1

Accepted Solution

by:
iamgod earned 1500 total points
ID: 12338072
Nope - just have to use one XP workstation to join all others . The way i do it is to sysprep image and have a post boot command that converts the name of the computer equal to its mac address. I have a list of all macs which i use in a preadsheet to generate a scipt which joins them and then i run anothe script to rename them to what i want - can do 35 joins in around 10 minutes.

I've looked for easier options but haven't found any!

0
 

Author Comment

by:mysticaljoey
ID: 12354491
can you provide me with examples? cos i really don't know where the MAC address actually come in or what command i should use to incooperate it.
0
 
LVL 51

Expert Comment

by:Netman66
ID: 12355322
If you use IPCONFIG /ALL in a CMD window, the MAC address for that machine is listed at the top of the output as Physical Address.

0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
In this article, I’ll show how research, determination, and use of modern technology helped me solve a DNA mystery.
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question