Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.



Windows 7: Task Scheduler Problem

24 May 2011   #1

Windows 7 Ultimate x64
 
 
Task Scheduler Problem

I am trying to run a program using Task Scheduler, but am having difficulty with it running when it should. I think the issues are to do with the network, so have tried all sorts of things to fix it.

The situation is that I have a task set up on each computer in the house which launches a the backup program which is located on the fileserver (so I can change the program as needed). The backup program is working fine when launched manually, but the problem seems to be either in the connection to the fileserver is not established, so the task fails - or that the permissions are not right to launch the program.

The fileserver and all computers are in the same homegroup, but it seems to be that unless I manually browse to a location on the fileserver the task fails to run.

The XML for the exported script is:
Code:
<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.3" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
  <RegistrationInfo>
    <Date>2011-04-18T15:31:02.5302734</Date>
    <Author>MAIN-PC\Paul</Author>
    <Description></Description>
  </RegistrationInfo>
  <Triggers>
    <LogonTrigger>
      <Repetition>
        <Interval>PT1H</Interval>
        <StopAtDurationEnd>false</StopAtDurationEnd>
      </Repetition>
      <Enabled>true</Enabled>
      <Delay>PT5M</Delay>
    </LogonTrigger>
  </Triggers>
  <Principals>
    <Principal id="Author">
      <UserId>MAIN-PC\Paul</UserId>
      <LogonType>S4U</LogonType>
      <RunLevel>HighestAvailable</RunLevel>
    </Principal>
  </Principals>
  <Settings>
    <MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
    <DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries>
    <StopIfGoingOnBatteries>true</StopIfGoingOnBatteries>
    <AllowHardTerminate>false</AllowHardTerminate>
    <StartWhenAvailable>false</StartWhenAvailable>
    <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
    <IdleSettings>
      <StopOnIdleEnd>true</StopOnIdleEnd>
      <RestartOnIdle>false</RestartOnIdle>
    </IdleSettings>
    <AllowStartOnDemand>true</AllowStartOnDemand>
    <Enabled>true</Enabled>
    <Hidden>false</Hidden>
    <RunOnlyIfIdle>false</RunOnlyIfIdle>
    <DisallowStartOnRemoteAppSession>false</DisallowStartOnRemoteAppSession>
    <UseUnifiedSchedulingEngine>false</UseUnifiedSchedulingEngine>
    <WakeToRun>false</WakeToRun>
    <ExecutionTimeLimit>PT0S</ExecutionTimeLimit>
    <Priority>7</Priority>
  </Settings>
  <Actions Context="Author">
    <Exec>
      <Command>"\\8-SERVER\00. Backup\_Scripts\BackUp.exe"</Command>
    </Exec>
  </Actions>
</Task>
The option to not store the password for the user is ticked as some of the users do not have passwords set, but I have also tried doing this using the HomeUsers account, Guest account etc.

Can anyone spot where I have gone wrong?

My System SpecsSystem Spec
.

Reply

 Task Scheduler Problem





Thread Tools



Similar help and support threads for2: Task Scheduler Problem
Thread Forum
Strange Task Scheduler/Extender problem Media Center
Problem With win7 task scheduler General Discussion
Win7 Task Scheduler problem General Discussion
Task Scheduler problem - won´t login automatically General Discussion
Task Scheduler problem General Discussion
Task Scheduler problem Performance & Maintenance
Task scheduler problem General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 07:13 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33