ad.asmx DeleteComputer will not delete if for instance the "Managed by" field is not empty.

Sep 28, 2012 at 2:35 PM

HI,

The Security manager in my organisation has ordered me to delete the computer account from AD when reinstalling a machine, to make sure there is no group membeships left.

To accomplish this I've tried using the DeleteComputer from the webservices, wich is working perfektly on a standard object. "Unfortunately" we have an integration with our CMDB, that enter data in the "Location" and "Managed By" fields.
When that is the case, the action fails :-(

Is there anyway to force it?

Regards
Thomas

Sep 28, 2012 at 7:04 PM

No need guys and girls.... I'll go shoot myself after I've implemented the deleteComputerForced function included... doh I feel stupid