I used:
schtasks /create /sc minute /tn test1 /tr "C:\Users\SOURAV\Desktop\beautiful_text.bat" /mo 1 /ru ""
It created the scheduled task but not with highest privilege. Moreover there were restrictions like 'only run the task when plugged into AC power' etc.
My question is how can I achieve the same things via command prompt as we can do via GUI?
Another answer in stackoverflow said that it is not possible to achieve all taskes via command prompt as in GUI. But I saw that Opera browser/Google drive automatically created scheduled task in task scheduler and their tasks run with highest privilege. [see image link below]
http://i.stack.imgur.com/7l1NR.png
Can anyone explain all this things?
Thank you. :)