Can't build lighting. wbemcomn.dll error

Every time I try to build lighting, even in a new, clean project, I keep getting this error:

**C:/WINDOWS/SYSTEM32/wbemcomn.dll is either not designed to run on windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support. Error status 0xc0000006. **

This is the error log I get in Swarm Agent:

1:28:06 AM: [Interface:OpenJob] Error: The type initializer for ‘System.Management.ManagementPath’ threw an exception.

Please help.