Check Control Panel/Power Settings.
There should be an option to enable APM (advanced power management). Tick the box and that should do the trick.
If you don't have an ACPI power supply, the PC won't shut itself off... that's a hardware issue.
Good luck!