Skip to main content
Microsoft Defenderintermediate

Fix "No sensor data" & "Impaired communications" in Defender for Endpoint

Fix devices showing "No sensor data" or "Impaired communications" in Microsoft Defender for Endpoint. Check WinHTTP proxy, service URLs, DiagTrack and the Sense service.

10 min readUpdated August 2026

The Microsoft Defender portal shows one or more devices with an unhealthy sensor status:

Sensor health state: Misconfigured
  - No sensor data
  - Impaired communications

Both statuses mean the device is onboarded but not fully protected in practice. This is worse than a device that has clearly failed, because the device list still shows it as present and managed.

Why This Happens

Defender for Endpoint classifies devices as active, inactive or misconfigured, and misconfigured splits into two distinct conditions:

Impaired communications — communication between the device and the service is limited. The practical consequence is that response actions requiring device communication may not work: sending files for deep analysis, blocking files, and isolating the device from the network.

No sensor data — the device can communicate with the service, but only reports partial sensor data. Telemetry you expect to query is incomplete or absent.

Separately, a device is marked Inactive after seven days without signals. That is not always a fault: the device may simply be unused, may have been reinstalled or renamed (which creates a new device entity and leaves the old one inactive), or may have been offboarded. A device that was misconfigured and then stopped reporting altogether will also end up here.

The underlying causes cluster into three areas: the network path, the services on the device, and antivirus policy.

Fix 1: Confirm the Device Has a Working Network Path

The Defender for Endpoint sensor requires Windows HTTP (WinHTTP) to report sensor data and communicate with the service. WinHTTP has its own proxy configuration, independent of the per-user Internet Explorer or Edge proxy settings — this catches people out constantly, because a device that browses the web fine can still fail here.

Check the current WinHTTP proxy configuration:

netsh winhttp show proxy

If it shows a direct connection but your environment requires a proxy, import the system proxy:

netsh winhttp import proxy source=ie

Or set it explicitly:

netsh winhttp set proxy proxy-server="http=proxy.contoso.com:8080" bypass-list="<local>"

Then confirm the proxy actually permits traffic to the Defender for Endpoint service URLs. Verifying client connectivity to those URLs is a documented remediation step for both misconfigured states — a proxy that is reachable but blocks the service endpoints produces exactly this symptom.

Fix 2: Verify the Sensor and Diagnostic Data Services

Two services matter on a Windows device.

The Sense service is the sensor itself:

sc query sense

STATE should be RUNNING. If it is stopped:

sc config sense start= auto
net start sense

The Windows diagnostic data service must be set to start automatically and must be running — the sensor depends on it to report. If devices are not reporting correctly, verify both:

sc query diagtrack
sc config diagtrack start= auto
net start diagtrack

A diagnostic data service that has been disabled by a privacy-hardening policy or a third-party "debloat" script is a frequent and easily missed cause of No sensor data. If a Group Policy or configuration baseline is disabling it, that policy needs to be amended rather than the service simply restarted, or it will revert.

Fix 3: Check Microsoft Defender Antivirus Is Not Disabled by Policy

If your devices run a third-party anti-malware client, Defender for Endpoint still requires the Microsoft Defender Antivirus Early Launch Anti-Malware (ELAM) driver to be enabled. A policy that disables Microsoft Defender Antivirus outright removes telemetry the sensor depends on.

Check whether a policy is disabling it:

Get-MpComputerStatus | Select-Object AMRunningMode, AntivirusEnabled

With a third-party AV installed, the expected running mode is passive mode — not disabled. If a Group Policy sets Turn off Microsoft Defender Antivirus, remove that setting; passive mode is the supported coexistence configuration, and it is what keeps ELAM and the sensor telemetry intact.

Do not resolve this by uninstalling the third-party product on a whim. Coexistence is supported; the fix is the policy, not the other vendor's agent.

Advertisement

Fix 4: Run the Client Analyzer

The Microsoft Defender for Endpoint Client Analyzer is purpose-built for these states — it is the recommended tool when diagnosing sensor health or reliability issues on devices showing Inactive, No sensor data or Impaired communications.

Download it from the Defender portal, run it elevated on the affected device, and review the resulting report. It checks connectivity to the service URLs, service state, onboarding configuration and proxy settings in a single pass, which is considerably faster than working through them individually.

