I solved my problem.

1. Open "Nvidia Control Panel"
2. Click on "Manage 3D Settings"
3. Set the Nvidia Graphics processor as the preferred device.