Reinstalled windows 10 on AIO pc, gpu isn't working

Feb 3, 2019
3
0
10
Reinstalled windows on AIO pc, now my gpu isn't being used for games. My pc is an inspiron 7459. My gpu is a gtx 940M
Already tried installing various versions of Nvidia drivers, disabling integrated graphics, and now idk what to do. Thank you!