windows task scheduler problem..!!!

  • Thread starter Thread starter coolbuddyin
  • Start date Start date
  • Replies Replies 45
  • Views Views 9,558
could u specify how u connect to the net? i mean do u manually wake up at 2 and connect it or use a program or use the task scheduler to connect?if u use a program to connect tht could be your problem as mentioned earlier!! create a batch file with the code:rasdial "connection name" "username" "password"and use windows task scheduler to connectalso mention ur os version!!and dont use any scheduler programs as they coz a lot of headaches & end up as a waste of money!!
 
@essbebe the link u gave in last post is not proper,pls check it@ (-N-) i use batch file and windows task scheduler to connect at 2ami also use a batch for disconnecting at 1.57am(in case if i forgot to disconnect net,when i goto bed),it work fine whenever i leave net connected while going to bedmine windows xp pro sp2in first three days it worked fine,net got disconnected at morning with windows schedulersince then,i hav no luck with disconnection batch file, i'm using hibernate batch file to do worki tried rasdial "connection name" /disconnection rasdial /disconnectionrasdial "connection name" /d (as told in windows help)rasdial /d none of them workedeven i tried advance task shceduler for 2 days,it also didnt work,it shown as task was run,but didnt disconnectsomething is preventing windows rasdialer from disconnecting.!!! i dont know
 
@coolbuddyin Website requires login. I have reproduced the relevant post.Lost track of the thread. will search again later.
 
well couldnt u just make a batch file to close your progams & another batch file to shutdown your computer @8:00 so tht its totally failproof?
 
well couldnt u just make a batch file to close your progams & another batch file to shutdown your computer @8:00 so tht its totally failproof?

actually i'm hibernating at 7.59am
so right now in safe zone
 
coolbuddyin, I dont know if you solved this already but I think its the capitalization. In your Network Connections and in your batch file, name your connection in CAPITAL letters and use " " if you have spaces in your connection name. It should disconnect properly with windows task scheduler.

Incase anyone's searching for a command to check/uncheck windows firewall Dont Allow Exceptions checkbox on the general tab, its

netsh firewall set opmode enable disable checks it
netsh firewall set opmode enable enable unchecks it
 
Back