Is it possible to programmatically disable the video card inserted into the PCI slot for a comparative assessment of the quality of the video card built into the motherboard?
Is it possible to programmatically disable the video card inserted into the PCI slot for a comparative assessment of the quality of the video card built into the motherboard?
Devices can be disabled with SetupDiSetClassInstallParams + SetupDiCallClassInstaller with DICS_DISABLE in x64
Additional options that may enable you to compare the performance of each video:
a) Turn off using the respective control panels
Nvidia Optimus
AMD Switchable graphics
b) Open the BIOS > some computers have settings that can be turned on /off
c) Modify / uninstall drivers
.
.
.
.
.
Please remember to vote and to mark the replies as answers if they help.
On the bottom of each post there is:
Propose as answer = answered the question
On the left side of each post there is /\ with a number: click = a helpful post
.
.
.
.
.
Hello LevGorinshteyn
Yes, you can use the next:
Script for Disabling :
pnputil /disable-device "InstanceID"
Script for Enabling:
pnputil /enable-device "InstanceID"
To find instance ID of your discrete card you can access Device Manager in Windows and from the properties of the Adapter, Details Tab, the value is on the "Device instance path"
--If the reply is helpful, please Upvote and Accept as answer--
Yes, there are PowerShell scripts available. You can kindly go through the following Microsoft reference:
5 people are following this question.