1. Goto /Start/Control Panel/Performance and Maintenance/System.

2. Select the Hardware tab and then select Device Manager.

3. Under the 'View' menu select Show Hidden Devices. Double click NT/Apm/Legacy Interface
Node and enable device. De-select show hidden devices again and re-boot.

Now your PC will shutdown automatically just like good old Windows 98.