Troubleshooting Enforce
If Enforce is not performing as expected, you might need to troubleshoot issues or change settings.
Collect logs
Enforce Logs
Log information is saved as a ZIP file that you can download with your browser.
- From the Main menu, go to to open the EnforceOverview page. Click Help
and then click Troubleshooting.
- In the Collect Information for Support Requests section, select the additional solutions for which to gather troubleshooting packages. All available solutions are selected by default.
- Click Download Support Bundle. tanium-solution name-support-[timestamp].zip files download to the local download directory.
- Contact Tanium Support to determine the best option to send the ZIP files.
Endpoint Logs
Use the following information to collect logs from your endpoints.
|
Log Source |
Description |
|---|---|
|
Policy database |
The Enforce configuration database. Go to <tanium client directory>\extensions\enforce\policy.db. |
|
Group policy export |
A record of domain and local policies that are applied to the endpoint. To generate this export, from the command line on the endpoint, enter: gpresult/h gpo-report.html. |
|
Extensions log |
A log of Active Directory administrative template (ADMX) group polices. Go to <tanium client directory>\Logs\extensions0.txt. During the troubleshooting process, for best results, increase the log verbosity level.
When you finish troubleshooting, remove the setting.
|
|
Enforce log |
A log of Enforce actions. Go to <tanium client directory>\Logs\enforce.txt |
You can also use Client Management to directly connect to an endpoint and collect the artifacts above. For more information, see Troubleshooting Tanium Clients and Client Management.
Update default log level
- From the Main menu, go to to open the Enforce Overview page. Click Help
and then click Troubleshooting.
- In the Log Level section, select the log level.
Review AppLocker event logs
To see more details about AppLocker blocks on Windows endpoints, review the AppLocker event logs in Event Viewer.
-
Open the Control Panel on the Windows endpoint and then click .
-
To open the Event Viewer, double-click Event Viewer.
-
Expand Applications and Services Logs and click either Tanium Enforce - AppLocker or Tanium Enforce - AppLocker - MSI and Script.
-
Double-click any of the events to review more details about AppLocker blocks.
All AppLocker logs are gathered into the Tanium Enforce - AppLocker event log when aggregate results is run. Each of the two log file sizes is 10 MB.
Use Enforce sensors
The following list is a sample of available Enforce sensors. To view all sensors, go to .
- Enforce - Anti-Malware Definition Outdated
-
Reports the current Windows anti-malware definition version installed on the computer is out of date.
- Enforce - Anti-Malware Definition Version
-
Reports the current Windows anti-malware definition version installed on the computer.
- Enforce - Anti-Malware Engine Version
-
Reports the current Windows anti-malware engine version installed on the computer.
- Enforce - Anti-Malware Threat Details
-
Reports all anti-malware threats along with detection date, process name, and file paths.
- Enforce - Anti-Malware Threats Last X Days
-
Given a number of days in the past, this sensor reports all anti-malware threats since that date.
- Enforce - Anti-Malware Threat Counts Last X Days
-
Given a number of days in the past, this sensor reports all anti-malware threats counts since that date.
- Enforce - Total Anti-Malware Threats Last X Days
-
Given a number of days in the past, this sensor reports to the total number of anti-malware threats detected since that date.
- Enforce - Coverage Status
-
Returns "Optimal" if Enforce is installed and running, "Needs Attention" if Enforce is not installed or is not healthy, "Unsupported" if the operating system is not supported.
- Enforce - Device Setup Classes
-
Lists all device setup classes.
- Enforce - Diagnostic - Applied Machine Policies
-
Specifically for small scale diagnostics. Returns the status of machine policy settings that are applied or partially applied on endpoints
- Enforce - Diagnostic - Applied Policy Settings
-
Specifically for small scale diagnostics. Returns a list of all policy items to be applied on endpoints, including those that do not apply because they are superseded by a duplicate setting.
- Enforce - Firewall Rules [Linux]
-
Reports all configured firewall rules on Linux endpoints.
- Enforce - Firewall Rules [Windows]
-
Reports all configured firewall rules.
- Enforce - Host Firewall Enabled
-
Returns Yes if firewall is enabled. Otherwise, it returns No.
- Enforce - Machine Policy Status
-
Given a list of Policy Id numbers, reports the enforcement status of each.
- Enforce - Machine Policy Status [VBS]
-
Given a list of Policy Id numbers, reports the enforcement status of each. Unlike other sensors, VBS sensors provide up-to-the-minute results.
- Enforce Managed Definitions Targeting
-
Used for targeting Tanium Enforce Managed Definitions packages. This sensor determines if a host should require download and execution of the definitions package.
- Enforce Prerequisites
-
Reports the installed prerequisites needed by some Enforce policies.
- Enforce - USB Storage Devices
-
Lists hardware IDs for all USB storage devices.
- Enforce - Tools Version
-
Reports support and installation details. Checks if the endpoint supports the tools and has enough disk space. If a package has been deployed, reports the install location, version of tools, and if all the required tools are present.
Resolve Active Directory policy conflicts
Enforce uses Local Group Policy Objects (LGPO) to apply policy settings that cannot be applied using a configuration service provider (CSP). When a setting is applied using LGPO, if an endpoint is joined to a domain and is receiving a domain policy that contains the same policy setting Enforce is trying to apply, the Domain Group Policy (DGPO) takes precedence. To resolve this, the DGPO policy setting must be set to Not configured for Enforce to manage it.
Domain-joined endpoints attempt to reach out to a domain controller to resolve conflicts between DGPO and LGPO settings when Enforce applies policies on the endpoint (at the initial enforcement time and then every 60 minutes thereafter). If a domain-joined endpoint cannot reach a domain controller, the endpoint cannot determine if LGPO settings are in conflict with DGPO settings. In this case, LGPO settings are not applied and consequently Enforce cannot apply policies of this type.
To determine whether an endpoint has policy settings that cannot be applied due to a lack of connectivity with the domain controller, ask this question in Interact: Get Client Extensions - Status contains Enforce from all machines and look for a gpo_failure key with the value with No Domain Controller connectivity. You can drill down into that row in the results to identify the specific endpoints.
-
Conflicting DGPO and LGPO settings are reported as either Not Applied (only one policy setting exists in the policy and it conflicts with DGPO) or Partially Applied (more than one policy setting exists in the policy and at least one is in conflict with DGPO). Enforce does not apply policy items that are in conflict with DGPO. The group policy engine on the endpoint resolves that internally. The enforcement status drill down reports in the Reason column that the setting was verified with no items applied.
-
An LGPO setting that does not use a GPO client-side extension (CSE) is applied directly to the registry. These settings show as Applied even if the endpoint cannot connect to the domain controller. For more information about CSE, see Microsoft: Client-side Extensions.
Review policy settings when Windows Defender tamper protection is enabled
When you enable tamper protection in Windows Defender, the following policy settings are locked with their default values and cannot be edited through group policy. These settings may cause log errors if configured as part of an anti-virus policy or machine administrative template policy. For more information about settings that are disabled by Windows Defender tamper protection, see Microsoft Documentation: Protect security settings with tamper protection.
|
Setting Name |
Value |
|---|---|
|
Join Microsoft MAPS |
HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Spynet\SpynetReporting |
|
Configure the 'Block at First Sight' feature |
HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Spynet\DisableBlockAtFirstSeen |
|
Scan all downloaded files and attachments |
HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection\DisableIOAVProtection |
|
Turn off Microsoft Defender Antivirus |
HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\DisableAntiSpyware |
|
Turn off real-time protection |
HKLM\SOFTWARE\Microsoft\Windows Defender\Real-Time Protection\DisableRealtimeMonitoring |
|
Monitor file and program activity on your computer |
HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time\Protection\DisableOnAccessProtection |
|
Turn on behavior monitoring |
HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time\Protection\DisableBehaviorMonitoring |
|
Turn on process scanning whenever real-time protection is enabled |
HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection\DisableScanOnRealtimeEnable |
|
Suppress all notifications |
HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\UX Configuration\Notification_Suppress |
Review the status for policy settings on Windows endpoints
When you enforce a Bitlocker policy, Machine Administrative Template policy, Security Settings policy, or User Administrative Template policy, settings on supported Windows 10 and later endpoints are applied using configuration service providers (CSPs) when possible. For more information, see Configuration Service Providers (CSPs). Policy settings that cannot be applied using a CSP are applied using Local Group Policy (LGPO), the Group Policy Security Settings extension, or the Group Policy Audit Configuration Extension.
To check the status of a policy setting on Windows endpoints, you can ask this question: Get Enforce - Diagnostic - Applied Policy Settings from <targeted endpoints> in Interact. In the results, the Status column shows the status and how the setting was applied. For example:
|
Status |
Meaning |
|---|---|
|
CSP:VERIFIED_FULL SECURITY:VERIFIED_NOT_APPLIED |
CSP:VERIFIED_FULL indicates that the setting was successfully applied on the endpoint using a CSP. The SECURITY:VERIFIED_NOT_APPLIED status can be ignored; the setting application was not attempted using the Group Policy Security Settings extension because the setting was already successfully applied using a CSP. |
|
CSP:VERIFIED_NOT_APPLIED LGPO:VERIFIED_FULL |
CSP:VERIFIED_NOT_APPLIED indicates that the setting was not successfully applied on the endpoint using a CSP. The setting was then successfully applied using Local Group Policy (LGPO). |
|
LGPO:VERIFIED_SUPERSEDED |
The setting was superseded by another policy with a higher priority. Check the Errors column for the policy ID of the policy that superseded the setting. For more information about prioritizing policies, see Prioritize policies. |
|
LGPO:VERIFIED_FULL |
The setting was successfully applied using LGPO. Either the setting or the endpoint operating system is not supported by CSP, so that method was not attempted. |
|
AUDIT:VERIFIED_FULL |
The setting was successfully applied using the Group Policy Audit Configuration Extension. Audit settings are not supported for application using a CSP, so that method was not attempted. |
|
CSP:VERIFIED_ERROR LGPO:VERIFIED_FULL |
An error occurred when attempting to apply the setting using a CSP, but the setting was successfully applied using LGPO. Check the Errors column for more information on the CSP error. If both methods fail with an error, the setting application retries later. For more information, see Enforcing policies. |
Regenerate the Key Encryption Key to align with security best practices
When you upgrade to Enforce 2.4.230 or later from an earlier version, you might receive this message in the workbench: Key encryption key needs to be regenerated to align with latest security best practices. Visit Settings to generate a new key encryption key and re-encrypt existing keys.
For more information about regenerating the Key Encryption Key, see Windows: Generate the Key Encryption Key and Mac: Generate the Key Encryption Key.
"Access is Denied" error when attempting to manually encrypt a removable drive
If you attempt to manually encrypt a removable drive using BitLocker in a remote desktop session (RDP), you might receive this error: Access is denied. This error can occur in this scenario if the All Removable Storage: Allow direct access in remote sessions policy setting is not enabled. To resolve this error, either enable BitLocker using the local console (not over RDP) or enable the policy setting using a Machine Administrative Template policy. This setting is in the section of the policy.
Translate encryption method values in an exported BitLocker policy
When you export a BitLocker policy, the encryption method settings appear in the JSON as unsigned integer values rather than algorithm names. To translate these integers to the corresponding algorithm, see BitLocker encryption method values in exported policies.
Verify endpoint tools
If you are experiencing issues such as a feature not working on an endpoint or seeing incorrect data in the workbench, confirm that your endpoints have the latest toolset version. For more information, see Troubleshooting Endpoint Configuration.
Identify and resolve issues with Client Extensions
Use the following steps to troubleshoot issues with the Client Extensions that Enforce installs and uses. During troubleshooting, consider environmental factors such as security exclusions, file locks, CPU usage, RAM usage, and disk failures.
For additional help, Collect logs, and Contact Tanium Support.
Review the Extensions log for an endpoint
Use Client Management to directly connect to an endpoint and view and download extension logs.
-
From the Main menu, go to .
-
From the Client Management menu, click Client Health.
-
In the Direct Connect search box, enter all or part of an IP address or a computer name.
Matching results are displayed after the search completes.
-
From the search results, click the computer name to connect to the endpoint.
-
Click the Logs tab, and select an extensions[#].log file.
-
(Optional) To download the log, click Download.
For additional help, Collect logs, and Contact Tanium Support.
Remove Enforce tools from endpoints
You can deploy an action to remove Enforce tools from an endpoint or computer group. Separate actions are available for Windows and non-Windows endpoints.
Uninstall Enforce
-
From the Main menu, go to .
-
Select Enforce and click Uninstall. Click Yes to complete the process.
-
After you uninstall Enforce you might need to disable the associated firewall policies to ensure they are cleanly removed from endpoints in some instances, such as if some endpoints are offline when you uninstall Enforce. In this case, deploy actions including the Remove Enforce Firewall Rules package that was created when Enforce was installed. For more information, see Disable and remove Enforce firewall policies.
-
To complete a clean uninstallation and removal of Enforce policies, you must uninstall Enforce before you disable the associated firewall policies.
Disable and remove Enforce firewall policies
You might need to disable Enforce firewall policies after you uninstall Enforce, which might occur if some endpoints are offline when you uninstall Enforce. In this case, deploy actions including the Remove Enforce Firewall Rules package that was created when Enforce was installed. For more information about packages and deploying actions, see Managing scheduled actions and action history and Managing packages for platform actions.
To disable and remove Enforce firewall policies, first find all of the endpoints that are online and then deploy the removal package.
- From the Main menu, click Interact.
- Ask a question to target the endpoints from which you want to remove the policies. For example, Get Enforce - Tools Version from all machines.
- Select the row for the endpoints from which you want to remove the policies.
- Click Deploy Action.
- Select the Remove Enforce Firewall Rules Package.
- Click Show preview to continue in the Targeting Criteria section.
- Review the targeted endpoints.
- Click Deploy Action and enter your credentials. The Action Summary page appears.
Contact Tanium Support
To contact Tanium Support for help, sign in to the Tanium Customer Community.
For more information about how to submit a support case, see .