Problems
Laptop S540 has dedicated AMD 4800u integrated graphics, at first, I downloaded the driver from the lenovo official site but recently I want to upgrade the graphics card following AMD's official driver, which is more update, but everytime after the upgrade, Windows 11 automatically revert the old version driver making the new AMD driver being warned with not compatiable.
Solutions
The whole concept is to prevent Windows from checking and changing the driver automatically.
1. Navigate to Device Properties and find the AMD graphics hardware, click `XXX Grahpics Properties`
At the same time, open Local Group Policy Editor and navigate to Administrative Templates > System > Device Installation > Device Installation Restrictions, find and edit the below entry
Enable the settings above with the entry values shown in Device Properties.


Apply the settings for each driver upgrade, disable the settings next time when a new driver update is needed