A new Flexera Community experience is coming on November 25th. Click here for more information.
I can find where I need to set policy to scan windows machines specific directories.
How can I add an exclude directory to the policy?
Jan 27, 2020 10:20 AM
On the Inventory Settings page, the very first section is for File Evidence.
First, under "Included File Evidence", find the area for Windows and click the selection for "Collect File Evidence for All Folders". This tells the Windows Agent to capture File Evidence during inventory. By default, the "Windows" folder is ignored.
Next, under the "Excluded File Evidence", find the area for Windows and click the selection for "Specify additional folders to exclude". You can now enter the drive/folder paths that should NOT be included during the File Evidence Scan.
Jan 27, 2020 10:50 AM
Guess I will have to do an upgrade. The excluded is not on my display.
Jan 27, 2020 11:34 AM
If you are using an older version of FlexNet Manager Suite On-premises, you can run a SQL script like the following to configure agent policy to specify directories to be executed from inventory gathering:
-- Ensure Target__unix exists
EXEC dbo.BeaconTargetPutByNameInternal @Name = 'Target__unix', @Internal = 1, @Description = NULL, @Visible = 0
DECLARE @btid INT
SELECT @btid = BeaconTargetID FROM dbo.BeaconTarget WHERE Name = 'Target__unix'
-- Configure directories to be excluded from inventory scanning on UNIX-like operating systems
-- NB. The value must be no longer than 256 characters.
EXEC dbo.BeaconTargetPropertyValuePutByKeyNameBeaconTargetID
@KeyName = 'CTrackerExcludeDirectory',
@BeaconTargetID = @btid,
@Value = '/var/spool,/var/log'
GO
-- Ensure Target__windows exists
EXEC dbo.BeaconTargetPutByNameInternal @Name = 'Target__windows', @Internal = 1, @Description = NULL, @Visible = 0
DECLARE @btid INT
SELECT @btid = BeaconTargetID FROM dbo.BeaconTarget WHERE Name = 'Target__windows'
-- Configure directories to be excluded from inventory scanning on Windows operating systems
-- NB. The value must be no longer than 256 characters.
EXEC dbo.BeaconTargetPropertyValuePutByKeyNameBeaconTargetID
@KeyName = 'CTrackerExcludeDirectory',
@BeaconTargetID = @btid,
@Value = '$(WinDirectory);C:\Data'
GO
Jan 27, 2020 04:14 PM