How can I make GPU resources available to a process started from IIS?

Chris Niemann 16 Reputation points


We wrote a system in C# that relies on ComputerVision to process IP Camera inputs.

Up until production we used a simple recording, that always worked, once we moved to production, and started using actual IP Cameras we encountered that the CV application no longer has access to the GPU resource. When running the CV from the cmd there isn't any issue. After some research it seems like IIS is actually restricting hardware usage for processes started in IIS.

I was hoping you could help me, or get me in contact with someone about exploring solutions to this problem?


Internet Information Services
Azure Computer Vision
Azure Computer Vision
An Azure artificial intelligence service that analyzes content in images and video.
347 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sam Wu-MSFT 7,286 Reputation points Microsoft Vendor

    @Chris Niemann It is difficult to reproduce your problem, I suggest you open a case via:, one of our engineers will help try to find the root cause.

    0 comments No comments