Endpoint DLP Settings

Earn 25 points (50 with Pro) in two steps

  1. ① Read through the lesson — each section gets a ✓ as you scroll through it.
  2. ② When every section has a ✓, tap Complete lesson.

0 of 11 read · keep scrolling

✦ See fewer ads and earn double points — 50 a lesson instead of 25 — with Pro

Understanding and Configuring Endpoint DLP Settings

Data is the lifeblood of the modern organization, but it is also one of its greatest liabilities if not handled correctly. While cloud-based protections cover data at rest in SharePoint or data in transit via Exchange, the "last mile" of data security happens at the endpoint. The endpoint—the laptops, desktops, and workstations used by your employees every day—is where data is most vulnerable. It is the point where a sensitive document can be copied to a thumb drive, uploaded to a personal cloud storage account, or printed and taken out of the building.

Endpoint Data Loss Prevention (DLP) extends the monitoring and protection capabilities of Microsoft Purview to the physical devices in your fleet. By configuring Endpoint DLP settings correctly, you ensure that your security policies are enforced even when a device is off the corporate network. This lesson provides a deep dive into the specific settings, configurations, and architectural considerations required to build a resilient endpoint protection strategy. We will move beyond simple policy creation and look at the underlying engine that makes these protections possible.

Not read yet

The Architecture of Endpoint DLP

Before we click any buttons in the Purview portal, we must understand how Endpoint DLP functions. Unlike traditional DLP solutions that often require heavy, third-party agents that slow down the system, Microsoft’s approach is built directly into Windows 10 and 11. The functionality is baked into the operating system and the Microsoft Defender for Endpoint (MDE) stack. For macOS, a lightweight agent is used, but the management experience remains centralized.

When you "onboard" a device to Purview, you aren't necessarily installing a new program; you are activating a dormant capability within the OS. This service monitors "signals" or activities. When a user attempts an action—such as copying a file to a USB drive—the OS checks the file's metadata and content against the DLP policies you have synced to the device. If a match is found, the action is either audited, blocked, or blocked with an override option, depending on your configuration.

Callout: Agentless vs. Agent-Based DLP

Traditional DLP solutions often rely on a "hooking" method where an agent intercepts every system call. This frequently leads to "Blue Screen of Death" (BSOD) errors or significant performance lag. Microsoft’s Endpoint DLP is "agentless" in the traditional sense on Windows because it uses the built-in policy engine. This results in better system stability and a much smaller footprint on system resources like CPU and RAM.

Not read yet

Essential Global Settings

Endpoint DLP settings are divided into two categories: the specific policies that target data (like Credit Card numbers) and the "Global Settings" that define how the DLP engine behaves on the device. We will focus heavily on these global settings, as they provide the framework for all your individual policies.

File Path Exclusions

One of the first tasks in configuring Endpoint DLP is defining file path exclusions. You do not want the DLP engine scanning every single file on a hard drive. Scanning system files, application binaries, or temporary folders can lead to performance degradation and "false positive" signals in your logs.

Exclusions should be used sparingly but strategically. For example, you might exclude the C:\Windows directory or C:\Program Files. However, you must be careful not to exclude paths where users might intentionally hide data to bypass DLP, such as deep subdirectories in the AppData folder.

Commonly excluded paths include:

  • System directories that do not contain user data.
  • Virtual machine drive files (e.g., .vhd, .vhdx) if they are handled by other security layers.
  • Specific backup folders that are already secured.

Warning: Over-excluding paths can create blind spots. If you exclude a user's "Downloads" folder because it contains many small files, you are creating a massive hole where sensitive data can be moved and manipulated without oversight.

Unallowed Apps and Browser Restrictions

Not all applications are created equal. Some applications are known to handle data in ways that are difficult to monitor. The "Unallowed Apps" list allows you to prevent specific applications from accessing files that are protected by a DLP policy.

For example, if your organization uses a specific sanctioned PDF editor, you might want to block users from using "freeware" PDF converters that might upload the document to a third-party cloud for processing. When an app is on the unallowed list, it simply cannot open the sensitive file.

Browser Restrictions and Service Domains

