In Windows 10 v1709 how do I get Task Scheduler Credentials to work?

Page 2 of 2 FirstFirst 12

  1. Posts : 5,478
    2004
       #11

    Does powercfg not tell you the reason for waking?

    You seem to have assumed it is this one task scheduler entry but I can't see why.

    For me \Microsoft\Windows\UpdateOrchestrator\Reboot is a disabled task (which I can toggle on and off the wake computer box incidentally). It is triggered when I reboot to do whatever it does. That is it runs when I reboot - it doesn't trigger the reboot.

    I don't see why you think it wakes the computer. Not saying it doesn't but I can't understand why you think it does.

    Just for interest in case it is useful, S-1-5-18 is SECURITY_LOCAL_SYSTEM_RID (A special account used by the operating system) - see Well-known SIDs (Windows) It doesn't have a password.

    The C:\Windows\System32\Tasks\Microsoft\Windows\UpdateOrchestrator\Reboot object (on my PC) is owned by Administrators group with LOCAL SERVICE and Administrators having Read/Execute authority and SYSTEM having full control. You should be able to (and I can) change it if you are part of the Administrators group. You don't need the built in Administrator.

    What does powercfg /lastwake show anyway? Anything interesting?
    Last edited by lx07; 28 Nov 2017 at 07:20.
      My Computer


  2. Posts : 69
    Windows 10 v1607 Pro 64 bit
    Thread Starter
       #12

    Hi Ix07

    Reboot:
    Reply for "why you think it wakes the computer": I couldn't find anything else to check that I hadn't already checked. That is why I asked TenForums. I reasoned that Reboot was just a settings log (.txt) summary. I've been looking for check-boxes that have WakeToRun functionality such as mouse, keyboard and network adapter. Task Scheduler have a few.

    One of my basic computer boxes with just a power cable and monitor attached will wake from hibernate randomly; I have three Dell computers doing it. I've placed two into Shutdown. I couldn't find a virus. The older Dell GX620 with a clean installation of Windows 10 v 1709 from Microsoft's web site completed with Windows Updates and no 3rd Party software wakes randomly. I am working on a Dell 755 which is newer.

    powercfg /lastwake
    Nothing indicated... I've done wake timers and wake-armed.

    Shutdown
    Performs perfectly.
    Hibernate
    Wakes sporadically.

    Temporary conclusion: My computers are not compatible with Windows 10 V 1709.

    Puzzled.
    Edit Post script: I have a raw Windows 10 v 1709 without updates that I can run. My W10 v1709 with Updates wakes. I can see if it is an update. The Dell GX620 (Pentium 4) with most tasks disabled is blisteringly fast after the reduction (similar to the Dual Core) but wakes. I used Glary Utilities 5 to strip them out and also used the link below and did it manually:

    See link:

    Scheduled Tasks - Eliminating Most is a Good Thing - Windows 10 - MSFN
    Scheduled Tasks - Eliminating Most is a Good Thing - Windows 10 - MSFN

    It started with V1703..
    Last edited by SimonFastEddy; 30 Nov 2017 at 06:23.
      My Computer


  3. Posts : 69
    Windows 10 v1607 Pro 64 bit
    Thread Starter
       #13

    From SimonFastEddy... Work in progress:

    I've been stripping-out registry items; you will have to adjust permissions but it is easy from the registry in comparison to Task Scheduler.:
    LOCAL_MACHINE\SYSTEM\Control Set 001\Control\Ubpm

    This is the location of CriticalTask_UsoReboot
    It also locates other suspect items such as maintenance tasks. So far I've Deleted all the UpdateOrchestrator items and I am working through CriticalMaintenance items.

    I do a Restart each sweep-out...

    Outcome: The computer still wakes randomly. LOCAL_MACHINE is protected by Restore Points OK but take a System Image also if you care to participate in the trash-and-burn of Microsoft products.
    Temporary end...
      My Computer


  4. Posts : 11
    windows10
       #14

    psexec -s


    This just worked for me.

    Sysinternals is a super-powerful set of tools popular with sysadmins.

    In particular pstools https://docs.microsoft.com/en-us/sys...nloads/pstools

    In particular, one of those tools psexec

    Here's my command line:

    Code:
    :rem -accepteula prevents eula gui popup; yes, annoying
    :rem -s runs in system account (key to this whole thing)
    :rem -h elevated token (privileges) (don't need, but is often helpful)
    :rem -i open window on existing desktop / windows screen. this is a gui so need this
    psexec -accepteula -s -h -i %windir%\system32\mmc taskschd.msc /s
    This opened the Task Scheduler in a window on my screen running under the NT AUTHORITY\SYSTEM user.

    Then I was able to disable the \Microsoft\Windows\UpdateOrchestrator\Reboot task. (And set the trigger time for 2020)

    psexec exiting with error code 0 means success.

    (Be careful with this. You could damage things. Get out of it asap when you're done.)
      My Computer


  5. Posts : 11
    windows10
       #15

    UPDATE in [post #14] I detailed how I got SYSTEM account access to disable the UpdateOrchestrator\Reboot task.

    That was on 19 Mar. I could only postpone the reboot, via the official Microsoft Windows 10 GUI, for 5 days. Meaning I could postpone it til 25 Mar--which was yesterday. Now it is 26 Mar, one day after MS forced deadline, and my system has not rebooted I am happy to say!! And MS has not re-set my Reboot task to enabled. It still remains disabled.

    Now if I could just make some progress on taking back control of my online privacy...
      My Computer


  6. Posts : 11
    windows10
       #16

    11 days and counting


    UPDATE #2 of [post #14]:

    It's now 5 days past Microsoft's deadline, and I just got a notification. Clicking it opened Settings -> Update & Security -> Windows Update, and it says, and I quote:

    Restart required

    We couldn't find a good time to install updates outside
    of your active hours and need you to restart your device
    to finish up.
    They are telling me that I am winning. I like that.

    My UpdateOrchestrator\Reboot task is still disabled in task scheduler.

    So far so good.

    Here's a screen shot of the Settings WU window, 11 days after they prompted me to restart:

    In Windows 10 v1709 how do I get Task Scheduler Credentials to work?-i_am_winning.png
      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 00:45.
Find Us




Windows 10 Forums