If the problem is accurately presented - PC shuts down (no blue screen) after 15 minutes, there can be no mystery - overheat.
A spinning fan is not necessarily a working fan.
Lint build up in intake areas, cooler fins, on fan blades.
PC placed close to a heat vent.