Despite the “Hidden” box being checked in the Scheduled Task properties, tasks which would natively produce a interface box (regardless of whether user input is required) – such as a batch script – can still appear as a window on your desktop. For tasks where no user input is required, this can be quite annoying, but thankfully there is an easy fix for this.
The key to making this window not appear is to configure the task to “Run whether user is logged on or not” in the task’s properties.
After switching to this option, you will have to enter the appropriate credentials since the task will now run unattended.
That’s it. Leaving all other options the same and simply changing how the tasks runs as the respective user is you need to do.