Windows Task Scheduler to wake from sleep and play a video

A.M.

I am trying to follow the directions in Can Windows 7 Task scheduler start a playlist in Windows Media Player 11?, but it is not working for me.

It may be because

  • I want to play video rather than audio, or because
  • I want the computer to wake from Sleep mode to run the task.

I set up a Windows Task Scheduler task by following all of the instructions in the answer to that question (https://superuser.com/a/479426/219755) and also checking the box "Wake the computer to run this task" (under the "Conditions" tab in the settings for the task once entered).

The problem is that my computer does wake from sleep, but the screen does not turn on. If I move the mouse pointer the screen turns on, but shows me a log-in screen. Again I am not sure what the problem is.

  1. It might be just the computer failing to log in, but
  2. it might (also) be the computer not turning on the screen without user input.

I have read task scheduler won't wake the computer, but unlike in that question it does look like my computer is waking. It is just not doing the right things after waking.

I think issue "1." above has to do with the task scheduler "Security options":

  • ( ) Run only when user is logged on
  • ( ) Run whether user is logged on or not
    • [ ] Do not store password. The task will only have access to local computer resources.
  • ( ) Run with highest privileges

...but I have tried different choices there and not been able to get this to work.

Does anybody know how to use Windows Task Scheduler to wake from sleep and do any task with the screen on?

(I assume a method that works for anything like that would work for playing a video.)

A.M.

What ended up working for me was disabling Windows presenting the lock screen upon waking from Sleep mode (or Hibernate mode, I imagine).

I found the instructions here: http://www.pha-tech.com/resources/computer/other_win_tutorial/How_to_Enable_or_Disable_Lock_Screen_after_Waking_Windows.php

In short, though it's:

  • Start
    • Control Panel
      • Hardware and Sound
        • Power Options
          • <'Require a password on wake-up'>
            • ( ) Do not require a password

Yes, this setting is improperly named. It actually suppresses the lock screen rather than simply not requiring a password to pass it. (I actually had no password on the user account to begin with, but changing this setting did make a difference and make the waking for the scheduled task work.)


It seems like there should be a better way, so if anyone posts one (which deals with the lock screen properly instead of disabling it altogether), I will change my accepted answer to that!

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

Run task scheduler task on demand from limited user account in windows 7

분류에서Dev

iBeacon detection wake up iPhone from sleep mode with UILocalNotification

분류에서Dev

Late 2015 iMac won't wake from sleep - black display

분류에서Dev

Screen resolution changes after wake-up from sleep

분류에서Dev

How to modify a task in Windows Task Scheduler without having permission?

분류에서Dev

Windows 10 does not wake up from LAN

분류에서Dev

Play video from SAMBA share on Android--Any shared volume from Linux or Windows

분류에서Dev

Bat file doesn't log when running from task scheduler?

분류에서Dev

Run executable file from task scheduler NOT in background W7

분류에서Dev

Could someone explain the sleep/wake dynamics in Linux?

분류에서Dev

Windows task scheduler won't run file on non-system drive

분류에서Dev

How to covert PL/SQL .sql file to SQL*PLUS so it can be run with Windows Task Scheduler

분류에서Dev

task scheduler after 5 min

분류에서Dev

Why can't Excel open a file when run from task scheduler?

분류에서Dev

How to set Windows not to prompt for password on resume from sleep

분류에서Dev

In Windows 10 How To Keep Password Prompt From Appearing On Sleep?

분류에서Dev

Play video if no other video playing

분류에서Dev

iOS cannot play video

분류에서Dev

Play Multitrack Video In FFplay

분류에서Dev

Windows Automatic Sleep

분류에서Dev

Finding the .exe of a Click Once App - Task Scheduler

분류에서Dev

Wake-on-LAN (from WAN) issue

분류에서Dev

How to play media files from folder and subfolders or directory and subdirectories in Windows?

분류에서Dev

Why does my Windows 7 computer freeze after waking up from Sleep?

분류에서Dev

How can I stop windows re-positioning after waking from sleep?

분류에서Dev

Is it possible to make Windows go from sleep to hibernate after a given period, like a MacBook?

분류에서Dev

Store and play huge video on website?

분류에서Dev

How to play video backwards in WPF?

분류에서Dev

Windows 서비스가 '시작 중'상태로 멈 췄고 Thread.Sleep ()과 Task.Delay ()의 차이점

Related 관련 기사

  1. 1

    Run task scheduler task on demand from limited user account in windows 7

  2. 2

    iBeacon detection wake up iPhone from sleep mode with UILocalNotification

  3. 3

    Late 2015 iMac won't wake from sleep - black display

  4. 4

    Screen resolution changes after wake-up from sleep

  5. 5

    How to modify a task in Windows Task Scheduler without having permission?

  6. 6

    Windows 10 does not wake up from LAN

  7. 7

    Play video from SAMBA share on Android--Any shared volume from Linux or Windows

  8. 8

    Bat file doesn't log when running from task scheduler?

  9. 9

    Run executable file from task scheduler NOT in background W7

  10. 10

    Could someone explain the sleep/wake dynamics in Linux?

  11. 11

    Windows task scheduler won't run file on non-system drive

  12. 12

    How to covert PL/SQL .sql file to SQL*PLUS so it can be run with Windows Task Scheduler

  13. 13

    task scheduler after 5 min

  14. 14

    Why can't Excel open a file when run from task scheduler?

  15. 15

    How to set Windows not to prompt for password on resume from sleep

  16. 16

    In Windows 10 How To Keep Password Prompt From Appearing On Sleep?

  17. 17

    Play video if no other video playing

  18. 18

    iOS cannot play video

  19. 19

    Play Multitrack Video In FFplay

  20. 20

    Windows Automatic Sleep

  21. 21

    Finding the .exe of a Click Once App - Task Scheduler

  22. 22

    Wake-on-LAN (from WAN) issue

  23. 23

    How to play media files from folder and subfolders or directory and subdirectories in Windows?

  24. 24

    Why does my Windows 7 computer freeze after waking up from Sleep?

  25. 25

    How can I stop windows re-positioning after waking from sleep?

  26. 26

    Is it possible to make Windows go from sleep to hibernate after a given period, like a MacBook?

  27. 27

    Store and play huge video on website?

  28. 28

    How to play video backwards in WPF?

  29. 29

    Windows 서비스가 '시작 중'상태로 멈 췄고 Thread.Sleep ()과 Task.Delay ()의 차이점

뜨겁다태그

보관