Solved! Display driver issue

Jun 15, 2020
i have a lenovo y540(i5 9300H /gtx 1650) earlier my display was running with my nvidia graphics card i.e gtx 1650 but now the display has switched to using integrated graphics instead of the dedicated one after the windows update to version 2004 . I have downgraded back to 1903 but still the problem is present . I also tried uninstalling the drivers with DDU and reinstalling them but the problem is still present.