gendouhydeist Posted December 1, 2007 Report Posted December 1, 2007 this is important because of /HIDE command and sometimes I always forgot to close utorrent when shutting down my computer this causes to Re-Check torrents files when shutdown improperly or accidentally..
Firon Posted December 1, 2007 Report Posted December 1, 2007 It does try to shutdown normally. Turn on bt.graceful_shutdown.Windows might still kill the process anyway, if it's taking too long to close.
ajones81 Posted December 2, 2007 Report Posted December 2, 2007 http://forum.utorrent.com/viewtopic.php?id=26438
gendouhydeist Posted December 2, 2007 Author Report Posted December 2, 2007 i just found out the solution:1) Start - Run - RegeditNavigate to the following Registry key:HKEY CURRENT USER\Control Panel\DesktopDouble click on the AutoEndTasks entry and replace the 1 with a 0 in the Value data text boxFor the next two, if the dword value indicated does not exist, create it:Double click on the WaitToKillAppTimeout entry in the right pane and change the Value data to 2000Double click on the HungAppTimeout entry in the right pane and change the Value data to 1000RebootIf still having a problem, make the next change:2) HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\ControlRight-click on WaitToKillServiceTimeout and change it to 2000NOTE: The lowest value Windows will recognize is 1000 (1 second)ADVISORY: While rare, the "WaitToKillService" tweak can cause problems. If an application is in the process of saving data and the associated service is stopped prematurely, the data will not be saved and may be lost. (Tweak, Note and Advisory from Forum Admin) Note: Change the "value" desire setting
Ultima Posted December 3, 2007 Report Posted December 3, 2007 That's not really the solution... It'll more likely force an ungraceful shutdown than not, which is a bad thing.
gendouhydeist Posted December 3, 2007 Author Report Posted December 3, 2007 Note: Change the "value" desire settingWaitToKillAppTimeout = 10000 (10s)HungAppTimeout = 10000 (10s)its depends on you on how long windows gonna wait to kill the app
ajones81 Posted December 3, 2007 Report Posted December 3, 2007 Is there a Win API call that a program can use to tell Windows to delay shutdown till an event occurs?
Ultima Posted December 4, 2007 Report Posted December 4, 2007 Doubtful, since that would be abused to the point where Windows might simply never shut down.
gendouhydeist Posted December 6, 2007 Author Report Posted December 6, 2007 Doubtful, since that would be abused to the point where Windows might simply never shut down.ive tried it works perfectlyAutoEndTasks 0WaitToKillAppTimeout 20000 HungAppTimeout 20000
looka Posted December 6, 2007 Report Posted December 6, 2007 is there any option to closes utorrent via batch file, but i would not like to kill it... some parameter perhaps? utorrent -x ?
Ultima Posted December 7, 2007 Report Posted December 7, 2007 @gendouhydeist: I was responding to ajones81's question, which was entirely unrelated to what you're pushing.
looka Posted December 7, 2007 Report Posted December 7, 2007 okay, i figures out this bat will do. i thought if i kill torrent than at next startup it will have to recheck all unfinished torrents. thank you!
gendouhydeist Posted December 7, 2007 Author Report Posted December 7, 2007 ooppsss sorry, well my english understanding wasn't good enough.. my mistake
Recommended Posts
Archived
This topic is now archived and is closed to further replies.