PsShutdown no Agendador de Tarefas do Windows 7

1

Eu tento usar PsShutdown para agendar a suspensão tardia, reiniciar e etc na máquina com o Windows 7 .

Para executar o comando manualmente, tenho que abrir a janela de comando como Administrador primeiro. Então, como posso fazer isso em Task Scheduler ?

    
por hardywang 22.03.2015 / 14:10

1 resposta

1

Como executo o comando como Administrador no Agendador de Tarefas?

Na "Criar tarefa" > Caixa de diálogo "Geral", você tem a opção de selecionar a conta de usuário usada para executar a tarefa ("Alterar usuário ou grupo").

Você também pode querer ativar "Executar com privilégios mais altos".

Criando uma tarefa com a exibição de detalhes

Once you already know what you are doing, there’s no reason to go through a wizard to create a new task (unless you really like them). Instead, you can just create a new task and fill out the sections with the settings that you want – and naturally, there are more settings available this way.

enter image description here

User account allows you to specify which user this task is going to run as. If you want the task to interact with the desktop, you’re going to probably want to use your own user account, which is the default. If you specify the SYSTEM account, you won’t want to save a password.

...

Run with highest privileges – this option essentially gives the task administrator privileges the same way the User Account Control (UAC) prompt would do it. If you plan to use this for administrative purposes, you will probably want to enable this option.

Fonte Usando o Agendador de Tarefas para executar processos mais tarde

    
por 22.03.2015 / 14:23