Use Scheduled Task for SyncToy 2.1 to discontinuous network storage

I am sorry but I have absolutely no understanding of scripting and I need help with the following please.
Currently I manually run SyncToy 2.1 to work when I have my NAS available ( switched on).  Is there a way I can use Task Scheduler to automatically run SyncToy when the NAS is
available.  I appreciate that if it was always on this would be simple but I do not wish to run the NAS 24/7 for a number of reasons. but mostly the power usage for a seldom need resource.  I'm a home user syncing mainly media files for backup.
I would really appreciate some help with this!
As an aside, I note that it really does not pay to use SyncToy 2.1, whichever action, and to have too large a folder pair, it pays to select smaller folders than a Partition or a major folder like a complete (large) Music collection.

http://www.howtogeek.com/howto/25046/schedule-synctoy-to-run-automatically-with-task-scheduler-in-windows-7/
The following article has some excellent information on how to setup synctoy. Pay close attention to the conditions when synctoy stops:
in the Properties dialog, the Conditions tab lets you choose whether or not to run this task when your computer is running on battery power if you’re using a laptop/netbook.  By default it will only run when on AC
power, but you can uncheck the box if you’d rather it sync even if you’re on battery.
Keep my updated on if these steps help
Don't forget to mark the post that solved your issue as "Answered." By marking the Answer you are enabling users with similar issues to find what helped you. Lewis Renwick - IT Professional

