Hardware Inventory doesn't capture Mapped Drives or Network Printers in the the Logical Disk data class.
When an Inventory Policy runs under the System Account or an account that is not the logged-in user, we do not have access to capture the user-specific information, such as mapped drives and printers that the logged-in user possesses.
To resolve the issue, configure an Inventory Policy to run under the logged-in User so that their drive mappings and printers are captured.
Go to Manage > Policies > Discover and Inventory > Inventory > and create a new Policy to use as the user-specific policy.
Click on the Advanced button in the Policy Rules/Actions section.
On the Data Classes tab, make sure the Inventory data classes are selected:
Hardware\Common\"Disk Partition", "Logical Device" and "Printer"
Software\Windows\"Device Driver Windows"
If file details are desired, click on the File Properties Scan Settings tab. Under the Drives tab click on Include drive > select Network drives > click ok .
Click on the Run Options tab and select "Logged in user" under "Run Inventory as" (by default System account is selected).
Make sure the inventory policy is enabled and schedule it to run.
This will result in the user's mapped drives and printers being captured, and network drives being scanned by the policy. The data can be queried from the Inv_HW_Logical_Disk table with a SQL query like the following example:
select vComputer.Name, vComputer.[User], Inv_HW_Logical_Disk.[Device ID], Inv_HW_Logical_Disk.[Description], Inv_HW_Logical_Disk.[Provider Name] from Inv_HW_Logical_Disk left join vComputer on vComputer.Guid = Inv_HW_Logical_Disk._ResourceGuid where Inv_HW_Logical_Disk.[Device ID] like 'V:'
Depending on your environment and security, you may want to have a separate Inventory Policy for most other data classes. The logged-in user may not have rights to access WMI and other functions used to capture system data.
NOTE: If you have two Inventory Policies enabled that both write to the same data classes and one runs as "System Account" and the other runs as "logged-in user" then your results such as mapped-drives and printers will reflect the last Inventory Policy that ran.
ID: ETK 2004946
Logged in Etrack (Symantec) database
Imported Document ID: TECH145268
Subscribing will provide email updates when this Article is updated. Login is required.