Build lighting Swarm agent [Interface:OpenJob] Error: Invalid namespace error

I finally found a way to fix it! https://forums.unrealengine.com/t/lighting-not-building-swarm-seems-to-be-the-cause/311775/25?u=casper_ap

Thanks to domoskan for the fix:

  1. Windows+X => Command Promt(Admin)
  2. cd \windows\system32\wbem
  3. mofcomp cimwin32.mof
  4. Restart unreal engine (just to be sure)