Netdom

  • Thread starter Thread starter Barney
  • Start date Start date
B

Barney

Does anyone have any experience using this Support Tools
utility? I am running XP on my PC trying to administer a
Windows 2000 domain/AD.

My goal is simple: on an on-going basis, there are several
computer accounts listed in Active Directory that are no
longer in use. I can remove them from the GUI but would
like to do so from the command line so I can script the
process.

I searched google.com and found netdom.exe but am fighting
with the syntax. There are several versions of the
program - I am using the version that comes with the XP
Support Tools.

I try:

netdom remove
OldComputerName /Domain:ourdomainname.com /UserD:AdminID /P
asswordD:AdminPassword

but it returns:

The network path was not found.

The command failed to complete successfully.


Surely, the "OldComputerName" does not actually have to
be 'active' on the network does it? What am I doing wrong?
 
Does anyone have any experience using this Support Tools
utility? I am running XP on my PC trying to administer a
Windows 2000 domain/AD.

My goal is simple: on an on-going basis, there are several
computer accounts listed in Active Directory that are no
longer in use. I can remove them from the GUI but would
like to do so from the command line so I can script the
process.

I searched google.com and found netdom.exe but am fighting
with the syntax. There are several versions of the
program - I am using the version that comes with the XP
Support Tools.

I try:

netdom remove
OldComputerName /Domain:ourdomainname.com /UserD:AdminID /P
asswordD:AdminPassword

but it returns:

The network path was not found.

The command failed to complete successfully.


Surely, the "OldComputerName" does not actually have to
be 'active' on the network does it? What am I doing wrong?

See http://support.microsoft.com?kbid=294355


Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 
OK, but even if I sit down on a W2K domain controller and
use the W2K version of netdom, I observe the exact same
error messages (see original post below).

The message "The network path was not found." and the
presence of the /UserO and /PasswordO parameters makes me
wonder if the machine has to be 'active' on the network in
order to be removed. Can anyone confirm of deny this or
shed some more light on this issue? Are there any other
CLI-based tools to remove computer accounts?
 
Back
Top