I've been troubleshooting my machine hanging intermediately after windows starts shutting down and I know that the source of the problem can be quite hard to determine. But before someone attempts to assit me with troubleshooting my machine or pointing to other forums remember thats not what I asked. Shutdown(12) Forces Windows to shutdown Question: How to force the machine to power down A.K.A holding down the power button. I've written a little script using some snippets