Description:
This document's purpose is to assist in adding the Microsoft Office bitness to custom data in Inventory, where it then can be queried once reported in a client's inventory.
Resolution:
Essentially what is described in the process below is adding a registry key that contains the bit version of office to custom data. Once it's reported by Inventory you can build a query that will display that custom data and help the user determine what version is being run.
Checking the registry item:
This step is not necessary to the overall resolution, but rather to illustrate what information we will be adding to the inventory.
1. Type Windows Key + R or type "run" in the start menu and launch to open the Run interface
2. Type "regedit" in the provided command line
3. This will open Registry Editor, where we will want to navigate to HKLM\Software\Microsoft\Office\15.0\Outlook\bitness
For different versions of Office, check 14.0, 16.0, etc. depending on what version you are looking for.
4. As we can see from the above image, that registry item tells us that this devices contains a 64-bit version of Outlook. We can now add that information to be scanned into inventory.
Adding the registry item to custom data:
1. Open Ivanti Management Console and click Tools> Reporting / Monitoring> Manage software list
2. When the Manage Software List snap-in opens:
a) Expand Custom Data
b) Highlight Registry Items
c) Click the green New button on the toolbar
3. Add the following information to the dialogue box:
a) Root Key (generally HKLM)
b) Key - this is path to the key you want to scan
c) Value - the attribute you want pulled into inventory
d) Attribute Name - this is what the data will be named in the inventory and how it will be nested
4. Click OK to save and create the custom data
WARNING:The above image is an example of what adding a custom registry item looks like. Your environment may differ and require different input.
5. Now that the new item has been created, you will notice that (Unpublished)(1) will appear next to Manage Software List. To publish the list, you need to click the Make Available to Clients(2) button.
6. After you make the update available to clients, future inventory scans should report that registry item
It may take up to two inventory cycles (48 hours by default) to report the custom data.
The official help documentation for this process can be found here: Add custom registry items to inventory scans
Creating a custom query:
- Now that the registry item is being reported into custom data on the inventory, you can create a query to display that information.
- The documentation on building custom queries can be found here: Custom Database Queries: How they work, guidelines on creating them, and examples of them in action