ScoobyNet.com - Subaru Enthusiast Forum

ScoobyNet.com - Subaru Enthusiast Forum (https://www.scoobynet.com/)
-   Computer & Technology Related (https://www.scoobynet.com/computer-and-technology-related-34/)
-   -   Netdom syntax to join a domain (https://www.scoobynet.com/computer-and-technology-related-34/221505-netdom-syntax-to-join-a-domain.html)

Kevin Mc 19 June 2003 11:24 AM

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 :rolleyes:

Anyone know what I'm doing wrong with the syntax?

shunty 19 June 2003 12:59 PM

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]

shunty 19 June 2003 01:04 PM

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

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


there has to be exactly 25 characters between the quotes.

shunty

shunty 19 June 2003 01:05 PM

here's the MS doc:

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

shunty

medders 19 June 2003 02:41 PM

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

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

[Edited by medders - 19/06/2003 15:04:49]

medders 19 June 2003 02:42 PM

hehe the :p is colon password


[Edited by medders - 19/06/2003 14:42:29]

medders 19 June 2003 03:07 PM

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

Kevin Mc 19 June 2003 03:10 PM

Cheers for all the replies :)


All times are GMT +1. The time now is 06:21 PM.


© 2024 MH Sub I, LLC dba Internet Brands