Jump to content
Sign in to follow this  
djsilver666666

Run task minimized/hidden in windows Task Scheduler

Recommended Posts

Thought I would share this because of all the wrong/insecure solutions that I found when trying to Google the problem.

 

My problem: I want to run a python script every 30 minutes, but I don't want the cmd window to pop up and interrupt me every 30 minutes.

 

Solution: In the task creation window, check "Run whether the user is logged on or not" and optionally try checking "Do not store password. The task will only have access to local computer resources." Run your task manually and make sure it works (be aware, absolutely no window will pop open, so you'll have to be able to check disk changes or the process list to make sure it started and is working). If your task does not work, then try unchecking the "Do not store password." box and trying again.

 

My script worked without needing to store the password.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×