This is the command i executed
schtasks /create /SC once /TN note /TR notepad /ST 17:00
WARNING: The Scheduled task "note" has been created, but may not run
because the account information could not be set.
What does that Warning mean.Why its not working?
According to Microsoft’s documentation the warning means that its not allowing it to run under the user permissions.
I would try using the user and password params and see if it runs then.