OS: Windows 10 Pro 64bit, 21H2, I'm the Admin on this computer.
Although there's a manual way to do this via
Performance Monitor -> Data Collector Sets -> Startup Event Trace Sessions
However, I'd like to know how to disable DiagTrack-listener and DefenderApiLogger at boot via registry or Powershell. Googled and I could only find a way to disable "Event Trace Sessions" not "Startup Event Trace Sessions" via a powershell script