Share via


Possibly to disable a W10 Scheduled task using Registry edit or group policy?

Question

Thursday, July 18, 2019 3:15 PM

Is it possible to disable a W10 Scheduled task using Registry edit or group policy?

I want to be able to do this remotely to a few machines, so opening a console and righ-clicking and selecting "disable" is not an option. thanks.

I'd prefer to disable rather than delete, so the task could be re-enabled when required.

All replies (4)

Thursday, July 18, 2019 3:38 PM | 1 vote

I don't think you can do it with registry or GPO. The schtasks command line tool might do what you want though:

schtasks /change /tn "Name of task" /disable


Friday, July 19, 2019 6:04 AM | 1 vote

Hi,

You could try to disable it by powershell: 

Disable-ScheduledTask -TaskName "taskname"

Best regards,

Yilia 

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].


Friday, July 19, 2019 2:36 PM

Thanks. I was thinking i’d Have to use a command, batch or powershell.


Monday, July 22, 2019 7:58 AM

Hi,

Thanks for your reply. 

If you have any problems or concerns, please feel free to post here. 

Best regards,

Yilia

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].