Jump to content


Sign in to follow this  
Stian M.

Clean 'All computers' collection of old, inactive computers

Recommended Posts

Hi!

 

I ran a AD System Discovery when I first set up SCCM 2012, and all the computer accounts in AD has been listed in the 'All Systems' collection as intended.

The only issue here is, almost 2000 of these computer objects are objects that hasn't been active or been in contact with a Domain Controller for the last 180 days. Yesterday, I started a cleaning process in AD, so the old computer objects in AD has now been disabled.

 

Is there any possibility for me to clean the 'All Computers' collection and get rid of the disabled computer objects?

 

Any help is highly appreciated :-)

 

 

Brgds.

 

Stian M.

Share this post


Link to post
Share on other sites


You can enable a predefined task under Site settings -> Site Maintenance. There is a task called "Delete obsolete client data". Hope it will help.

Share this post


Link to post
Share on other sites

Hm, I configured the 'Delete obsolete client discovery data' to run after i wrote the last post. Didn't seem to work, still the same amount of clients in 'All Computers' collection, approx. 5200, should be around 3200 since I disabled around 2000 AD computer accounts.

 

Any ideas?

Share this post


Link to post
Share on other sites

Uhm, Sorry I thought that the function would do the job :unsure:

 

Manual way :

 

- Open "All Systems" Collection

- Sort list by a column of your choice

- Select all necessary objects

- and Delete

 

:P

Share this post


Link to post
Share on other sites

Not per say... Are that check can be added. It is loading the AD powershell module a you would just need to add another check to say if status disabled then remove from sccm. Now I am not sure maybe someone else or you already know the answer to this. The AD discovery, I would think that it would pull the account back into SCCM. I am not sure if there is a check on status on that.

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...