Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

script that will temporarily disable scheduled tasks?

- - - - -

  • Please log in to reply
3 replies to this topic

#1
eyeball

eyeball

    Have you tried turning it off and on again?

  • Member
  • PipPipPipPipPipPip
  • 1,150 posts
  • Joined 28-October 05
hi all,

i have a load of scheduled tasks on my pc and if im running a virtual pc (or 2 or even 3) i dont really want my scheduled tasks to kick in, in the middle of it all.

so does anyone know if it possible to make a script that i can run which will temporarily disable scheduled tasks? and then afterwards i could run a script to re-enable scheduled tasks?

if anyone could help that would be great

thank you


How to remove advertisement from MSFN

#2
eyeball

eyeball

    Have you tried turning it off and on again?

  • Member
  • PipPipPipPipPipPip
  • 1,150 posts
  • Joined 28-October 05
sorry all, iv got it it was so simple lol - just disable the task scheduler service and re-enable it when im done lol

thanks

#3
djone21

djone21

    Newbie

  • Member
  • 13 posts
  • Joined 07-November 05
i doubt you can do that with a script... but you never know

#4
eyeball

eyeball

    Have you tried turning it off and on again?

  • Member
  • PipPipPipPipPipPip
  • 1,150 posts
  • Joined 28-October 05
net stop "task scheduler" does the job fine :)

and then net start to restart it




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users