Exclude Disable computer object from active directory forest Discovery & active directory system Discovery

Hi All,

We had more than 40000 + computer in our AD in that almost 1000 + computers are disable but these disable computers are also seen in SCCM how we can Exclude Disable computer object from active directory forest Discovery & active directory system Discovery

Regards,

Tejas Bandekar

August 28th, 2015 3:36am

Hi,

I normally move all disabled computer account to an OU and make sure that that OU in not included in System Discovery.

How long ago was it the computers was disabled? is the maintenace thask enabled for cleaning them out? default is 90 days.

regards,
Jrgen

Free Windows Admin Tool Kit Click here and download it now
August 28th, 2015 3:45am

Hi Jorgen,

Thanks for reply,

Can you guide us how we can exclude OU in system discovery.

Note : Computer disable activity is our monthly activity which disable computer object which not log in since 30 days.

August 28th, 2015 4:52am

Hi,

You cannot exclude an OU, well you could be denying the SCCM Server permissions to that OU, not pretty.

Create a new OU top-level and then change the System Discovery agent and include the OU you want to include and not so scan the whole AD.

/jrgen

Free Windows Admin Tool Kit Click here and download it now
August 28th, 2015 5:31am

AD Discovery automatically excludes disabled computer accounts -- there's nothing for you to do and this is not configurable. Don't confuse discovery with synchronization though. Discovery *discovers*, it does not remove resources because that has nothing to do with discovery. If you want to remove these objects, simply delete them. You can easily script this also. There are a couple of PowerShell scripts available that you can base this on including one from Peter Dalmaans and one from Trevor Sullivan (just search their blogs and/or the Microsoft TechNet script center for them).
August 29th, 2015 5:59pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics