A
A
Aborigen10202018-11-29 09:24:27
Active Directory
Aborigen1020, 2018-11-29 09:24:27

How to manage scheduled tasks with GP?

Hello!
I perform a task of the following kind:
I delete some software on a group of PCs and install a new one.
Wrote a batch file, fulfills, everything is OK.
I distribute this batch file to a group in AD using the Task Scheduler. The task is assigned, the script works.
But how then to delete this task? Create a new policy, in which you will need to specify the action for the task scheduler: "Delete", and in the command write schtasks /DELETE /TN namе?
And how then to delete this task?
I know about the duration of the task, but I don't want to produce an infinite amount of tasks on the client machine. Maybe there is some nuance that I did not notice?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question