This question already has an answer here:
My computer goes to sleep two minutes after being idle. I have checked power management options for unplugged and plugged settings and going to sleep, screen saver etc. are all put on never but it still goes to sleep. Although a corporate pc the computer is not managed remotely by any admin and does not have any remote changes being applied to it and I have got a confirmation of this today as well.
Are there any other settings that i need to check/change?