Schtasks in windows 7

#1
Hi,
i am tried to creat schtasks in windows 7 but the task is not popup at scheduled task time.
command is:
schtasks /create /tn prabhu /tr notepad.exe /sc once /sd 5/2/2011 /st 10:00:00 /ru prabhukumara /rp prabhu

can anyone please help me, how to create schtasks in windows 7. the above command works fine in windows XP.
And to run schtasks administrator permission is nessessary or any user can run the task.
 


Saltgrass

Excellent Member
Microsoft Community Contributor
#2
If you type task in the start menu search box, does Task Scheduler show up? Have you tried creating a task that way?

Sorry, but I do not know the command line entries for creating tasks.
 


#3
yes i tried. it's showing the task is irunning. i tried with one command without giving the run username and password that works fine
command is
schtasks /create /sc once /tn abc /tr notepad /st 14:30 /sd 05/10/2011
this command popup the notepad at the scheduled time.
 


This website is not affiliated, owned, or endorsed by Microsoft Corporation. It is a member of the Microsoft Partner Program.