We help IT Professionals succeed at work.
Get Started

GPO Scheduled Task - Taskkill

js0873x
js0873x asked
on
544 Views
Last Modified: 2017-11-26
I want to deploy a group policy to run a scheduled task at 9 PM each night to run a taskkill command. I only need it executed if the user is logged on, and I'd prefer to not have to enter credentials for the command that might change later, even though that's not as big a deal. I've had a devil of a time getting it to deploy, using either user configuration or computer configuration. Basically, I can't get anything to work so far. I only want it to run based on the user logged in, not at a whole machine level. What's the proper way of getting a command scheduled for users that I've added to a security group to run this command at a certain time?

BTW, I've noticed that whenever I establish a time in in AD it puts it one hour ahead of the time I specified, even though I see nothing at the server level that has inconsistencies with DST or the like.
Comment
Watch Question
IT Specialist
Commented:
This problem has been solved!
Unlock 1 Answer and 8 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE