# Use query based membership

> Link new or unassigned computers to groups based on inventory values, leaving already-linked computers where they are.

Source: https://docs.capaone.com/capainstaller/the-capainstaller-console/patch-management/how-to-use-patch-management/use-query-based-membership/  
Product: CapaInstaller — a separate CapaSystems product; do not apply this page to any other.

Use "Query-based membership" to link new or unassigned computers to groups depending on inventory values. If a computer is already linked to a group, it will not be moved to the new group. Only computers that are unassigned can be moved automatically. To move a computer from one group to another is has to be done manually from the GUI.

![](/attachments/capainstaller/43f23e5a-4681-40bf-a91b-9b60322a222a.webp)

|          |                                                                                               |
|:---------|:----------------------------------------------------------------------------------------------|
| **Step** | **Action**                                                                                    |
| 1        | Select one or more CapaInstaller Reports to be used for query-based membership for this group |
| 2        | If necessary write a change description                                                       |
| 3        | Click OK to save the configuration                                                            |

:::tip
If you want to know more about root points, see [Patch Management root points](/capainstaller/the-capainstaller-console/patch-management/what-is-patch-management/patch-management-root-points/).
:::
