1. Click Run in the menu Start, then type gpedit.msc and click OK. Now the Local Group Policy Editor will open.
2. Browse to Administrative Templates in Computer Configuration, click System and double click in the right window on Display Shutdown Event Tracker. Change its value to Disabled and click OK to save the change.