Failed to retrieve MSVC Environment ... The command "C:\Windows\system32\cmd.exe" could not be started.
Unsolved
General and Desktop
-
@liuyu said in Failed to retrieve MSVC Environment ... The command "C:\Windows\system32\cmd.exe" could not be started.:
The command "C:\Windows\system32\cmd.exe" could not be started.
Does C:\Windows\System32\cmd.exe exist on your PC? If not, that means your Windows installation is damaged and you need to repair it (for example, by running
sfc /scannow
from an Administrator Command Prompt) -
@liuyu
As @JKSH says. However, you show an error message without any mention of when this happens to you, which is a big omission for any question.....EDIT Ah, I think see you have addressed this in https://forum.qt.io/topic/94128/failed-to-retrieve-msvc-environment-the-command-c-windows-system32-cmd-exe-could-not-be-started ....