It only takes two steps to easily shut down the Windows 7 system automatically:
1. Use the Win+R shortcut key on the keyboard to open the run input dialog box.
2. Enter the shutdown code "Shutdown -s -t 7200".
Note: 7200 is 7200 seconds, that is, 2 hours, in 2 hours The system will automatically shut down afterward.