Deleting a Container That Has Child Objects

Started by domvalle@comcast.net, Today at 01:45:21 PM

Previous topic - Next topic

domvalle@comcast.net

Hi,
When deleting some computers from AD using dsDeleteObj it will fail.
Deleting from AD Users and Computers pops up a 'Use Delete Subtree server control?'
These computers seem to have a bitlocker key or other attachment.
The dsisContainer also comes back true for these...

Found this explanation:
On the other hand, to delete a container and its children, the tree-delete LDAP control has to be used. If you were to do the deletion from an LDAP-based tool like LDP, you would first need to enable the "Subtree Delete" control, which has an OID of 1.2.840.113556.1.4.805.

So is this possible with using the ADSI Extender?