How do you disable the auto headlights on a 2005 2500 hd not the daytime running lights?

I believe there should be a photo sensor on the top of the dash, normally on the passenger side. I had the same problem with my Chevy Tracker lights. I lifted the sensor cover and unplugged it then put the cover back on.