[SOLVED] "access is denied" when batch file runs task remotely | 您所在的位置:网站首页 › win10任务栏如何隐藏图标 › [SOLVED] "access is denied" when batch file runs task remotely |
I'm trying to write a batch file that will allow users to trigger a scheduled task on a remote server so they don't have to log in directly (and mess up my precious) the main part of the script is: schtasks /Run /S servername /u [%usern%] /P [%password%] /TN "Task Name Here" However, when I run the batch I get "ERROR: Access is denied" user/pass I'm using with it is set as an administrator on the remote server, anyone encountered this before or have any advice? |
CopyRight 2018-2019 实验室设备网 版权所有 |