look up nvsmi. its in the nvidia folder; it gets installed with the driver. you can use it to manually set fan speeds via command line, so just have it execute before your ccminer command.
More on the nvsmi utility in the batch link in my sig. may be a link or two deep, but its the link about forcing P0 state. Probably the original batch thread linked in the one in my sig....
Correct me if I'm wrong but as far as I know nvsmi only works with 9xx generation of cards, not with 10xx series. I used it before for my GTX970's.
sorry, I was mistaken, I used nvidiainspector.exe
Its a standard downloadable utility...
example:
nvidiaInspector.exe -setFanSpeed:0,80
Sets device 0 to fan speed 80.
Cheers.