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

    Jul 19, 2009
    878
    440
    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

    Feb 19, 2011
    8,066
    26,829
    270
    #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

    Feb 27, 2011
    5,431
    1,486
    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

    Jul 19, 2009
    878
    440
    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

    Mar 7, 2014
    1,509
    641
    60
    run autoruns as TI
     
  6. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    8,066
    26,829
    270
    #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

    Jul 19, 2009
    878
    440
    30
    autoruns worked, so thanks for that tip.
     
  8. PolDan

    PolDan MDL Novice

    Aug 11, 2017
    2
    0
    0
  9. endbase

    endbase MDL Guru

    Aug 12, 2012
    3,896
    1,182
    120
    I think trusted installer
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. s1ave77

    s1ave77 MDL Guide Dog/Dev

    Aug 15, 2012
    15,315
    21,173
    340
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. PolDan

    PolDan MDL Novice

    Aug 11, 2017
    2
    0
    0
    ok. thanks.
     
  12. Kuantum Freak

    Kuantum Freak MDL Junior Member

    Mar 30, 2015
    99
    16
    0
    How do you run a command as Trusted Installer (TI)? A quick google only shows methods involving installing/downloading 3rd party programs.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    3,733
    4,020
    120
    ^^
    search dude I'm sure that you can find here only search ;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    8,066
    26,829
    270
  15. Kuantum Freak

    Kuantum Freak MDL Junior Member

    Mar 30, 2015
    99
    16
    0
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...