Windows requires all kernel drivers to be digitally signed by Microsoft (Driver Signature Enforcement, or DSE). Because modded drivers alter the original files, their digital signature becomes invalid.
Most "gaming optimization" drivers simply apply aggressive Windows Registry tweaks or force the GPU to run at maximum power states constantly. You can achieve these identical results using official drivers combined with MSI Afterburner and Windows Power Management settings. The Serious Risks of GitHub Modded Drivers nvidia modded drivers github work
Modified NVIDIA drivers hosted on GitHub primarily serve to bypass software-imposed limitations, extend hardware lifecycles on modern systems, or fix compatibility issues in specialized environments like Linux and FreeBSD Windows requires all kernel drivers to be digitally