Seems similar with Linux OS : Failed to create native process factories for Machine Learning
Please check if you have the right directory for x-pack, or you can follow the instruction in that thread to disable x-pack ML in config file (do you need them?)