Hey Checkyourlogs Fans,

Today, I was tasked with onboarding some new Microsoft Surface ARM64-based devices, which had the Snapdragon X 12-core processor.

A screenshot of a computer Description automatically generated

The issue is that we received the following error message when trying to onboard to Defender Endpoint.

As you can see above, the error message we received was “Unable to start Microsoft Defender for Endpoint Service. Error Message: The Service Name is Invalid”

We checked services.msc and noted that the Windows Defender Advanced Threat Protection Service was missing.

A screenshot of a computer Description automatically generated

To fix this we need to add it back in by running:

DISM /online /Add-Capability /CapabilityName:Microsoft.Windows.Sense.Client~~~~

A screen shot of a computer Description automatically generated

Then Reboot.

Post reboot we can see the service is installed.

A screenshot of a computer Description automatically generated

Rerun the onboarding script.

A computer screen with white text Description automatically generated

Now we can see the device in the security.microsoft.com portal and the service is running properly.

A screenshot of a computer Description automatically generated

If you are working with these devices, it is advised that you update the OS Gold image or follow the autopilot steps to add the service back in. Otherwise, you might see a gap in protection.

Thanks,

Dave