tezz Posted September 16, 2011 Report Share Posted September 16, 2011 I use Task Scheduler to start a batch script which checks the HDD is on before it will start µTorrent but I get the following problem.I cannot add any torrentsI have to exit then restart µTorrent to be able to add torrents.Is this possibly because I use Task Scheduler to start µtorrent?Here's Task Schedulers .xml<?xml version="1.0" encoding="UTF-16"?><Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task"> <RegistrationInfo> <Date>2011-05-02T13:14:43.4336055</Date> <Author>?????\???</Author> <Description>Starts uTorrent at StartUp using the NoHDD=No Start script for uTorrent</Description> </RegistrationInfo> <Triggers> <LogonTrigger> <Enabled>true</Enabled> <Delay>PT3M</Delay> </LogonTrigger> </Triggers> <Principals> <Principal id="Author"> <UserId>??????\???</UserId> <LogonType>InteractiveToken</LogonType> <RunLevel>HighestAvailable</RunLevel> </Principal> </Principals> <Settings> <IdleSettings> <Duration>PT10M</Duration> <WaitTimeout>PT1H</WaitTimeout> <StopOnIdleEnd>true</StopOnIdleEnd> <RestartOnIdle>false</RestartOnIdle> </IdleSettings> <MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy> <DisallowStartIfOnBatteries>true</DisallowStartIfOnBatteries> <StopIfGoingOnBatteries>true</StopIfGoingOnBatteries> <AllowHardTerminate>false</AllowHardTerminate> <StartWhenAvailable>true</StartWhenAvailable> <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable> <AllowStartOnDemand>true</AllowStartOnDemand> <Enabled>true</Enabled> <Hidden>false</Hidden> <RunOnlyIfIdle>false</RunOnlyIfIdle> <WakeToRun>false</WakeToRun> <ExecutionTimeLimit>PT2M</ExecutionTimeLimit> <Priority>7</Priority> <RestartOnFailure> <Interval>PT1M</Interval> <Count>3</Count> </RestartOnFailure> </Settings> <Actions Context="Author"> <Exec> <Command>"C:\Program Files Not Installed\utorrent no HDD Script\utorrent no hdd script - modified.bat"</Command> </Exec> </Actions></Task>Here's the bat file it starts@echo offcolor 0aif exist J:\ goto :loadif not exist J:\ goto :na:loadstart /d"C:\Program Files\uTorrent" uTorrent.exeexit:namode con cols=52mode con lines=9CLSecho.echo.echo.echo "The Buffalo Ext' HDD is unavailable!"echo.echo "Reconnect & Start uTorrent"echo.pause >nul Link to comment Share on other sites More sharing options...
tezz Posted October 8, 2011 Author Report Share Posted October 8, 2011 Changed the RunLevel to LeastPrivilegeProblem sorted! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.