How to execute a scheduled task with "schtasks" without opening a new command line window?
Fresh3 days ago
Mar 15, 202631130 viewsConfidence Score0%
0%
Problem
I have a batch file that creates a scheduled task using like this: It works OK except the fact that when is executed - a new command line window is opened (and closed after execution). I would like to avoid opening this new window (i.e. to run the task in quiet mode, in the background). I thought t…
Error Output
schtasks /create /tn my_task_name
/tr "...\my_path\my_task.bat"
/sc daily
/st 10:00:00
…Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How to execute a scheduled task with "schtasks" without opening a new command line window?
Low Risk
I believe you're seeing the box because the account you set to run it as is your own. Try either of these: 1: Run the task as the user NT Authority\System 2: Make a new account and set the task to run with its credentials
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix