Can't shut down pc

Just built a new pc and I can't shut it down in windows. I can only shut it down by holding the power button down. Is that bad for the pc. And there any way to fix it?

What happens when you try the normal shutdown?

Try opening Command Prompt as Administrator and typing shutdown.exe /f /t 0

See if that works. If it does, check your Event Viewer for any errors at the time you are trying to shut down your PC.

When I try to shit it down it turns off the screen and the mouse and keyboard but the computer is still on. 

i Will try the command prompt and see if that fixes it

*shut

Is it just the power supply or the motherboard too? My power supply runs the fan for a couple of minutes after I shut down but could be a defective power supply.

It isn't updating by chance?

no its all the fans

No it's not updating 

It doesn't shut down from command prompt 

I have been having the sameish problem on mine, but am just to lazy to see what is going on...by the time we get through with our nightly gaming session i just don't have any energy left to diagnose problems, and daytime is to busy to take the time either, will dig into it l8r

Could there be a problem with the hardware? Like the power supply because it doesn't turn off it command profit either.

Nothing bad happens when you turn off using the power button. NOTHING. Just reconnect your mobo cables and reinstall Windows.

What does reinstalling windows do.

I'm sure there could be but for some reason I would think it is more likely to be the motherboard or a software issue. If you have any extra hardware hook it up and try it.