Web browsers are the primary egress point for data. Microsoft Purview has native integration with Microsoft Edge. If a user tries to upload a sensitive file to a personal Dropbox account using Edge, the DLP engine can see the destination URL and the file content simultaneously.

However, browsers like Chrome or Firefox require the "Microsoft Purview extension" to provide this same level of visibility. If you cannot guarantee the extension is installed and active, you can use the "Unallowed Browsers" setting to prevent those browsers from accessing sensitive files altogether.

Note: A more modern approach is to use "Service Domains." Instead of blocking the browser, you allow the browser but restrict which websites (domains) can receive sensitive data. You can set "Allow" or "Block" lists for domains like gmail.com or personal-cloud-storage.com.

Not read yet

Advanced Configuration: Cloud Egress and Just-In-Time Protection

When we talk about "Cloud Egress," we are referring to the movement of data from the local device to a cloud service. Purview allows you to categorize these movements.

Just-In-Time (JIT) Protection

JIT Protection is a sophisticated setting that addresses the "race condition" in data protection. When a user downloads a file or creates a new one, there is a tiny window of time between the file appearing on the disk and the DLP engine finishing its scan. JIT protection ensures that the file is "locked" or restricted until the classification engine has determined whether the file contains sensitive information.

This prevents a user from quickly downloading a sensitive file and immediately dragging it into a personal webmail window before the system has had a chance to flag it.

Business vs. Personal Accounts

On Windows devices, users often sign in with a corporate identity, but they may also have personal accounts (like a personal OneDrive) linked to the same machine. Endpoint DLP settings allow you to distinguish between these. You can configure the system to allow data movement to corporate-managed cloud locations while blocking the exact same action if the destination is a personal account.

Not read yet

Step-by-Step: Configuring Endpoint DLP Settings

To configure these settings, you must have the appropriate permissions (Global Admin, Compliance Admin, or Information Protection Admin).

  1. Navigate to the Portal: Go to the Microsoft Purview compliance portal (compliance.microsoft.com).
  2. Access Data Loss Prevention: In the left-hand navigation, click on "Data loss prevention" and then select "Endpoint DLP settings."
  3. File Path Exclusions: Click on "File path exclusions." Add the paths you wish to ignore. Remember to use environment variables like %ProgramFiles% to ensure the paths work across different device configurations.
  4. Unallowed Apps: Under the "App groups" or "Unallowed apps" section, add the executable names (e.g., notepads.exe) of applications you want to restrict from sensitive data access.
  5. Browser and Domain Restrictions:
    • Add browsers like chrome.exe or firefox.exe to the unallowed list if you aren't using the extension.
    • Under "Service domains," click "Add service domain." Enter the URL (e.g., dropbox.com) and set the action to "Block."
  6. USB and Peripheral Restrictions: Navigate to "Removable storage device groups." Here you can define specific IDs for authorized corporate USB drives while blocking all others.
  7. Save and Sync: After saving, these settings are pushed to the devices. Note that syncing can take up to 60 minutes depending on the device's connectivity.

Not read yet

Implementing Removable Storage Restrictions

One of the most common leak vectors is the USB thumb drive. Endpoint DLP provides granular control over these devices. You don't have to choose between "Allow all USBs" and "Block all USBs."

Grouping Devices

You can create "Device Groups" based on the hardware ID or serial number of the USB drive. This allows you to issue encrypted, company-approved drives to your staff. You then configure a policy that says: "If the file is sensitive AND the destination is a USB drive, BLOCK the action UNLESS the USB drive belongs to the 'Approved Corporate Drives' group."

Detailed Actions for Removable Media

When a user attempts to copy data to a USB, you can choose several responses:

  • Audit Only: The action is allowed, but a log is created in the Activity Explorer.
  • Block with Override: The action is blocked, but the user can provide a business justification to proceed. This is excellent for reducing "help desk friction."
  • Block: The action is stopped entirely, and the user receives a notification.
Feature Audit Only Block with Override Strict Block
User Impact None Low (requires a note) High
Data Security Monitoring only High Maximum
Best Use Case Initial testing/Baselines Trusted power users High-risk environments
Visibility High (logs created) High (logs + justification) High (logs created)

