A lot of these problems are solved by running the program as administrator, but there are some cases that even this does not help. It happens with my laptop too, and if you go into individual program settings in the nvidia control panel you can change it to the dedicated gpu. Even though some games may still list it as using your integrated cpu graphics, you will notice that you are running at the performance of your dedicated gpu.
If this fix does not work, there is a command prompt you can input in order to make the games use your dedicated gpu (i prefer not to tamper with script or command prompts if i don't have too)