Windows 10: Task Scheduler: PC sleeps when locked

Discus and support Task Scheduler: PC sleeps when locked in Windows 10 Software and Apps to solve the problem; Recently had to do a fresh install of windows 11 and forgot to save instructions to re-do a task scheduler task which puts the PC to sleep when locked... Discussion in 'Windows 10 Software and Apps' started by Chris_010101, Dec 29, 2023.

  1. Task Scheduler: PC sleeps when locked


    Recently had to do a fresh install of windows 11 and forgot to save instructions to re-do a task scheduler task which puts the PC to sleep when locked with Win + L or similar. Can anyone help me out with step by step instructions on how to add this back? Regards

    :)
     
    Chris_010101, Dec 29, 2023
    #1

  2. Task Scheduler Not Waking Home Use Windows 11 From Sleep

    Hi!

    I'm trying to make Task Scheduler follow a schedule to:

    1. Wake my laptop
    2. Open Thunderbird.exe
    3. Bring Thunderbrid.exe to the foreground
    Problem

    • The scheduled task only runs after I manually wake my laptop from sleep

      (Not sure if related to the root cause of the issue: Sometimes the Windows Clock App opens as I manually wake my laptop from sleep. When this happens, the Clock App launches before Thunderbird.exe)
    • Task Scheduler's history tab has no logs for scheduled tasks that were missed because the laptop didn't wake up
    Steps I Took

    • Restart laptop
    • Run power troubleshooter
    • Update virtual network adapter enumerator
    • Disable hibernation
    • Disable fast start-up
    • Make sure the maintenance schedule does not clash with the task's schedule
    • Make sure Power Options - Sleep - Allow wake timers - Both Enabled
    • Make sure Windows updates are up to date
    • Make sure the scheduled task is viewable on powercfg -waketimers
    Windows Specifications

    Edition Windows 11 Home

    Version 22H2

    Experience Windows Feature Experience Pack 1000.22642.1000.0

    Other Details

    • Sleeping state in use: S0 Low Power Idle
    • Always using the account with admin rights
    • No account password - When I wake my laptop from sleep, it automatically shows my desktop
    • Always connected to AC power
    Task Scheduler Configuration


    Task Scheduler: PC sleeps when locked hkG0XlINE%2ffRk9Mm2AkjnhzbtJr%2bPUu%2b0VIxbuTYVSq%2bRk3SF3ZoD%2b9H%2bm98QNRAZxEKQhcsRYYGEa5sQ%3d.png


    Please advise the steps I should take to make the scheduled task work. Thank you so much!
     
    TaskSchedulerPlzWork, Dec 29, 2023
    #2
  3. Task Scheduler with error message The selected task »CreateChoiceProcessTask« no longer exists

    Hi,

    Thank you for posting your query on Microsoft Community. Let me assist you.

    I suggest you to clear the task from Task Scheduler using the below steps and check if the issue still persists.

    Steps:-

    • Type Task Scheduler on Search bar.
    • Click on Task Scheduler Library.
    • Select the particular task and right click on it.
    • Select End.

    Hope this information is helpful. Please do let us know if you need further assistance, we’ll be glad to assist you.
     
    Pawan Dhondiyal, Dec 29, 2023
    #3
  4. Task Scheduler: PC sleeps when locked

    Window's Task Scheduler Not Running

    Hi,

    To assist you better, kindly provide us more details by answering the following questions:

    • Have you tried recreating the task? If so, are you getting the same issue?
    • Have you tried creating a new task?
    Meanwhile, we suggest that you ensure that the Task Scheduler is running. You can verify if the service is running by following these steps:

    • Press Windows key + R on your keyboard.
    • Type services.msc and hit Enter.
    • Under Services (Local), make sure that the Task Scheduler service's status is
      Started or Enabled.
    Should you need further assistance, feel free to get back to us.
     
    Monica Cam, Dec 29, 2023
    #4
Thema:

Task Scheduler: PC sleeps when locked

Loading...
  1. Task Scheduler: PC sleeps when locked - Similar Threads - Task Scheduler sleeps

  2. Task Scheduler Not Waking PC from Sleep

    in Windows 10 Gaming
    Task Scheduler Not Waking PC from Sleep: I run a scheduled task at 22:30 to run a RoboCopy backup, it is configured to wake the PC from sleep. It has run successfully for many years including waking from sleep. However, ever since my laptop was updated to Windows 11 Home 24H2 four days ago, it has failed to wake the...
  3. Task Scheduler Not Waking PC from Sleep

    in Windows 10 Software and Apps
    Task Scheduler Not Waking PC from Sleep: I run a scheduled task at 22:30 to run a RoboCopy backup, it is configured to wake the PC from sleep. It has run successfully for many years including waking from sleep. However, ever since my laptop was updated to Windows 11 Home 24H2 four days ago, it has failed to wake the...
  4. Task Scheduler: PC sleeps when locked

    in Windows 10 Gaming
    Task Scheduler: PC sleeps when locked: Recently had to do a fresh install of windows 11 and forgot to save instructions to re-do a task scheduler task which puts the PC to sleep when locked with Win + L or similar. Can anyone help me out with step by step instructions on how to add this back? Regards...
  5. Scheduled Task will not Wake PC

    in Windows 10 Gaming
    Scheduled Task will not Wake PC: I have a process to backup my laptop to my NAS. This is scheduled to run, with Task Scheduler, as 22:30 each evening. The process used to wake the PC and run successfully on my old laptop, but fails to wake my new HP Pavilion 15-eg3016na. Instead, the process runs as soon as...
  6. Task scheduler wakes from sleep/hibernation but PC then goes back to sleep/hibernation

    in Windows 10 Gaming
    Task scheduler wakes from sleep/hibernation but PC then goes back to sleep/hibernation: Hi,I have a HP EliteBook 840 G1 with Windows 10.I am looking to put my laptop to sleep/hibernation each night at a set time. Then the scheduler will wake the PC at a set time and run a .bat file. The Windows scheduler wakes the PC fine but after a few minutes it goes back to...
  7. Scheduled task doesn't work when Windows is locked

    in Windows 10 Support
    Scheduled task doesn't work when Windows is locked: I have an odd request. I have my PC at work automated to backup everything on it every day at the same time, but I have it set to do so after I've closed all my programs and left. Reason is I also have it backing up my locally stored Outlook files, but the backup fails as...
  8. Sleep when the laptop is on battery power via Task Scheduler

    in Windows 10 Performance & Maintenance
    Sleep when the laptop is on battery power via Task Scheduler: I have a problem with my laptop's battery, so I need help to create a task in Task Scheduler tosleep when the laptop is switched/running on battery powerAND the battery is below 96%. I also want this task to run every time the system starts. Using the advanced power setting...
  9. Scheduled Tasks in sleep mode

    in Windows 10 Performance & Maintenance
    Scheduled Tasks in sleep mode: I often have my computer in sleep mode during the day and usually off at night while I'm sleeping. I've noticed that during the day when I'm out and have left the computer in sleep mode, it has done a Windows update. I'm wondering if the computer can also complete scheduled...
  10. Schedule wake up from sleep (not using task scheduler)

    in Windows 10 Support
    Schedule wake up from sleep (not using task scheduler): HiI have tried using windows task scheduler to sleep and wake up at different times but it does not work. I am using a Linx 1010 tablet. Windows 10Would anyone know if there any third party app, or any other way to do this task?Many thanks 92480