diff --git a/MSVC/winmake.py b/MSVC/winmake.py
index b58cb038646c5fdacc34c450a7e90c022f99c20d..c917e6910fad71f6f70deb2fd622d4cd8f016c88 100644
--- a/MSVC/winmake.py
+++ b/MSVC/winmake.py
@@ -81,7 +81,7 @@ def findVSLatestDir():
         '-property installationPath'
     ]
     cmd = [vs_where_path] + args
-    output = subprocess.check_output(' '.join(cmd)).decode('utf-8')
+    output = subprocess.check_output(' '.join(cmd)).decode('utf-8', errors='ignore')
     if output:
         return output.splitlines()[0]
     else: