• Status: Solved
  • Priority: High
  • Security: Public
  • Views: 122
  • Last Modified:

Schedule a future task

Dear Experts, how can we schedule a task which will be executed in future on WinServer 2012R2?

For example:

On 1/1/2020; create a GPO to change background of domain users' PCs

Does Anyone have experience?
0
Tjno
Asked:
Tjno
  • 2
  • 2
2 Solutions
 
Shaun VermaakTechnical Specialist/DeveloperCommented:
It will be more suitable to use WMI filter with a GPO to achieve this for example:
Select DayOfWeek from Win32_LocalTime where DayOfWeek = 2

Open in new window

0
 
SunilTechnical Specialist - Wintel Operations.Commented:
You can always use the Scheduled task from the GPO Preferences to create a job.
0
 
McKnifeCommented:
Tasks that create GPOs? Would be more sensible to create the GPO now, disable the link and activate it when needed, see https://www.experts-exchange.com/articles/25379/Make-GPOs-work-timebound.html
0
 
Shaun VermaakTechnical Specialist/DeveloperCommented:
Sunil is referring to GPO scheduled task preferences
1
 
McKnifeCommented:
Author abandoned.
In my eyes, it seems much more flexible to use the way I outlined instead of using simple WMI filtering.
What Sunil wrote would mean: create a task that uses commands to create a GPO - not very easy, since the syntax is complicated and not advisable in my opinion. Others, please feel free to change this selection.

Author, feel free to close your question and give feedback.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Network Scalability - Handle Complex Environments

Monitor your entire network from a single platform. Free 30 Day Trial Now!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now