cudaGetDeviceCount returned 38 -> no CUDA-capable device is detected

I get the error:

cudaGetDeviceCount returned 38
-> no CUDA-capable device is detected

when trying to run the deviceQuery.exe of the CUDA samples to check the CUDA istallation.

My system is a fresh installation of Windows Server 2012 (64bit) with a ASPEED Graphics Family(WDDM) card onbord and a NVIDIA GeForce GTX 480 Card. The drivers for both cards are installed. As for Windows Server 2012 no GeForce driver exists I installed the Windows 8.1 driver for the card.
I then installed the Visual Studio 2012 and then the CUDA Toolkit (64bit). But as deviceQuery.exe results in this error something seems to have gone wrong. Removing it and installing it again didn’t help.
I don’t know what I should try next to get this card to work. Does someone know what to do here and could help me please?

Are you connecting to the box remotely, using RDP?

Yes I am using Windows Remote Desktop. Is this a problem?

Yes, it is a problem. WDDM GPUs are essentially invisible to a RDP session. Work directly on the console attached to the box (if there is one), or use another method of connection e.g. TeamViewer or some flavor of VNC. Or you can google around for other ideas.