This occurs if your computer is not completely ACPI compatible.This workaround should fix it......
Right click My Computer/properties/hardware/device manager/view/show hidden devices.
There may be one disabled device called the NT APM/legacy interface node.If you enable this shutdown should work.