I have encountered the same issue. As Mr. Blurred have said you should add C:\Windows\System32
to your PATH environment variable. To do this you should open Control Panel, go to System -> Environment Variables, find PATH in System Variables and add the following entry at the beginning: %SystemRoot%\system32;