Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Netdom syntax to join a domain

Thread Tools
 
Search this Thread
 
Old 19 June 2003, 11:24 AM
  #1  
Kevin Mc
Scooby Regular
Thread Starter
 
Kevin Mc's Avatar
 
Join Date: Mar 2002
Location: Leics
Posts: 689
Likes: 0
Received 0 Likes on 0 Posts
Question

I'm trying (unsuccessfully) to add my computer to a domain using netdom.

Trying this plus variations, but is not working:

netdom /domain:domain_name /user:administrator /password:adminpasswd member my_computername /joindomain

Looked on google, and they all say /domain:domain_name though netdom always complains about "the parameter 'domain' was unexpected".

Using W2000 Server SP3

I've tried joining the domain via "Network identification" in the properties within "My computer" - though this says the Domain does not exist or is not available. (It does, and it is!) Can see the network (ping and map drives) with no problem, just doesn't want to add me back on to the domain.

This is all because I've worked at another of our sites this week, and they've screwed up my network settings

Anyone know what I'm doing wrong with the syntax?
Old 19 June 2003, 12:59 PM
  #2  
shunty
Scooby Regular
 
shunty's Avatar
 
Join Date: Aug 2001
Location: wakefield
Posts: 2,082
Likes: 0
Received 0 Likes on 0 Posts
Post

Kevin,

netdom is indeed a very powerful tool, but you can use a modified lmhosts file to help resolve this problem as it preloads the domain info...works every time.

shunty

[Edited by shunty - 6/19/2003 1:01:03 PM]
Old 19 June 2003, 01:04 PM
  #3  
shunty
Scooby Regular
 
shunty's Avatar
 
Join Date: Aug 2001
Location: wakefield
Posts: 2,082
Likes: 0
Received 0 Likes on 0 Posts
Post

here ya go....just had to find it on me desktop

192.168.100.2 #PRE:"your-domain /0x1b" #DOM:your-domain


there has to be exactly 25 characters between the quotes.

shunty
Old 19 June 2003, 01:05 PM
  #4  
shunty
Scooby Regular
 
shunty's Avatar
 
Join Date: Aug 2001
Location: wakefield
Posts: 2,082
Likes: 0
Received 0 Likes on 0 Posts
Post

here's the MS doc:

http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q180094&ID=KB;EN-US;Q180094&

shunty
Old 19 June 2003, 02:41 PM
  #5  
medders
Scooby Regular
 
medders's Avatar
 
Join Date: May 2001
Posts: 898
Likes: 0
Received 0 Likes on 0 Posts
Post

I'm just working on this at the moment.....

netdom.exe join computername /domain:name /OU:"containerpath" /userd:username /passworddassword /reboot:05

[Edited by medders - 19/06/2003 15:04:49]
Old 19 June 2003, 02:42 PM
  #6  
medders
Scooby Regular
 
medders's Avatar
 
Join Date: May 2001
Posts: 898
Likes: 0
Received 0 Likes on 0 Posts
Post

hehe the is colon password


[Edited by medders - 19/06/2003 14:42:29]
Old 19 June 2003, 03:07 PM
  #7  
medders
Scooby Regular
 
medders's Avatar
 
Join Date: May 2001
Posts: 898
Likes: 0
Received 0 Likes on 0 Posts
Post

it would appear if you want to remove the computer from the domain you need to use netdom remove (ie you cant just remove it from AD) before you can rerun netdom join as it leaves some footprint. you can reimage the machine and delete from AD then re run the command.

I've written a VB app to join a specific container in AD if you're interested.

cheers

Paul
Old 19 June 2003, 03:10 PM
  #8  
Kevin Mc
Scooby Regular
Thread Starter
 
Kevin Mc's Avatar
 
Join Date: Mar 2002
Location: Leics
Posts: 689
Likes: 0
Received 0 Likes on 0 Posts
Thumbs up

Cheers for all the replies
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
JimBowen
ICE
5
02 July 2023 01:54 PM
Frizzle-Dee
Essex Subaru Owners Club
13
01 December 2015 09:37 AM
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
18 November 2015 07:03 AM
Jonny mac
ScoobyNet General
10
09 October 2015 12:25 PM
lozgti1
Non Scooby Related
44
03 October 2015 12:34 PM



Quick Reply: Netdom syntax to join a domain



All times are GMT +1. The time now is 01:24 PM.