Index: /trunk/src/VBox/Runtime/r3/win/localipc-win.cpp
===================================================================
--- /trunk/src/VBox/Runtime/r3/win/localipc-win.cpp	(revision 86535)
+++ /trunk/src/VBox/Runtime/r3/win/localipc-win.cpp	(revision 86536)
@@ -824,4 +824,6 @@
                     SecAttrs.bInheritHandle       = FALSE;
 
+                    /* The SECURITY_XXX flags are needed in order to prevent the server from impersonating with
+                       this thread's security context (supported at least back to NT 3.51). See @bugref{9773}. */
                     HANDLE hPipe = CreateFileW(pwszFullName,
                                                GENERIC_READ | GENERIC_WRITE,
@@ -829,8 +831,5 @@
                                                &SecAttrs,
                                                OPEN_EXISTING,
-                                               FILE_FLAG_OVERLAPPED
-                                               /* Needed in order to prevent the server to impersonate with this thread's
-                                                * security context. See #9773. */
-                                               | SECURITY_SQOS_PRESENT | SECURITY_ANONYMOUS,
+                                               FILE_FLAG_OVERLAPPED | SECURITY_SQOS_PRESENT | SECURITY_ANONYMOUS,
                                                NULL /*no template handle*/);
                     if (hPipe != INVALID_HANDLE_VALUE)