Similar Messages

  • How to use schedule task for execute my java file

    I have five java file.
    I want every 20 minutes all of them executed.
    how to write the program for scheduling that execution.

    > I have five java file.
    I want every 20 minutes all of them executed.
    how to write the program for scheduling that
    execution.
    I recommend using an external application (e.g., Task Scheduler, cron, etc.) to handle this kind of scheduling.
    ~

  • Using Automator for scheduled tasks for my media folder.

    Anyone with automator experience that are able to help me set up a scheduled task for my media folder, using for example iCal?
    I have 2 programs for cleaning and adding metadata for my media folder:
    iFlicks and iDentify.
    And I want them to scheduled clean new files in my folder. iFlicks first, and iDentify next.
    Complicated? Doable?

    If you are not too keen on running those commands you might want to try http://www.igetter.net/iGetter.html This download manager seems to allow the scheduled downloading that you need. I think you would have to go to the Apple site and find the url for the standalone updaters to find the link after Software Update identifies them. Then use this program to schedule the downloads. Sometimes those seem more stable anyway.
    The program us shareware. It appears from the description that the program remains fully functional but puts up a nag screen if the program has not been registered.

  • Windows Server 2008 R2 GPO schedule task for copying folders

    Dear spicers,I have spend many hours trying to get my gpo working to sync a fewshared networkfolders with office templates to users default office 2010 template location.I created a user conf gpo: preferences\control panel settings\schedule tasks\Action: UpdateName: Mirror FoldersRun: \\dfsname\netlogon\scrips\RobocopyScript.cmdMarked: Enable (scedule task runs at specific time)schedule taks: At system startup Starttime: 8:00:00Advanced: everything unmarkedTab settings: everything unmarkedTab common: Marked Run in logged-on users....Script: robocopy "\\dfslocation\public\Prog\Documentsjablonen\Office" "C:\users\%username%\AppData\Roaming\Microsoft\Sjablonen" /MIR /R:10 /W:30 Is there anyone who is able to help me out please. I have read many topics on the internet etc. When I run the script local it is working.Thanks in advance.Kind...
    This topic first appeared in the Spiceworks Community

    Thank you for your help with this but I was able to get it resolved using these steps.
    Here is the fix that worked for me.
    Start > Run > regedit
    Navigate to HKLM\SOFTWARE\MICROSOFT\RPC\INTERNET 
    Export this key to back it up first, then delete the whole Internet key (and it's sub-keys). 
    Reboot your system
    Task Scheduler should now work.
     https://social.technet.microsoft.com/Forums/windows/en-US/0c438376-1486-4ae4-9847-2de7a8767f27/task-scheduler-service-has-encountered-rpc-initialization-error-in?forum=itprovistasp

  • How to use scheduled agent for query in database

    Hi there I'm working with database on my app and when use the query for search in the database the application freeze for a maximum of one minute I want change that why I want what runs ok and I wonder if I can use a background agent for do that manage
    the queries .
    But I don't know how can I call the queries from the other project if the files are in the main project.

    Hi OzkarLeo,
    Background task provides functionality to do work when your app not in foreground, it need some conditions to trigger.
    https://msdn.microsoft.com/en-us/library/windows/apps/xaml/Hh977056(v=win.10).aspx. If you need scheduled query when app is active in foreground, then it’s no need to use background task.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate
    the survey.

  • How to make Robocopy run in the foreground using Scheduled Tasks

    Hello everyone! 
    I am doing a daily backup using Robocopy and Scheduled Tasks running Windows 2012 Server. When it runs, robocopy runs in the background and does not write to log that I am pointing to. How can I make it run in the foreground? Also, is there anyway to write to log only those records that have been copied or purged? what are the best practices for robocopy use?
    Here is the script:
    date /t >> log.txt
    time /t >> log.txt
    ROBOCOPY \\CENTURY1\d$\ f:\  /MIR /R:0 
    time /t >> log.txt
    This topic first appeared in the Spiceworks Community

    Hello everyone! 
    I am doing a daily backup using Robocopy and Scheduled Tasks running Windows 2012 Server. When it runs, robocopy runs in the background and does not write to log that I am pointing to. How can I make it run in the foreground? Also, is there anyway to write to log only those records that have been copied or purged? what are the best practices for robocopy use?
    Here is the script:
    date /t >> log.txt
    time /t >> log.txt
    ROBOCOPY \\CENTURY1\d$\ f:\  /MIR /R:0 
    time /t >> log.txt
    This topic first appeared in the Spiceworks Community

  • Scheduled Task for Exchange Management Shell is not working

    I am using a command in exchange management shell to get some information of mailbox users.
    When I run it form the exchange management shell it works fine without any issues. However when I schedule it using the Task Scheduler it doesn't work and the Last Run Result output is 0X1.
    The General settings are Run Whether user is logged on or not and Run with Highest Privileges.
    Please note that I have not saved the command. I have directly added it in the Add arguments field.
    Please help.

    Hi,
    For Windows Task related issues, I suggest we post it on Windows Server forum:
    http://social.microsoft.com/Forums/en-US/home?category=windowshomeserver
    Thanks,
    Simon Wu
    TechNet Community Support

  • Variable text is blank in emails when using Scheduled Task to email event log notifications

    I am trying to use powershell to email notification when a user account gets locked.  I am running the script from a server 2008 domain controller.
    I have tried multiple scripts and I have the same issue every time.  The script works fine when I run it directly from the powershell command line window.
    However whenever I try running the exact same scripts from an event-triggered scheduled task, the script runs, however any content that generated from a variable is not added to the email.  It is just left blank and ignored.
    I have tried adding lots of permissions including domain administrator group membership to the account  runs the task from and it doesn't include all the expected text unless I run it from the built-in domain administrator account.
    The task runs and the email is sent, but the email is missing all the content generated by variables.
    How can this be fixed?
    Here is an example script.
    $AccountLockOutEvent = Get-EventLog -LogName "Security" -InstanceID 4740 -Newest 1
    $LockedAccount = $($AccountLockOutEvent.ReplacementStrings[0])
    $AccountLockOutEventTime = $AccountLockOutEvent.TimeGenerated
    $AccountLockOutEventMessage = $AccountLockOutEvent.Message
    $messageParameters = @{ 
    Subject = "Account Locked Out: $LockedAccount" 
    Body = "Account $LockedAccount was locked out on $AccountLockOutEventTime.`n`nEvent Details:`n`n$AccountLockOutEventMessage"
    From = "[email protected]
    To = "[email protected]
    SmtpServer = "exch2010.domain.local" 
    Send-MailMessage @messageParameters
    =================================================
    Here is an example of task settings.
    <?xml version="1.0" encoding="UTF-16"?>
    <Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
      <RegistrationInfo>
        <Date>2015-03-25T21:40:28.8095226</Date>
        <Author>DOMAIN\administrator</Author>
      </RegistrationInfo>
      <Triggers>
        <EventTrigger>
          <Enabled>true</Enabled>
          <Subscription>&lt;QueryList&gt;&lt;Query Id="0" Path="Security"&gt;&lt;Select Path="Security"&gt;*[System[Provider[@Name='Microsoft-Windows-Security-Auditing'] and EventID=4740]]&lt;/Select&gt;&lt;/Query&gt;&lt;/QueryList&gt;</Subscription>
        </EventTrigger>
      </Triggers>
      <Principals>
        <Principal id="Author">
          <UserId>DOMAIN\WilliamsD</UserId>
          <LogonType>Password</LogonType>
          <RunLevel>LeastPrivilege</RunLevel>
        </Principal>
      </Principals>
      <Settings>
        <MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
        <DisallowStartIfOnBatteries>true</DisallowStartIfOnBatteries>
        <StopIfGoingOnBatteries>true</StopIfGoingOnBatteries>
        <AllowHardTerminate>true</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>
        <WakeToRun>false</WakeToRun>
        <ExecutionTimeLimit>P3D</ExecutionTimeLimit>
        <Priority>7</Priority>
      </Settings>
      <Actions Context="Author">
        <Exec>
          <Command>powershell.exe</Command>
          <Arguments>-nologo -File "C:\powershell\l2.ps1"</Arguments>
        </Exec>
      </Actions>
    </Task>

    By variable text I mean everything that it generates by using a variable such as the user's name ($LockedAccount)
    and everything else such as $AccountLockOutEventTime and everything else that is generated from
    a variable.
    Nothing like that appears in the email only hard coded text.
    I am not running it remotely.  I am logged directly onto the domain controller and I tried giving
    the account that is used to run the task more and more permissions including domain administrator group membership with the same result.
    When I run the exact same script on the same domain controller locally via the powershell CLI all of the info appears.
    This is the info when the email is generated by running the script directly from the powershell CLI:
    ================================================
    ================================================
    Account BondJ was locked out on 03/26/2015 20:42:18.
    Event Details:
    A user account was locked out.
    Subject:
                    Security ID:                         S-1-5-18
                    Account Name:                 DC1$
                    Account Domain:                            
    DOMAIN
                    Logon ID:                            
    0x3e7
    Account That Was Locked Out:
                    Security ID:                         S-1-5-21-3440879815-2193117124-1719501250-1154
                    Account Name:                 BondJ
    Additional Information:
                    Caller Computer Name:                DC1
    ===================================================
    ====================================================
    Below is the contents of the email when the same script runs via scheduled task trigger using any account I try other than the built-in domain Administrator account.
    =======================================================
    ======================================================
    Account  was locked out on .
    Event Details:
    ===================================================
    Just mostly blank email body with the info above.  All the important information text is missing from the email.

  • How do I use Time Capsule for backup only over an existing network (or ethernet)

    Ok, first, I have been using Mac now for about 2 years and every little thing I do is much harder than advertised. I have yet to experience the mythical ease of Apple products.
    With that said, I was talked into buying this 2TB Time Capsule. Which right now seems to serve nicely as a very expensive paper weight.
    Here's what I am trying to do. I was told I could use this as a wireless backup. I have a cable modem and router in my house. I do not want to insert Time Capsule as the router. I would like to either hook it up to the existing network or have it just wireless. Whatever works best for backup use.
    I set the time capsule up to connect to an existing network. Which it did. Green light is on.
    When I select it as a backup drive in Time Machine, it works. However it does not back up. It will say Waiting to Backup and do nothing. If I select Back Up Now on Time Machine, it says it cannot find the disk.
    Is it possibly because I had used another backup disk prior and kept it? When I set the Time Capsule I selected to use both.
    I am at a loss. I am not a techie. And there are more options of use than the instructions cover.

    The problem is your method of connection I suspect.
    The TC was always designed to plug into the main router. It does not have to be in the same room but it has to be ethernet connected.
    Please post a few screenshots of the setup.. that makes it so much easier for me to work through it with you.
    Posting screenshots here is easy.. press the little camera and select the shot from finder.
    What I need is the summary page from your airport utility.. ie this one.
    Then click on edit button which I have highlighted and show me the tabs for Internet, Network and wireless. eg this is the internet. (show me the whole thing.. I have cut it off to keep it small).
    We can then work through the issues.

  • Use ext. harddrive for time machine or just as additional storage?

    I was wondering, given the problems some people have had with TM, should I maybe just use it to store stuff and free up space on my laptop, or can I use one drive for both my TM backups as well as additional storage?

    Mark_Clemons wrote:
    I was wondering, given the problems some people have had with TM
    First, take what you read here with a grain (or large block) of salt. This is the ER for Time Machine, and no more representative of the average user's experience than your local bricks-and-mortar ER is of the health of your community. Second, most of the problems here are either misunderstandings of how TM works and how to use it; or hardware problems that would be the same with any backup app.
    should I maybe just use it to store stuff and free up space on my laptop, or can I use one drive for both my TM backups as well as additional storage?
    You can do both, but if you do, your best bet is to partition the drive so TM has it's own, exclusive partition. And TM can back-up the other partition. See item 5 in the +Frequently Asked Questions+ post at the top of this forum for instructions.
    Still, this isn't a very good solution, as both the original and copies of those files will be on the same physical disk drive: when (not if) it fails, you may lose both. So you may want to archive those files to DVDs instead of (or in addition to) TM.

  • Can we still use PEAP-MSCHAPV2 for authenticating to a WPA2-Enterprise network?

    L.S,
    For authenticating to a BYOD wireless network a lot of companies use WPA2-Enterprise connected to a Microsoft IAS/NPS server to authenticate against Active Directory. There seems to be a way to intercept this wireless traffic using a roque accesspoint using the same (company) SSID-name and tools like freeradius-WPE and cloudcracker.
    If the BYOD client doesn't check the certificate provided by the fake radius server, the MSCHAPv2-negotiation can be discovered and the hacker will get the username AND hashed password which can be lookup'd by rainbow tables sites like cloudcracker.
    Is there still a safe way to deploy AD-authentication to BYOD clients?
    Kind Regards,
    Arjen

    I have tested the WPA2-enterprise/PEAP-MSCHAPv2 exploit this week placing a laptop in my car on the company parking lot with a Kali image, using hostap and freeradius-wpe configured with the company SSID. It was very easy to find out the mschapv2 challenge/responses of a number of android/windows phones that there just walking past my car. Also iPhone has a bad WPA2-enterprise implementation (see: http://research.edm.uhasselt.be/~bbonne/docs/robyns14wpa2enterprise.pdf), so bye bye WPA2-enterprise/PEAP-MSCHAPv2.
    Wonder what other (large) companies are using for their BYOD wireless networks! EAP-TLS using certificate sounds like the only feasible option, however, we are afraid that the enrolment of certificates to the BYOD-clients will be a total disaster. I heard stories that some android phones lose their client certificate after a reboot :(

  • Time Machine for Macmini second hard drive to networked storage

    I just got a Mac mini with OSX 10.6.5 Server and am a novice OSX Server user.
    I want to backup both the primary hard drive and the second hard drive using Time Machine to a networked file server.
    When I go to the setup for Time Machine on the Mac Mini, it allows me to backup the primary HD but doesn't give me an option to do the same for the second hard drive.
    Is there a workaround for this?

    You may want to use an additional backup method as well, since Time Machine doesn't back EVERYTHING up on a server.
    http://derflounder.wordpress.com/2008/03/19/web-sharing-not-working-after-a-time -machine-restore/
    http://derflounder.wordpress.com/2010/03/02/restoring-mac-os-x-server-from-time- machine/

  • How to set schedule task in windows using java code

    Hi,
    i want to set the schedule task in windows os using the java code can any one help me on that
    can any one thinks i need to wright a dll file for that which set the schedule task for me which dll i can use in my java code.
    thanks in advance.

    Maybe this will help you?

  • Reference for Connecting EJB in KM scheduler Task

    Hi,
           What are the main References we need to add portalapp.xml,when we connect Ejb in Km scheduler Tasks
    For Example:
    portalapp.xml
    <?xml version="1.0" encoding="UTF-8"?>
      <application >
        <application-config>
        <property name="SharingReference" value="usermanagement, knowledgemanagement,landscape,       htmlb, exportalJCOclient, exportal, com.sap.portal.admin.wizardframework"/>  </application-config>
      <components/>
      <services>
        <service name="RFServiceWrapper">
          <service-config>
            <property name="className" value="com.sap.netweaver.rf.wrapper.RFServiceWrapper"/>
            <property name="startup" value="true"/>
          </service-config>
        </service>
      </services>
    </application>
    Regards,
    Vino

    Hi,
    Try some thing like this:
    ClassLoader originalContextClassLoader = Thread.currentThread().getContextClassLoader();                                   
    try {
              Thread.currentThread().setContextClassLoader(this.getClass().getClassLoader());
              Context initial = new InitialContext();
              Object objref = initial.lookup("JNDI Name Of the Session Bean");
              Object obj = PortableRemoteObject.narrow(objref, BeanHome.class);
         } catch (NamingException ex) {
              ex.printStackTrace();          
         } catch (Exception ex) {
              ex.printStackTrace();          
         finally {
         Thread.currentThread().setContextClassLoader(originalContextClassLoader);
    Regards,
    Praveen Gudapati

  • KM Scheduler Task not running

    Hello All,
    I have created a scheduler task for the , for the same I have created a PAR file , have successfully Build the project and deployed , Have configured the time in the Global services . But for some reason I could not see the task being running in the "Component Monitor" (when I select the Services-->scheduler >select one of the CM systems (have two currently)>click on on the CM system ) I could not see my custom task .
    As well as When I go to "Service configuration" --> Portal Application , there also I could not see my custome application .
    Initially whenever there use to be any error (for example -- CM systems not assigned etc etc ).
    Is it something I am missing while deployement , Or has it being deployed properly?
    Regards,
    Ronniee

    Hello Detlev,
    Any Inputs on this please.
    I have opened a new thread but a different Query
    http://forums.sdn.sap.com/thread.jspa?threadID=2155357
    Regards,
    Ronniee.

Maybe you are looking for

  • My Mac pro desktop is slow! And will freeze up.

    I was trying to move a lot of pictures to another user to the shared file folder. During the process I quickly discovered that it was moving it to the desktop. So I stopped the process and that's when the computer froze up. I ended up restarting the

  • Can't Post to .MAC

    When I click "Publish to .Mac" all I receive is a drop down telling me to sign into my .Mac Account. Once I sign in then all I receive is a drop down telling me about my account. I have read just about everything I can get my hands on. I am absolutel

  • Itunes says my music files are 6gb, my user/itunes music folder says its 23gb. I am trying to move it from old/new mac with 8gb ipod

    I am trying to move my sons  library to his new mac using his 8 gb i pod as a hard drive..... itunes 9.0.1  says his music files is only  6gb.  But when I go to transfer his itunes folder it says his music folder is 23gb.  I know I can home share tra

  • Word attaching document twice when using File Save & Send

    When a users chooses File - Save & Send - Send As Attachment, the attachment appears twice on the email.  This has happened with several users here at the firm.  Has anyone experienced this?  Any help would be greatly appreciated.  FYI - recreating t

  • VS 2008 BuildClient BuildServer

    Hi I haven't compiled a tuxedo server on a windows platform for 7 years now so have forgotten how to do it. I am looking for a guide that details how to set-up VS 2008 so I can use BuildServer to compile tuxedo servers. I have searched the Oracle sit