Visual Studio Integration Failed

I have installed CUDA toolkit 11.2 and has GeForce 920M NVIDIA GPU card , driver version previously is 391.25 but there is always a getdevicecount error while debugging any sample program, so I updated the driver according to the system capability to 425.31 and then uninstall CUDA toolkit 11.2 and tried to install CUDA toolkit 10.1(which is suitable for the given driver version) , use custom settings while downloading and deselected the driver option while installing but everytime the installer fails, every other thing shows not installed status except Visual Studio Integration which shows failed status. I am not getting what is the issue here.