[SOLVED] "access is denied" when batch file runs task remotely 您所在的位置:网站首页 win10任务栏如何隐藏图标 [SOLVED] "access is denied" when batch file runs task remotely

[SOLVED] "access is denied" when batch file runs task remotely

#[SOLVED] "access is denied" when batch file runs task remotely| 来源: 网络整理| 查看: 265

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 实验室设备网 版权所有