could not find opengl for Nvidia GT 540M

Hello, My notebook is Acer 4741G, there are two graphic cards. one is intel hd graphic card, the other is Nvidia GT 540M.
The intel card only supports opengl 2.1, but I wanna do opengl shading programming with Nvidia GT 540M.
Unfortunately, the abominable Acer locked the BIOS of 4741G, and I could not forbid the intel hd graphic card.
I also set the Nvidia Control Panel to choose ncidia cards.
Finally, glew could not find the Nvidia cards.
My operation system is serve 2012 R2.
Any suggestion will be appreciated!