1. Click Start, click Run, and then type gpedit.msc
2. Under Local Computer Policy, expand Computer Configuration,
3. expand Administrative Templates
4. expand System
5. Double-click Do not turn off system power after a Windows system shutdown has occurred
6. Click the Setting tab, click Enabled, and then click OK

Note this will not stop a shut down from the start menu.