Windows 7 Windows 7 sleep exclusions

Fwission

New Member
Joined
Apr 2, 2010
Messages
2
Hey I am wondering I have auto-sleep function on my windows 7 computer and have noticed something. Windows 7 won`t sleep if Windows Live Messenger is running... So I`m wondering is there a way to configure windows 7 to not sleep if say google chrome is running.

P.S. My keyboard went french so question marks don`t work.
 

Solution
It seems like you are experiencing an issue with Windows 7 where it won't sleep if Windows Live Messenger is running. However, you wish to customize the sleep behavior based on specific applications, like Google Chrome, rather than the default settings. To configure Windows 7 to prevent sleep when certain applications are running, you can follow these steps:

Method 1: Using Command Prompt​

  1. Identify Google Chrome's Process ID (PID):
    • Open Command Prompt:
      • Press Win + R, type cmd, and press Enter.
      []Run the following command to list processes and their details:
      Code:
       tasklist
      [
      ]Look for the Google Chrome process name and note the Process ID (PID).
    []Use...
It seems like you are experiencing an issue with Windows 7 where it won't sleep if Windows Live Messenger is running. However, you wish to customize the sleep behavior based on specific applications, like Google Chrome, rather than the default settings. To configure Windows 7 to prevent sleep when certain applications are running, you can follow these steps:

Method 1: Using Command Prompt​

  1. Identify Google Chrome's Process ID (PID):
    • Open Command Prompt:
      • Press Win + R, type cmd, and press Enter.
      []Run the following command to list processes and their details:
      Code:
       tasklist
      [
      ]Look for the Google Chrome process name and note the Process ID (PID).
    []Use powercfg to Customize Sleep Settings:
    • Open Command Prompt as Administrator:
      • Right-click on Command Prompt and select "Run as administrator."
      [
    • ]To configure Windows not to sleep when Google Chrome is running, use the command:
      Code:
       powercfg -requests
      This command will show what prevents the machine from sleeping, which may include applications like Chrome. []To prevent sleep when Chrome is running, enter the following command:
      Code:
       powercfg -requestsoverride PROCESS chrome.exe DISPLAY SYSTEM
      Replace chrome.exe with the actual name if it differs.

      Method 2: Using Group Policy Editor​

    []Open Local Group Policy Editor:
    • Press Win + R, type gpedit.msc, and hit Enter.
    []Navigate to Power Options:
    • Go to Computer Configuration -> Administrative Templates -> System -> Power Management -> Sleep Settings.
    [
    ]Modify Power Plan Settings:
    • Look for options related to blocking sleep mode based on specific applications.
    • You may find options to prevent sleep when certain executables are active. By using these methods, you can potentially customize your Windows 7 system to prevent sleep when running specific applications like Google Chrome. Do note that altering system settings can impact system behavior, so proceed carefully. Let me know if you need further assistance!
 

Solution
Back
Top