You don’t need to edit registry for this. There is local group policy called "Prevent installation of devices using drivers that match these device setup classes"
Computer Configuration > Administrative Templates > System > Device Installation > Device Installation Restrictions
Disable it and you will be able to install drivers (that were made, because windows update is using wrong version for wifi driver which will lead to bsod, there is working version here)