Collection that was deleted still exists.
I deleted a collection and wanted to recreate it. When I do it says the name already exists. I ran a collection report and do see the collection in the report but it doesn't show up where I put it.
I wish the report actually showed a nested collection structure to make sure there isn't another folder with that same name elsewhere.
Any ideas how to get that collection deleted?
David Jenkins
March 30th, 2011 12:06pm
Do you remember the collection ID, if so check the collevaluator and see if it's still being updated.Kent Agerlund | My blogs: http://blog.coretech.dk/author/kea/ and http://scug.dk/ | Twitter @Agerlund | Linkedin: /kentagerlund
Free Windows Admin Tool Kit Click here and download it now
March 30th, 2011 12:45pm
It doesnt' say much. I have two entires and the just talk about updating the collection. Nothing about deleting it.David Jenkins
March 30th, 2011 2:00pm
Have you ever used any sort of script to create collections?
Whilst the console doesn't allow you to create more than one collection with the same name, if using a script, you are able to create as many as you can with the same name.
So, if you ever used a script, you might have ended up with two collections with the same name. You deleted one, the other still exists. Also, if you created it using a script, the collection might be un-parented, which means it would be impossible to see
it through the console.
The way to find it out if that's the case is to use a script to search for all collections with a given name.
If, on the other hand, it is as you said on your second post and the collection is gone from the GUI but you see nothing on the logs about deleting it, you can still use a script to delete a collection by collectionID (regardless of if it's seen on the GUI
or not).
cogu
Free Windows Admin Tool Kit Click here and download it now
March 31st, 2011 9:14am
Try this. check the colleval.log to see for any errors.
http://social.technet.microsoft.com/Forums/en-US/configmgrgeneral/thread/663a83de-aa42-4f57-855d-8b61657c0c72
March 31st, 2011 11:24am
Will do, thanks.David Jenkins
Free Windows Admin Tool Kit Click here and download it now
March 31st, 2011 11:34am
One more thing you can do is to locate the location of the collection.
http://social.technet.microsoft.com/Forums/en-US/configmgrreporting/thread/d5afe0dc-562e-441c-a856-eb4f2cb97de2/
March 31st, 2011 11:50am
If this is just for 1 collection here is a quick t-sql command to get the parent collection. You'll have to rerun it for each level.
select
col.CollectionID,
col.[Name],
pCOLname.CollectionID [Parent CollectionID],
pCOLname.
[Name] [Parent Name]
from
v_Collection as
COL
inner
join v_CollectToSubCollect pCOLid
on COL.CollectionID
= pCOLid.
subCollectionID
inner
join v_Collection pCOLname
on pCOLname.CollectionID
= pCOLid.
parentCollectionID
where
col.Name
=
'<collection name>'
Thanks
Free Windows Admin Tool Kit Click here and download it now
March 31st, 2011 11:57am
I've checked and it shows the collection is still located where I deleted it. The problem is that it is invisible to me. I can't make it visible and so I can't delete it again. I see no errors in the logs.David Jenkins
April 4th, 2011 10:49am
You could use the SDK to delete the collection:
http://msdn.microsoft.com/en-us/library/cc143328.aspxTorsten Meringer | http://www.mssccmfaq.de
Free Windows Admin Tool Kit Click here and download it now
April 4th, 2011 10:56am
David, have you tried checking the colleval.log ? See if you can spot any errors suggesting issues with deletion of collection.
http://social.technet.microsoft.com/Forums/en-US/configmgrgeneral/thread/663a83de-aa42-4f57-855d-8b61657c0c72/
April 4th, 2011 11:12am
No luck. I've searched and there are no errors. I've restarted the services to see if it picks up whatever the problem is and corrects itself.David Jenkins
Free Windows Admin Tool Kit Click here and download it now
April 4th, 2011 11:14am
Then maybe you should try what "Torsten" has provided. That should surely help.
April 4th, 2011 12:17pm