I recently have the problem where Windows Defender turns itself off and I have to restart it on reboot. According the articles I read, it could be related the the WMI repository. When I try to run winmgmt /salvagerepository I get the following:
WMI repository verification failed
Error code: 0x800700C1
Description: %1 is not a valid Win32 application
Where do I go from here?