使用从映像创建的VM的任务计划程序时出现问题。 [英] Problem when using the Task Scheduler of a VM created from an Image.

查看:82
本文介绍了使用从映像创建的VM的任务计划程序时出现问题。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用图像作为基础从C#SDK创建VM。在此图像中,我在任务计划程序中定义了一个任务,其功能是在计算机打开后立即运行预定义的可执行文件。问题是它没有运行任务,我相信
是因为链接到它的用户,它是生成图像的另一台机器的用户。



有没有人知道如何解决这个问题或创建一些有权访问我资源中创建的所有Vm的用户?

I am creating VMs from the C # SDK, using an image as a base. In this image I had defined a task in the Task Scheduler, its function is as soon as the machine is turned on, run a pre-defined executable. The problem is that it is not running the task, I believe it is because of the user linked to it, that it was a user of the other machine on which the image was generated.

Does anyone know how to escape this problem or create some user who has access to all the Vm's created in my resources?

打印:  https://prnt.sc/ngboao

Print of: https://prnt.sc/ngboao

推荐答案

您好,

您可以使用单个用户执行可以访问所有服务器的此任务的唯一方法是使用域用户。 但为此,所有虚拟机都需要在域上。 那么该用户的权限将取决于任务尝试
的实现。

The only way you would be able to use a single user for this task that has access to all servers is to use a domain user.  But for this, all VMs would need to be on a domain.  Then permissions for that user would depend on what the task is trying to achieve.

或者您可以在每台需要该任务的计算机上设置本地系统用户,而不是一台用户是否全部运行?

Or you can set a local system user on each machine that needs the task, rather than one user to run them all?

谢谢,

Matt


这篇关于使用从映像创建的VM的任务计划程序时出现问题。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