IT Management Suite

 View Only

Creating a Report with Composition of the Local Users Group (ITMS 7.1) 

Sep 26, 2016 11:44 AM

The article will be useful for those who need information about the composition of an individual local group ("Users", "Пользователи"). First, you must create a data class for recording information with targets.

You must go to Settings – Discovery and Inventory – Inventory Solution – Manage Custom Data Classes and create New data class (in my example the name is LocalUsersGroup, a set of fields is shown in Figure 1). In Symantec_CMDB will be created Inv_LocalUsersGroup table.

Figure_1.png

Figure 1.

IMPORTANT! It's necessary to set a flag «Allow multiple rows from a single computer resources» (Figure 2), which is located at the bottom of the page.

2016-09-25_12-43-12.png

Figure 2.

Next, I put together in one package two vbs scripts to collect information on the composition of the local group "Users" (EN and RU location). Unfortunately, the custom inventory does not allow properly convey Cyrillic characters in the script. But, this was made possible with the use of a single package!

The installer (based on the Inno Setup, GetLocalUsersGroup-Silent.exe) check the localization and execute desired vbs script.

The next step, I added the package to the catalog with the following parameters (Figure 3).

2016-09-25_12-54-51.png

Figure 3.

Next, you need to perform the delivery of the package prepared for all Windows PCs and servers.

Observe for getting information you can in the table Inv_LocalUsersGroup (with SQL Management Studio, Figure 4).

Figure_4.png

Figure 4.

For debugging is possible to configure «Capture Events Folder» on test machine -

x32 - HKLM | Software | Altiris | Altiris Agent | Transport | Capture Events Folder

x64 - HKLM | Software| WOW6432Node |Altiris |Altiris Agent | Tranport | Capture Events Folder

I enclose to this article all of materials (file project Inno Setup, scripts execution, report), which I hope will help you in solving similar problems.

 

Statistics
0 Favorited
1 Views
1 Files
0 Shares
0 Downloads
Attachment(s)
zip file
GetLocalUsersInfo.zip   276 KB   1 version
Uploaded - Feb 25, 2020

Tags and Keywords

Related Entries and Links

No Related Resource entered.