In my case, the error was:
can’t run after build ue4editor-kismet.dll is either not designed to run on windows media build
What fixed it was to rebuild
the editor. The build
command just re-used everything, and the DLL was broken. So the rebuild was much slower (3 hours) but at least I could run the editor after it was done.