Joe
2006-03-09 16:30:08 UTC
I am trying to use the DSRM.exe utility in a script to remove a number of
computer objects in AD, however, I'm having limited success. It seem I can
remove a computer object if it is in a container, but not if it's in an OU.
When I try to remove a computer object from an OU, I get an error message -
dsrm failed:"The distiguished name" The directory service can perform the
requested operation only on a leaf object.
My understanding is that a leaf object is a computer or user object etc. Why
is the script failing when I try to remove a computer object under an OU?
computer objects in AD, however, I'm having limited success. It seem I can
remove a computer object if it is in a container, but not if it's in an OU.
When I try to remove a computer object from an OU, I get an error message -
dsrm failed:"The distiguished name" The directory service can perform the
requested operation only on a leaf object.
My understanding is that a leaf object is a computer or user object etc. Why
is the script failing when I try to remove a computer object under an OU?