Not read yet

PowerShell and Automation for Endpoint DLP

While the Purview portal is the primary interface, administrators often need to verify the status of a device locally or via automation. You can use PowerShell to check if a device is correctly onboarded and receiving policies.

Checking Onboarding Status

On a Windows machine, the "Sense" service is responsible for communicating with the DLP and Defender engines. You can check its status with the following command:

# Check the status of the Defender/DLP Sense service
Get-Service -Name Sense | Select-Object Name, Status, StartType

# Verify if the device is successfully onboarded to MDE/Purview
Get-MpComputerStatus | Select-Object OnboardingStatus, AMRunningMode

Explanation of the code:

  • Get-Service -Name Sense: This checks the "Windows Defender Advanced Threat Protection Service." If this service isn't running, Endpoint DLP will not function.
  • Get-MpComputerStatus: This cmdlet provides a wealth of information about the security posture of the machine. The OnboardingStatus should return a value of 1 (Onboarded).

Validating Policy Sync

If a user reports that they are not being blocked when they should be, you can look at the local registry (with caution) to see when the last policy was applied.

# Check the last policy sync time in the registry
$RegistryPath = "HKLM:\SOFTWARE\Microsoft\Windows Advanced Threat Protection\Status"
Get-ItemProperty -Path $RegistryPath | Select-Object LastConnected

This helps you determine if the device is "stale." If the LastConnected time was several days ago, the device is likely not receiving the latest DLP settings or exclusions you've configured in the portal.

Not read yet

Best Practices for Endpoint DLP Settings

Implementing Endpoint DLP is as much about psychology and change management as it is about technology. If you turn on "Strict Block" for every employee on day one, your IT support team will be overwhelmed with tickets.

1. The "Audit-First" Approach

Never deploy a new DLP setting in "Block" mode immediately. Run the setting in "Audit" mode for at least 30 days. This allows you to use the Activity Explorer in Purview to see what would have been blocked. You can then refine your exclusions and unallowed apps list based on real-world usage patterns without interrupting business operations.

2. Use Justifications

Whenever possible, use "Block with Override." When a user is blocked, they are presented with a dialog box. If they have a legitimate reason to move the file (e.g., "Sending to a contractor for an approved project"), they can type that reason and proceed. This data is logged. If a user is consistently overriding blocks for suspicious reasons, it becomes a management conversation rather than a technical failure.

3. Educate with Notifications

Endpoint DLP allows you to customize the notification the user sees. Instead of a generic "Access Denied" message, use the notification to educate.

  • Example: "This file contains sensitive financial data. Per Company Policy 402, this information cannot be uploaded to personal storage. Please use the corporate SharePoint instead."

4. Monitor Performance

While the built-in engine is efficient, it still uses resources. Keep an eye on your performance monitoring tools. If you see high CPU usage from the MsSense.exe process, it is a sign that your "File Path Exclusions" are too narrow and the engine is working too hard to scan irrelevant system files.

Not read yet

Common Pitfalls and How to Avoid Them

Pitfall 1: Ignoring the "Copy to Clipboard" Action

Many admins focus on USBs and Browsers but forget about the clipboard. A user can open a sensitive document, copy the entire text (Ctrl+A, Ctrl+C), and paste it into a personal chat app or a web-based AI tool.

  • Solution: Configure the "Copy to clipboard" restriction in your Endpoint DLP policy. You can set it to "Audit" or "Block" when sensitive data is detected in the clipboard buffer.

Pitfall 2: Conflicting Policies

If you have a global DLP policy for "Sensitive Finance Data" and a specific Endpoint DLP setting for "Removable Storage," ensure they don't contradict each other. Purview generally follows the "most restrictive" rule, but overlapping policies can make troubleshooting very difficult.

  • Solution: Use the "Policy Simulation" tool in Purview to test how multiple policies interact before pushing them to production.

Pitfall 3: Neglecting macOS

