Purge non-existent PCs from SCCM - Improper maintenance tasks?

Courtney Regan 71 Reputation points
2023-05-16T13:43:33.4566667+00:00

Hi Guys,

I didn't set up our SCCM maintenance tasks, but we have an annoying issue with systems still in SCCM that haven't been turned on in months (or years). These are our settings:

Delete Obsolete Client Discovery data = 61 days

Delete Aged Computer Association Data = 1 day

Delete Aged Discovery Data = 62 days

Delete Inactive Client Discovery Data = 28 days

One of the issues is our AD isn't kept up to date, so SCCM will keep on detecting non-existent PCs. Many of these haven't been turned on in months (or even years). If a PC no longer exists, but is in AD then I get why they would still show up in the console. But what we'd like to do is if a PC hasn't been turned on in 3 (or 6 months) to remove the hardware/software inventory of the client. A big reason is for reporting capabilities. Systems that once had software licensed will show up and could cost us money.

Microsoft Security | Intune | Configuration Manager | Other
Microsoft System Center | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. XinGuo-MSFT 22,246 Reputation points
    2023-05-17T07:13:54.06+00:00

    Hi,

    Based on my experience, it is necessary to clean AD through PowerShell on a regular basis.

    For your current situation, you can consider put the inactive machines into an OU and excluding this OU from AD system discovery.

    Capture

    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.