Task Scheduler to wake from sleep

Page 5 of 7 FirstFirst ... 34567 LastLast

  1. Posts : 16,978
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #41

    Understood. So remove the setting that locks it.
    Enable or Disable Lock Screen [Option 2] - TenForumsTutorials
    Lock screen ditty [MrEd post #3] - TenForums

    Dinner time, back tomorrow,
    Denis
      My Computer


  2. Posts : 1,456
    Windows 10
    Thread Starter
       #42

    I decided to "start" my office computer every morning, so the Action I choose was cmd.exe /c "exit", and this time it asked for the password?

    Will report tomorrow. If it works I'll try the same thing on the shop computer.
      My Computer


  3. Posts : 16,978
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #43

    rboppy said:
    Action ... cmd.exe /c "exit"
    Understood.
    There's nothing wrong with doing that but I have not done it in parallel with you because I cannot work out any means of monitoring it.
    I tested a similar one instead. It ran alright.
    Task Scheduler to wake from sleep-testpausethenexit.png

    rboppy said:
    this time it asked for the password?
    When?
    - Creating the task?
    - Running the task?
    Please would you post a [partial] screenshot of the tasks General tab so I can see the settings.
    Task Scheduler to wake from sleep-testpausethenexit-generaltab.jpg


    Denis
      My Computer


  4. Posts : 1,456
    Windows 10
    Thread Starter
       #44

    The TS didn't work on my office computer.

    Asked for password after clicking ok on the Settings tab.

    Task Scheduler to wake from sleep-general.png
      My Computer


  5. Posts : 16,978
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #45

    You are logged in as Jim Allen?
    Jim Allen is an Admin user?
    TS asks for Admin permission to run when you start it?

    Please don't complicate things by setting Run whether the user is logged in or not.
    I used to get tied in knots when I tried to edit tasks that had Run with highest privileges set.


    Denis
      My Computer


  6. Posts : 1,456
    Windows 10
    Thread Starter
       #46

    Try3 said:
    You are logged in as Jim Allen?
    Jim Allen is an Admin user?
    TS asks for Admin permission to run when you start it?

    Please don't complicate things by setting Run whether the user is logged in or not.
    I used to get tied in knots when I tried to edit tasks that had Run with highest privileges set.


    Denis
    Yes

    Yes

    No, TS has been elevated to Admin

    I'm done messing with my office computer, I'll give the shop computer one more attempt before I give up.
      My Computer


  7. Posts : 16,978
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #47

    rboppy said:
    No, TS has been elevated to Admin
    Surely you mean Yes?
    TS gets elevated when you give approval to proceed in an Admin prompt when you start it e.g.
    Task Scheduler to wake from sleep-admin-consentui.png


    Denis
      My Computer


  8. Posts : 1,456
    Windows 10
    Thread Starter
       #48

    No, I set up the shortcut to always run as administrator. UAC is not used on this computer.
      My Computer


  9. Posts : 16,978
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #49

    In that case I don't know how you can set up Run with highest privileges tasks in TS whilst avoiding password challenges.
    I never run with UAC off so I don't know how to deal with that state.
    About the only time I ever need to give Admin permission to proceed is when I'm assisting someone in a thread here. I doubt if I have to do this more than once a day for my own purposes.

    @Paul Black - Can you help?


    Best of luck,
    Denis
      My Computer


  10. Posts : 1,456
    Windows 10
    Thread Starter
       #50

    I set up a new shops TS exactly like the office - set it run at 9 am - didn't get asked for a password and didn't get the error, will report tomorrow how it went.

    - - - Updated - - -

    Worked like a charm, the laptop was powered up, after logging in everything work as though I'd logged in 30 minutes before, all the Windows startup routines had run.

    It was a long journey, but worth it, thanks so much for staying with it.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 23:16.
Find Us




Windows 10 Forums