Image result for close lid in windows 7

  1. Click Start, choose Control Panel, and then choose System and Security.
  2. Choose Power Options and then select Choose What Closing the Lid Does from the left pane. ..
  3. Choose close the lid to Do Nothing.
  4. Click Save Changes to make your changes permanent, and close the Power Options window.