No permission to disable a task in Task Scheduler

Anonymous
2017-11-17T09:57:52+00:00

I was searching for a solution to my laptop starting by itself after going to sleep mode. I've read a possible solution is disabling "Reboot" task in "UpdateOrchestrator". Unfortunately, when I try to do this I get a message: 


Task Scheduler


The user account you are operating under does not have permission to disable this task.


OK   


I don't know how to get that permission. I opened Task Scheduler as administrator, also Control Panel\User Accounts\User Accounts\Manage Accounts says there is one user account and it's type is "Administrator".

I'm on the current version of Windows 10 (the newest Creator's Update or whatever it's called).

Windows for home | Windows 10 | Settings

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2018-03-13T19:46:31+00:00

I'm having the same problem and I see a solution has been found. Can you post a step by step guide?

First go here to download PsTools. Extract it to a folder on your desktop.

Open Start and type cmd. Right-click the program and choose to run as administrator.

Navigate to the folder where you extracted the tools by typing "cd C:\Users\Username\Desktop\Pstools", replace Username with your username and Pstools with the folder where you extracted the tools.

When you have navigated to the correct folder, copy the following command without the quotes: "psexec.exe -i -s %windir%\system32\mmc.exe /s taskschd.msc".

Open the command window and right click, choose paste. Press enter.

Navigate to Task Scheduler Library -> Microsoft -> Windows -> UpdateOrchestrator.

Right click the task called Reboot and click on Disable.

The task should now be disabled.

Was this answer helpful?

500+ people found this answer helpful.
0 comments No comments

42 additional answers

Sort by: Most helpful
  1. Anonymous
    2017-11-17T15:48:17+00:00

    You should check your handiwork with the previous command:

    cacls  "C:\Windows\System32\Tasks\Microsoft\Windows\UpdateOrchestrator"  > "%UserProfile%\Desktop\Perms.txt"

    It should show full access for Administrators and the System account.

    Before I posted I actually tested my method by granting full access to the System account only. This generated the error message you are confronted with.  Maybe these commands will do the trick:

    takeown /f c:\windows\System32\tasks  /r

    cacls  C:\Windows\System32\Tasks\Microsoft\Windows  /g everyone:f  system:f

    Was this answer helpful?

    8 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2017-11-17T12:19:58+00:00

    I went to C:\Windows\System32\Tasks\Microsoft\Windows\UpdateOrchestrator, went to "Reboot" file's properties > Security, it said I need Read permissions, I clicked Advanced, in Permissions selected Administrators, clicked Edit, checked "Full control", applied changes and I still cannot disable that task. I tried closing and reopening Task Scheduler.

    Was this answer helpful?

    6 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2018-09-12T09:43:02+00:00

    First go here to download PsTools. Extract it to a folder on your desktop.

    Open Start and type cmd. Right-click the program and choose to run as administrator.

    Navigate to the folder where you extracted the tools by typing "cd C:\Users\Username\Desktop\Pstools", replace Username with your username and Pstools with the folder where you extracted the tools.

    When you have navigated to the correct folder, copy the following command without the quotes: "psexec.exe -i -s %windir%\system32\mmc.exe /s taskschd.msc".

    Open the command window and right click, choose paste. Press enter.

    Navigate to Task Scheduler Library -> Microsoft -> Windows -> UpdateOrchestrator.

    Right click the task called Reboot and click on Disable.

    The task should now be disabled.

    After doing the above, you need to change the permissions on the file C:\Windows\System32\Tasks\Microsoft\Windows\UpdateOrchestrator\Reboot or Windows will re-enable the task.  Before you can change the permissions, you need to change the owner to Administrators, click OK, then you can edit the permissions and set each principle to just Read.

    After the Windows 10 Spring Creator's Update, the old trick of simply taking ownership of the file and registry entries, disabling the task and then making them read only wasn't working.  After taking ownership of the file and registry entries, I could not disable the task.  I was able to delete the file and registry entries to remove the task, but it kept coming back.  I did the above steps to disable it, but Windows would re-enable it until I took ownership of the file and set the permissions to only read.

    Was this answer helpful?

    5 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2018-01-11T02:11:31+00:00

    By the way,

    I have solved this problem by downloading PsExec here : https://docs.microsoft.com/en-us/sysinternals/downloads/psexec

    After unzipping the files, I opened a cmd window as Administrator, went in the directory with psexec.exe and ran the following command:

    psexec.exe -i -s %windir%\system32\taskschd.msc /s

    you will then be running the Task Scheduler with sufficient rights to disable the Reboot task and the other ones too.

    Hope this helps!

    Was this answer helpful?

    4 people found this answer helpful.
    0 comments No comments