If your fleet includes Macs, you cannot assume your Windows settings will carry over perfectly. macOS requires specific "System Extensions" and "Full Disk Access" permissions to be granted via an MDM (like Microsoft Intune) for the DLP engine to work.

  • Solution: Ensure you have deployed the necessary configuration profiles to your macOS devices before expecting DLP settings to take effect.

Callout: Evidence Collection

One of the most powerful features in Endpoint DLP is "Evidence Collection." When enabled, the system doesn't just log that a file was blocked; it actually captures a copy of the file at the moment of the violation and stores it in a secure Azure storage account. This is invaluable for forensic investigations. If a user claims, "I was just moving a blank document," but the evidence collection shows a 50-page strategy brief, you have the proof needed for HR or legal action.

Not read yet

Comparison: Network DLP vs. Endpoint DLP

It is helpful to understand where Endpoint DLP fits in the broader security stack.

Feature Network/Gateway DLP Endpoint DLP
Visibility Only data crossing the network perimeter. Data at rest, in use, and in motion on the device.
Off-Network Protection Minimal (unless using a VPN/Proxy). Full protection regardless of connectivity.
Encrypted Traffic Difficult to inspect (requires SSL decryption). Easy to inspect (checks data before it is encrypted).
Activity Monitored Uploads, Emails. USB copy, Printing, Clipboard, Screen capture, App access.
Performance Impact Network latency. Local CPU/Memory usage.

Troubleshooting Endpoint DLP

When a device isn't behaving as expected, follow this diagnostic path:

  1. Verify Onboarding: Is the device visible in the Microsoft Purview "Device Management" list? If not, the onboarding script or Intune policy has failed.
  2. Check Service Status: On the local machine, is the Sense service running?
  3. Test with "Dummy" Data: Use a test file containing "mock" sensitive data (like the standard DLP test credit card numbers). If the mock data isn't blocked, the policy hasn't synced.
  4. Review the Activity Explorer: Look at the logs in the Purview portal. Does the activity show up at all? If it shows as "Allowed" but you expected a "Block," check your policy priority and conditions.
  5. Examine Local Logs: Windows Event Viewer contains logs under Applications and Services Logs > Microsoft > Windows > SENSE. This can provide clues about why a scan failed or why a policy wasn't applied.

Not read yet

Industry Recommendations and Compliance

If your organization falls under regulatory frameworks like GDPR, HIPAA, or PCI-DSS, Endpoint DLP is often a requirement, not a luxury. These frameworks demand that sensitive data be protected throughout its entire lifecycle.

Industry standards suggest a "layered" approach:

  1. Identity: Ensure only the right people can access the file.
  2. Classification: Label the file so the system knows it's sensitive.
  3. Endpoint DLP: Prevent the file from leaving the managed environment.

By following these standards, you move from a reactive posture (finding out about a leak after it happens) to a proactive posture (preventing the leak in real-time).

Key Takeaways

To master Endpoint DLP settings, keep these core principles in mind:

  • Endpoint DLP is native to Windows: It uses the built-in engine in Windows 10 and 11, which minimizes performance impact compared to traditional agent-based solutions.
  • Global Settings are the foundation: Before writing policies, you must configure file path exclusions, unallowed browsers, and service domains to define the boundaries of the engine's operation.
  • Browser control is critical: Use Microsoft Edge or the Purview extension for Chrome/Firefox to ensure that web-based uploads are monitored. Use Service Domains to create granular allow/block lists for cloud storage.
  • Use the "Audit" phase: Always start in audit mode to gather data and prevent accidental business disruption. Use the Activity Explorer to refine your strategy.
  • Context matters: Use features like "Block with Override" to allow users to perform their jobs while still maintaining a log of sensitive data movement and user justification.
  • Removable storage is not "all or nothing": Use device groups to allow authorized, encrypted corporate USB drives while blocking unauthorized personal devices.
  • Evidence Collection provides accountability: Enabling this feature ensures you have a forensic copy of the sensitive data involved in a policy violation, which is essential for legal and HR purposes.

By meticulously configuring these settings, you transform your fleet of workstations from potential points of failure into a coordinated, intelligent defense network that protects your organization's most valuable information assets.

Not read yet

Each section gets a ✓ as you scroll through it. Tap the button to jump to the next one.