Disabling protected tasks in TaskSchd.msc...?  

  1. Posts : 107

    Disabling protected tasks in TaskSchd.msc...?

    How can I disable certain tasks in Taskschd.msc that return the following error message when I try to disable..?

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

    I'm already logged in as an Administrator...

    For some reason I can't get PSEXEC to work:

    "Error establishing communication with PsExec service on <PC-NAME>:The system cannot find the path specified."

    It might be that I don't have the right services enabled or maybe SMB client is uninstalled or maybe lmhosts is unchecked or maybe netbios is disabled. Please provide a step-by-step guide to all PSEXEC's requirements if this is your solution...

    P.S. I'd much rather receive a solution that doesn't depend on PSEXEC.
      My Computer

  2. Posts : 107
    Thread Starter

    Bump... anyone have any ideas or able to reproduce this condition on their machine(s)?

    Specifically to do with editing the restricted tasks WITHOUT PSEXEC in order to allow enabling/disabling/configuring of the restricted tasks.
      My Computer

  3. Posts : 15,965
    Windows 10 Home x64 Version 22H2 Build 19045.3448

    You have not said which Tasks you are working on but it is often possible to disable a Task's Triggers even though you cannot disable the Task itself.

    Updates are going to reset your changes at some stage however you do them.

      My Computer

  4. Posts : 1,585
    Windows 10 Pro (+ Windows 10 Home VMs for testing)

    The problem is that taskschd.msc runs within the Microsoft Management Console (mmc.exe) host using the logged-on user context even if you use Run as Administrator. You can see this if you use something like Sysinternals/Technet's Process Explorer:
    Disabling protected tasks in TaskSchd.msc...?-task_scheduler_as_admin01.png

    I suspect you need to run the MMC host as System (or even TrustedInstaller). Try using AprelTech's free, portable RunAsSystem:
    Disabling protected tasks in TaskSchd.msc...?-task_scheduler_as_admin02.png

    When the MMC opens, add Task Scheduler as a snap-in. As the MMC host is running as System, so will the snap-in:
    Disabling protected tasks in TaskSchd.msc...?-task_scheduler_as_admin03.png

    Hope this helps... (and it goes without saying to be careful )
      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 15:38.
Find Us

Windows 10 Forums