OpenGL Version 1.1 with Quadro when launching task inside a service on Windows 1809

I have problem when I’m launching executable inside a service. This program are retrieving the Microsoft “GDI Generic” OpenGL driver, which is version 1.1. But I have Quadro P2000 with version 4.6 and the last NVidia driver.
The basic usage of that case, is when I launch Unit testing program with Teamcity (continuous build system). This unit test executable are executed inside a Service by Teamcity.

On Windows 10 version 1803, usually, I have to set/force the NVidia card as the primary/only graphic card (not using the Intel Integrated card) to solved this problem.

But since I have update to the last Windows 10, version 1809, and I updated the NVidia driver to the last “dch” driver, the OpenGL version inside the service is always 1.1 … !!

Before the W10 update, using driver 419.17 WHQL, it was working with the last W10 v1809. So it seems that there is a way to have it works on W10 with WHQL driver.
But after installing the 419.17 DCH driver, it’s not working anymore, only OpenGL 1.1 inside service (using a account with administrative rights)…

And the problem, is that I’m not able to install the original WHQL version!
I try lot of method, but I always I have an error. The NVidia driver installer tell me that the driver is not compatible with the current system (but it seems compatible, because it was using just after the W10 update, before I installer the DCH driver).
If I ask to windows to install this specific driver, it finish with an error.

One solution, is to reinstall W10 v1803 and keep the WHQL version, but I have computer which have already been updated (W10 and driver), and I want to avoid a full reinstall.

Is there a hidden option to be able to force install a WHQL driver on W10 1809 or to be able to used the NVidia driver with OpenGL 4.6 inside a service on W10 with a DCH driver?

I hope someone have a solution, I try so multiples tests since two days, install/reinstall of driver, search on google…

Hello,
I still have the problem with the last version of Windows and NVidia driver.

Here the result when I launch a simple test inside a Service and WHQL driver (using gliwinfo.exe):

"Display available Graphic Cards:"
Name                       

NVIDIA Quadro P2000        

Intel(R) UHD Graphics 630  



-------------------------
run "glewinfo.exe" 
---------------------------
    GLEW Extension Info
---------------------------

GLEW version 2.1.0
Reporting capabilities of pixelformat 1
Running on a Quadro P2000/PCIe/SSE2 from NVIDIA Corporation
OpenGL version 4.6.0 NVIDIA 411.63 is supported

GL_VERSION_1_1:                                                OK 
---------------

GL_VERSION_1_2:                                                OK 
---------------
  glCopyTexSubImage3D:                                         OK
  glDrawRangeElements:                                         OK
  glTexImage3D:                                                OK
  glTexSubImage3D:                                             OK

GL_VERSION_1_2_1:                                              OK 
-----------------

GL_VERSION_1_3:                                                OK 
---------------
  glActiveTexture:                                             OK

  etc.

And here the result, on PC with the last nvidia driver, DCH, on Windows 10 >= 1803:

"Display available Graphic Cards:"
Name                       
NVIDIA Quadro P2000        
Intel(R) UHD Graphics 630  

-------------------------
run "glewinfo.exe"
---------------------------
    GLEW Extension Info
---------------------------

GLEW version 2.1.0
Reporting capabilities of pixelformat 2
Running on a GDI Generic from Microsoft Corporation
OpenGL version 1.1.0 is supported

GL_VERSION_1_1:                                                OK 
---------------

GL_VERSION_1_2:                                                MISSING 
---------------
  glCopyTexSubImage3D:                                         MISSING
  glDrawRangeElements:                                         MISSING
  glTexImage3D:                                                MISSING
  glTexSubImage3D:                                             MISSING

GL_VERSION_1_2_1:                                              MISSING 
-----------------

GL_VERSION_1_3:                                                MISSING 
---------------
  glActiveTexture:                                             MISSING

  etc.

As you see, glewinfo is working before the new DCH driver introduce on Windows 10 1803.
Is anyone have a some idea how to be able to have the NVidia driver inside a program running under Windows service?

(note that NVidia graphic card is force as the primary card inside the BIOS).

Hi,
Any update on this issue ? I am experimenting a similar one.
Thank you