Then the only chance only chance to win against him would be with knowledge he doesn't have. Maybe using some Elder Scrolls?
Problem is, who's to say if that knowledge would be effective against him. The problem with a Daedric Lord having limitless knowledge, is that said Daedric Lord can
use that knowledge. You would have to amass an amount of knowledge equal in power or greater than the power HM gains from his entire library. I feel only a deity on Akatosh level could contend with HM. Given that Akatosh is the God of Time, he is truly omniscient in terms of knowledge.