Could be your desktop is dust clogged and it then overheats. Disconnect power mains and all the auxiliaries from USB ports, ps/2 etc. Remove the side and inspect the internals. If you see dust clogging up cooling fins etc., then use a new small paint brush and gently brush away the dust while holding a vacuum nozzle not far away but not to near either.
See if it makes a difference.