The user account you are operating under does not have permission...

Discussion in 'Windows 10' started by RanCorX2, Jan 4, 2017.

  1. RanCorX2

    RanCorX2 MDL Addicted

    Joined:
    Jul 19, 2009
    Messages:
    927
    Likes Received:
    492
    Trophy Points:
    30
    The user account you are operating under does not have permission to disable this task

    this is something that's been bugging me since windows 8, is it possible to disable tasks that give you the above msg?

    already changes permissions for;

    c:\windows\system32\tasks

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tasks

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Microsoft\Windows

    never did find a solution, but never asked on here before.
     
  2. abbodi1406

    abbodi1406 MDL KB0000001

    Joined:
    Feb 19, 2011
    Messages:
    12,067
    Likes Received:
    55,424
    Trophy Points:
    340
    #2 abbodi1406, Jan 4, 2017
    Last edited by a moderator: Apr 20, 2017
    Change the permissions on tasks files, not registry
    i.e.
    Code:
    takeown /f "C:\Windows\System32\Tasks\Microsoft\Windows\SettingSync\BackgroundUploadTask" /A
    icacls "C:\Windows\System32\Tasks\Microsoft\Windows\SettingSync\BackgroundUploadTask" /grant *S-1-5-32-544:F
    schtasks /Change /TN "\Microsoft\Windows\SettingSync\BackgroundUploadTask" /DISABLE
    or just lanuch taskschd.msc with system privileges
     
  3. LatinMcG

    LatinMcG Bios Borker

    Joined:
    Feb 27, 2011
    Messages:
    5,710
    Likes Received:
    1,594
    Trophy Points:
    180
    run control userpasswords2
    member of users and administrators?
    select at bottom other: then click admin.
    had similar issue on win 8 other day

    u can also try windows repair portable
     
  4. RanCorX2

    RanCorX2 MDL Addicted

    Joined:
    Jul 19, 2009
    Messages:
    927
    Likes Received:
    492
    Trophy Points:
    30
    #4 RanCorX2, Jan 4, 2017
    Last edited by a moderator: Apr 20, 2017
    (OP)
    didn't work, ERROR: Access is denied on the disable line
     
  5. LiteOS

    LiteOS MDL Expert

    Joined:
    Mar 7, 2014
    Messages:
    1,893
    Likes Received:
    814
    Trophy Points:
    60
    run autoruns as TI
     
  6. abbodi1406

    abbodi1406 MDL KB0000001

    Joined:
    Feb 19, 2011
    Messages:
    12,067
    Likes Received:
    55,424
    Trophy Points:
    340
    #6 abbodi1406, Jan 4, 2017
    Last edited by a moderator: Apr 20, 2017
    Did you run cmd as admin?
    Code:
    takeown /f "C:\Windows\System32\Tasks\Microsoft\Windows\SettingSync\BackgroundUploadTask" /A
    SUCCESS: The file (or folder): "C:\Windows\System32\Tasks\Microsoft\Windows\SettingSync\BackgroundUploadTask" now owned by the administrators group.
    
    icacls "C:\Windows\System32\Tasks\Microsoft\Windows\SettingSync\BackgroundUploadTask" /grant *S-1-5-32-544:F
    processed file: C:\Windows\System32\Tasks\Microsoft\Windows\SettingSync\BackgroundUploadTask
    Successfully processed 1 files; Failed processing 0 files
    
    schtasks /Change /TN "\Microsoft\Windows\SettingSync\BackgroundUploadTask" /DISABLE
    INFO: Scheduled task "\Microsoft\Windows\SettingSync\BackgroundUploadTask" has already been disabled.
    SUCCESS: The parameters of scheduled task "\Microsoft\Windows\SettingSync\BackgroundUploadTask" have been changed.
     
  7. RanCorX2

    RanCorX2 MDL Addicted

    Joined:
    Jul 19, 2009
    Messages:
    927
    Likes Received:
    492
    Trophy Points:
    30
    autoruns worked, so thanks for that tip.
     
  8. PolDan

    PolDan MDL Novice

    Joined:
    Aug 11, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
  9. endbase

    endbase MDL Guru

    Joined:
    Aug 12, 2012
    Messages:
    4,522
    Likes Received:
    1,602
    Trophy Points:
    150
    I think trusted installer
     
  10. s1ave77

    s1ave77 Has left at his own request

    Joined:
    Aug 15, 2012
    Messages:
    16,130
    Likes Received:
    24,279
    Trophy Points:
    340
  11. PolDan

    PolDan MDL Novice

    Joined:
    Aug 11, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    ok. thanks.
     
  12. Kuantum Freak

    Kuantum Freak MDL Junior Member

    Joined:
    Mar 30, 2015
    Messages:
    99
    Likes Received:
    16
    Trophy Points:
    0
    How do you run a command as Trusted Installer (TI)? A quick google only shows methods involving installing/downloading 3rd party programs.
     
  13. Tiger-1

    Tiger-1 MDL Guru

    Joined:
    Oct 18, 2014
    Messages:
    6,208
    Likes Received:
    7,533
    Trophy Points:
    210
    ^^
    search dude I'm sure that you can find here only search ;)
     
  14. abbodi1406

    abbodi1406 MDL KB0000001

    Joined:
    Feb 19, 2011
    Messages:
    12,067
    Likes Received:
    55,424
    Trophy Points:
    340
  15. Kuantum Freak

    Kuantum Freak MDL Junior Member

    Joined:
    Mar 30, 2015
    Messages:
    99
    Likes Received:
    16
    Trophy Points:
    0