Did you have a previous card working on this desktop previously?
Did you try to clean uninstall the drive until Windows* no longer detect any driver files ? If not please do so through Device Manager. Then you can reinstall the drivers again from our support page: Intel® Download Center
Please know that Intel does not support integrations and to learn more about this, please access this link: Intel® Wi-Fi Products — Regulatory Information Regarding Hardware Installation or Upgrade and Wireless Networking — Installation Error when Installing or Swapping Intel Wireless Adapters
On our best effort to assist you, please also access these links below as they may contain information that might help you find a solution.
As for code 10 error, we recommend that you contact Microsoft for further details. For your convenience, we added the link here: Fix: "This device cannot start" Code 10 error in Device Manager in Windows