|... I had a laptop that used to do that but not @ shutdown and restart, mostly the in between stages ie when it was meant to be running it used to freeze up!|
... it turned out to be the harddrive that had become dislodged from its fitting, pushing it back "home" cured that info here
... it might be worth trying this SuperFast Shutdown I use it all the time (years) and never had any problems with it.
... Posting is provided "AS IS" with no warranties