How to collect user and group data with Client Automation ITCM

Document ID : KB000100064
Last Modified Date : 04/06/2018
Show Technical Document Details
You can use a custom 'Inventory Detection Module' to collect any WBEM provided data, including users and groups on a machine. Here is how to do so using Asset Management (Required).
This procedure requires Asset Management to be installed to work.
All Windows Based systems running the Asset Management plugin.

1. Run DSM Explorer as administrator
2. Browse to 'Control Panel' <= 'Configuration' <= 'Collection Modules' <= 'Inventory Collection Modules'
3. Select 'Inventory Collection Modules' so you can see the modules listed on the right side of the screen.
4. Find the module called 'WBEM Inventory', right-click on it and select 'COPY'.
5. In the empty white space of the same window, right-click and select 'PASTE'
6. You should now see an item called 'COPY of WBEM Inventory'; right-click it and select 'Properties'.
7. In the 'General' Tab, change its name to 'User and Group Inventory', then click the 'Configuration' tab.
8. In the 'Configuration' tab, delete all items in the larger top window. Do NOT touch the info in the 'Configuration Tool' section.
9. Click the button labeled 'Launch' at the lower right. (It could take a while for the next screen to load, please be patient)
10. In the Window that appears, change the component name to 'UserGroupInfo'. Do NOT alter the 'Scanmode' or 'Namespace' items.
11. Browse down to the item called 'Win32_*' and click the + symbol to the left of it to expand it.
12. Browse down to 'Win32_UserAccount' and expand it.
13. Select the check boxes for only the required items. In this case, 'AccountType', 'Description', 'Domain', 'LocalAccount', 'Name', and 'Status' items.
14. Now browse UP to 'Win32_Group' and expand it.
15. Select the check boxes for only the required items. In this case, 'Description', 'Domain', 'LocalAccount', 'Name', and 'Status'
16. Click the button called 'Apply' at the bottom right and then click 'OK'
17. The Configuration Tab of the original window should now be fully populated; click 'OK' again.
18. Click 'Yes' when the confirmation window appears.
19. If the module name does not change, just go into properties again, change the name and click 'OK' once more.
20. Now browse in DSM Explorer to the 'All Computers' group (Or a custom group if you only want to run this on certain machines) and expand it.
21. Expand '{Group Details}' under 'All Computers'
22. Find and expand 'Configuration'.
23. Find and select 'Collect Tasks'.
24. Right-click on 'Collect Tasks' and select 'New'.
25. Select 'Hardware Inventory' and click 'OK'
26. Set the name to  'User and Group Inventory'. in the 'General' tab.
27. Click the 'Detection Modules' tab and find the module called 'User and Group Inventory'
28. Click the check box to the left of 'User and Group Inventory' and then return to the 'General' tab.
29. Click the button called 'Scheduling'.
30. In the 'Scheduling' tab select the 'Always run Job' radio button.
31. In the 'Conditions' tab, check the box to the left of 'Run only once a...'
32. Make sure the 'Day' radio button is selected.
33. Click 'OK'
34. Click 'OK' again.
35. DONE!
Additional Information:
It is important not to select too many items when creating an inventory like this because the size of the collected files can become quite large if indiscriminate selections are made.