Windows key + R to open the Run dialog.gpedit.msc and press Enter to open the Local Group Policy Editor.Computer Configuration > Administrative Templates > Windows Components > Windows Update > Manage updates offered from Windows Update.Select the Enabled option to prevent Windows Update from installing drivers.
Click Apply, then click OK.To immediately apply the changes, open Command Prompt as an administrator and run gpupdate /force, or restart your computer.