Home » Questions » Computers [ Ask a new question ]

How do you set the Scheduled Tasks "Run only if logged in" option from the command line?

How do you set the Scheduled Tasks "Run only if logged in" option from the command line?

I want to create some tasks with the "Run only if logged in" option set, but using a batch file, as you can in the user interface version of the schtasks.exe tool.

Asked by: Guest | Views: 139
Total answers/comments: 1
Guest [Entry]

If you're brave, you could modify the .job file directly, it's a single byte that you change from 0x00 to 0x20 by the looks of things, you'll find the file in %windir%\tasks