Cannot run program "wmic": CreateProcess error=2, 系统找不到指定的文件。

报错:Unable to improt Maven project

查看错误消息:Help->show log in explorer->idea.log

Cannot run program "wmic": CreateProcess error=2, 系统找不到指定的文件。
win+r:输入wmic 出现异常信息
配置环境变量:
path中配置:;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;

再次输入wmic指令
Cannot run program "wmic": CreateProcess error=2, 系统找不到指定的文件。
出现此界面表明配置好了,打开idea报错消失