Keep the output — it is the first thing Microsoft support will ask for if you end up opening a case.

Fix 5: Re-Onboard the Device

If onboarding state itself is damaged, re-run the onboarding package. Confirm the current state first:

Get-Service -Name sense
reg query "HKLM\SOFTWARE\Microsoft\Windows Advanced Threat Protection\Status" /v OnboardingState

OnboardingState should be 1. If it is 0 or missing, re-run the onboarding script from Settings → Endpoints → Onboarding in the Defender portal.

Offboard and re-onboard only when re-onboarding alone does not help. Offboarding leaves the device without EDR coverage until onboarding completes, so schedule it rather than doing it ad hoc, and confirm the device comes back healthy afterwards. See how to onboard devices for the full process across platforms.

Verify the Fix

Device health does not update instantly. After making a change:

  1. Confirm services are running: sc query sense and sc query diagtrack.
  2. Confirm netsh winhttp show proxy reflects the intended configuration.
  3. Re-run the Client Analyzer and check it now reports clean.
  4. Wait — allow time for the portal to reflect the new state rather than concluding the fix failed after five minutes.
  5. Check the device in the Defender portal and confirm the health state has moved to Active.
  6. Confirm telemetry is genuinely arriving by running an advanced hunting query against recent events for that device.

That last step is the real test. A device showing Active but producing no events is still a coverage gap.

If the device remains misconfigured after all corrective actions, Microsoft's guidance is to open a support ticket.

Prevention

  • Deploy WinHTTP proxy settings centrally, so devices do not depend on per-user browser configuration that the sensor never reads.
  • Allow the Defender service URLs explicitly on proxies and firewalls, and re-check the allow-list when the network team changes egress rules.
  • Protect the diagnostic data service from privacy-hardening baselines and third-party optimisation scripts. Document that it is a dependency so it is not disabled by a well-meaning change.
  • Use passive mode during AV migrations rather than disabling Microsoft Defender Antivirus by policy.
  • Monitor sensor health continuously. Build a report or alert on devices in misconfigured or inactive states so they surface within days rather than at the next audit.
  • Expect the Monday Mac cluster. macOS devices that sleep over a weekend legitimately show this state and clear on their own once used again.

Frequently Asked Questions

Find answers to common questions

It is one of the two misconfigured device health states. The device can communicate with the Defender for Endpoint service but is only reporting partial sensor data, so some telemetry is missing. The device appears onboarded while your detection coverage on it is incomplete.

Impaired communications means communication between the device and the service is limited, so actions that require talking to the device — submitting files for deep analysis, blocking files, isolating the device — may not work. No sensor data means communication works but the telemetry arriving is incomplete. Both fall under the misconfigured status.

A device is marked inactive after seven days without signals. That can simply mean it is not in use, was rebuilt or renamed, or was offboarded — a renamed or reinstalled device creates a new entity and the old one goes inactive. It can also mean a misconfigured device stopped reporting entirely.

Network path. The sensor uses Windows HTTP (WinHTTP) to report sensor data and talk to the service, so confirm the device has internet access and that WinHTTP can discover and use your proxy. Then verify the proxy actually permits traffic to the Defender for Endpoint service URLs.

The Sense service (Windows Defender Advanced Threat Protection Service) is the sensor itself. The Windows diagnostic data service must also be set to start automatically and be running, because the sensor depends on it to report. A stopped or disabled diagnostic data service is a common cause of No sensor data.

It can. When a device runs a third-party anti-malware client, Defender for Endpoint still requires the Microsoft Defender Antivirus Early Launch Anti-Malware (ELAM) driver to be enabled. If policy has disabled Microsoft Defender Antivirus outright, the sensor loses telemetry it depends on.

macOS devices that sleep for roughly 48 hours or more keep sending command and control channel data but stop sending cyber channel data. They correct themselves once the device is turned on and used again on the next business day, so a Monday morning cluster of Mac devices in this state is usually expected behaviour.

The Microsoft Defender for Endpoint Client Analyzer. It is built for exactly these unhealthy sensor states — Inactive, No sensor data and Impaired communications — and reports connectivity, service state and configuration problems in one pass.

Microsoft's guidance is to open a support ticket once you have taken the corrective actions and the status has not changed. Include the Client Analyzer output, the device's proxy configuration and the results of the connectivity test.