How to manage GPU utilization?

If I go to NVIDIA Control Panel → Workstation - Manage GPU Utilization, then I change Use Mode to “Use for Graphics and compute needs”.

Is it possible to set this setting using registry? I need to apply this setting to thousands of devices.

Thanks in advance.