Index: /trunk/src/VBox/Runtime/r3/win/fileio-win.cpp
===================================================================
--- /trunk/src/VBox/Runtime/r3/win/fileio-win.cpp	(revision 57633)
+++ /trunk/src/VBox/Runtime/r3/win/fileio-win.cpp	(revision 57634)
@@ -860,5 +860,9 @@
                 return VERR_INVALID_HANDLE;
         }
-        else
+        /*
+         * On Windows 10 and (hopefully) 8.1 we get ERROR_INVALID_FUNCTION with console I/O
+         * handles.  We must ignore these just like the above invalid handle error.
+         */
+        else if (dwErr != ERROR_INVALID_FUNCTION)
             return RTErrConvertFromWin32(dwErr);
 
