What the permission for running task remotely?


  • Hi,

    I need to run a scheduled task on server remotely from a user's computer. Right it works with the account "test" which has the local administrator privilege when I run "schtasks /run /S server /U server\test /P password /I /TN Task" from the user's computer.

    But I do not want the user have the local admin privilege. Either hide the "Test" user name or password to have the user run or give the account "test" none local admin privilege. Either way works for me, but I don't know how to approach it. Need help!

    Thanks in advance! 


    4 พฤษภาคม 2561 0:28


  • Hi William,

    Thank you for your reply.

    I ran "schtasks /run /S server /U server\test /P password /I /TN Task" and got "Error: Access is denied. "

    User "test" has been granted "Log on as a batch job" user right. 

    If I grant "test" local admin privilege, it will be successful to run the command.

    I checked Event viewer and didn't see any error related to schtasks.

    May I know what detail error message you are looking for and where can I get it?

    Many thanks! 



    Please refer to the following article:

    If there is anything else we can do for you, please feel free to post in the forum.

    Best Regards,


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact

    • เสนอเป็นคำตอบโดย William LiangMicrosoft 20 พฤษภาคม 2561 2:26
    • ทำเครื่องหมายเป็นคำตอบโดย graceyin39 21 พฤษภาคม 2561 15:56
    16 พฤษภาคม 2561 2:29