1, in the lower left corner of the Win7 system desktop Click the Start menu, pop-up menu bar, found in the "Run" option, and click it.
2, enter "Gpedit.msc" in the Pop-up Run dialog box, and click OK.
3. Pop up the local Group Policy Editor page and double-click Computer Configuration on the right side of the page.
4, page jump, select "Admin Template" and double-click it, as shown in the following figure.
5, page jump, double-click the "System" option.
6, find the "shutdown option" on the page and double-click it.
7, double-click "Shutdown will prevent or cancel shutdown of the application of the automatic termination function"
8, the pop-up dialog box, select "Enabled", and then click OK. This allows the Windows 7 system to automatically terminate when you encounter a program that is not closed, which makes the shutdown faster.