Run the file from the Task Scheduler

Is it possible to open a specific file by using the Windows Task Scheduler?

Hello

What is the type of the file that you want to schedule?

Please try out the instructions with your file.

  1. Go to Task Scheduler, right click on "create basic task...". ».
  2. Name the task, and then click Next.
  3. Select a trigger (daily in the case you mentioned here) and click Next.
  4. Define the period of time and repetition, and then click Next. In the Action, select "Start a program" and click Next.
  5. In the program/script text box, locate your file and click on next (leaving the other empty text boxes). Click Finish. I just tried on my PC now, and it works.

It will be useful. Please let us know if you need more assistance.

Tags: Windows

Similar Questions

  • My VB2013 exe will not run the Task Scheduler but works very well for direct click in Explorer as well as a BAT file.

    The program is configured to run from a direct click using a text file specifying where the source files and destination.  Worked very well for a direct click or from the. BAT file.   It runs the Task Scheduler, I can see it appear in the Excel Task Manager when it is active.  But while it freezes.  He reads the spreadsheet looking for specific elements then output to a CSV text file.

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
    *
  • Run the Task Scheduler .cmd file

    Hello

    I try to run a file .cmd of Task Scheduler so that I can plan their daily lives. The .cmd file works fine when I run it manually and use cURL to relate to a website and download a file.

    I tried many options, of course to start program 'cmd.exe' or 'cmd' and the settings/start C:\path\to\file and many variations to this. Also, I tried C:\path\to\file directly in the box "start a program". The errors I'm getting 0 x 1 to 0xc000013a range. Sometimes a shell opens, but the file is not executed because no download translates by (as when performed manually).

    If you could give me a tip which are the steps (what to enter where) to plan a .cmd file it would be great, I'm rather beginner to this...?

    User permissions should not be a problem because I am the only functioning of the computer with administrator rights. also, I put all the permissions «allowed "in the properties of the .cmd file.»

    Thanks and greetings

    Valentino

    Not necessary, has found a solution, it is very well described in:

    http://myousufali.WordPress.com/2012/05/21/scheduled-task-error-0x1/

    See you soon

  • Windows 7 and I have a batch file to copy files from 1 computer to another. It works fine alone, but when I put it to run in the Task Scheduler it shows it ends successfully, but nothing is happening

    I am running Windows 7 and I have a batch file to copy files from 1 computer to another.  It works fine alone, but when I put it to run in the Task Scheduler it shows it ends successfully, but nothing is happening.  None of the files are copied, and the control box does not appear.  Any ideas?

    Run a batch file in Task Scheduler

    Hello ITGIRL17,

    Thanks for posting on the Microsoft answers Forum.

    Configure your task under your administrator account.
    Then go to the folder with the batch file and ADD on control for the folder administrator permissions and each of the files in batches.
    If the batch files write data, then the target for the task should ALSO have all explicit permissions.
    Now try to run the Task Scheduler task.

    Also check the information from the following link and look specifically at Brian Vandemark Sommaire steps on 2 September.
    http://social.technet.Microsoft.com/forums/en/winservermanager/thread/d47d116e-10b9-44f0-9a30-7406c86c2fbe

    I hope that this information will help resolve your batch file does not problem.

    Sincerely, Marilyn
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • Error message: "the Task Scheduler service does not appear to start" when you back up files.

    Original title: error in Vista Task Scheduler

    Hello. I am running Vista Home Basic. I'm trying to back up my files, but get an error stating that "the Task Scheduler service seems not be started. Please start the Task Scheduler service and try again. "I don't know what that means and I couldn't save my files before. Do you know how I can fix this problem? Thank you

    Hi MK_806,

    You can try to scan the file system [SFC] checker on the computer that will replace missing or corrupt files & check if the problem persists.

    For more information, you can consult the following link.

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7

    Check if there is information in Event Viewer which may help us to solve the problem:

    What are the information contained in the logs of the event (Event Viewer)?

    For more information, you can also consult the following article:

    Troubleshooting Task Scheduler

    Hope this information is useful.

  • Disk Defragmenter could not start the service task scheduler is not running. Start the Task Scheduler service, and then try again.

    im getting this message if I want to run Disk Defragmenter... "Disk Defragmenter cannot start the Task Scheduler service is not running. Start the Task Scheduler service and try again. "tried to start the Task Scheduler on services.msc, but it gives me the message" windows could not start the Task Scheduler on the computer local error 2: the system cannot find the file specified. '. »

    Hello

    See if run the checker (SFC.exe) system files using the parameter/scannow help.

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7:
    http://support.Microsoft.com/default.aspx/KB/929833
    Ramesh Srinivasan, Microsoft MVP [Windows Desktop Experience]

  • Can I stop or restart the Task Scheduler service from the command prompt in Windows 2008 service?

    I'm on Server 2008. I have a scheduled task that is not working properly. I went to Services, and I see that it is configured to start automatically and it is actually being run. The problem is that I can't stop, pause, or restart the service. Y at - there a command I can run that can stop or restart the service?

    Why not with the right button of the job itself in the Task Scheduler, and then stop it?

    There are several methods to stop the Task Scheduler service that. Here's one of them:

    1. Create a task scheduled, called 'StopScheduler' as follows:
      -Triggering factor: at boot time
      -Command: sc.exe
      -Settings: time stop
      -User: System
      -Run with the highest privileges.
    2. Right click on the task of StopScheduler, and then click Run.
    3. Solve your tasks.
    4. Restart the Task Scheduler.
    5. Disable or remove the task StopScheduler.
    Note also that this forum focuses on the issue of Windows 7 in a domestic environment. There are dedicated forums for Server 2008.
  • Can not find the task in the Task Scheduler

    I created a fundamental task to connect to an ad - hoc network whenever I boot my laptop with Vista Home Premium 32-bit.  I don't want that to happen and I deleted the network tries to delete the task.  When I open the Task Scheduler, I don't see my task listed.  I made sure 'show hidden tasks '.  I know that the task runs as I continue to receive errors not being to find the ad hoc network.

    I created a new task of fundamental task, called 'test' starts just the calc program and it shows in the list of tasks.

    Any help?

    As others have found, if you change the name of your computer, scheduled tasks that have been associated with a specific user account (like the logon trigger, such as the credentials for the job and so forth) will no longer appear in the list of scheduled tasks. Scheduled tasks displays the message "an error has occurred for task xxxx. Error message: the specified account name is not valid. "The same thing happens if you delete a user account that is named in a scheduled task.
     
    The reason for the problem is that the computer name part of the account name (for example, "mycomputer\myaccount"), and so if a part of the name is not valid, the associated account is no longer recognized. Unfortunately, given that the scheduled tasks will not display the task entry broken, you cannot fix it directly.
     
    The tasks themselves are defined in XML files in plain text stored in \windows\system32\tasks. The files have the same name as their entries in scheduled tasks.
     
    If a task is not desired, you can simply delete the corresponding file from \windows\system32\tasks.
     
    If you want to restore a task, you must change the computer name and/or account name everywhere wherever he is in the job file. But, you can just edit the file in place to solve the problem. Scheduled task detects that the file has been modified externally and even once will not use or display.
     
    I managed to solve the problem by following these steps:

    1. Move the file to the task entry broken of the \windows\system32\tasks in another case. You want to move it, copy it not - file must be put out \windows\system32\tasks. You can do this by using Windows Explorer or move the command in a command prompt window.
    2. Using Notepad, open the file in its new location. Set the name of the computer or the name of the account as it happens and save the file. Repeat steps 1 and 2 for all other tasks of problem.
    3. Open scheduled tasks, or select the menu Action, refresh. It should be no error message now, given that the task of the problem has been removed.
    4. On the Action menu, use the import command to locate the edited file. This will restore the scheduled task.
    5. Test the restored task by opening and then run. Once everything works, you can remove older versions of the file task as you had moved it. Repeat steps 4 and 5 for any other task edited file.
  • Custom event is not captured by the Task Scheduler and unable to trigger by e-mail for the event

    Hello world

    We have installed the 9.0 table in our windows 2008 R2 server and Scheduler tasks to send if you find error occurred for the application in it. That's why we created SMTP inside. First, we have implemented the Task Scheduler and generate an error in the application of the table and run the task manually and we receive by e-mail. But when we go for automation by the custom event. The steps below that I follow:

    1. click the Start button, and then select administrative tools > Task Scheduler.

    2. click on the task of creating in the Actions pane on the right.

    3. in the dialog box create a task in the name text box, type a name for the task and provide a description if you want.

    4. in the section security options, select run whether user is logged in or not.

    5. click on the triggers tab, and then click the new button.

    6 to start the task drop-down list, select an event.

    7. in the settings section, select custom and click the new event filter.

    8. for the event level, select the error box.

    9. selection of the Source, in the event source drop-down list, select the table server checkbox.

    10. click OK to close the new dialog box even filter and then click OK again to close the new trigger dialog box. The event trigger is now configured.

    11. in the dialog box create a new task, click the Actions tab and click the new button.

    12. in the Action new dialog box, in the drop Action, select send e-mail.

    13. under the settings section, fill in the form as required, including the SMTP server.

    Note: It is necessary to enter the valid e-mail addresses in the From and to text boxes.

    14. click OK to close the new dialog Action.

    15. click OK to close the dialog box create a task and finish configuring e-mail alert.

    If please see this and feel free to contact me if you have any information.

    Concerning

    Valerie

    Mob: 469 345 3625

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
    *
  • How can I configure a task in the Task Scheduler to restart my PC every day at a certain time?

    New pc from Dell under Win7

    1. Press the Windows key + R > type taskschd.msc and press enter (it will launch the Task Scheduler)
    2. Click with the left button of the right pane on the Task Scheduler Library > open Action on the menu at the top of the page > new folder... > name MyTasks > click OK
    3. Left-click on the MyTasks > menu, choose Action > create a basic task... (it will open Assistant tasks)
    4. You can enter the name , for example "restart" and press Next
    5. In the trigger section, you can specify when you want to run your task, for example:
      • Select daily and press Next
      • Now, you can specify the day, time and the game to be repeated daily, after that press Next
    6. In the Action section, you can choose what you want to run, for example, restart your system to do this:
      • Choose start a program and press Next
      • in the area of program/script, type shutdown /r and press next
    7. And that's all, you can press Finish
  • How to manually run the job scheduler

    I wanted to know how to run a job scheduler manually. My requirement is to reschedule some jobs if I want to run it manually so that their execution for the day is over and I can put the new time. For example. to reprogram a job, we can use the following command:

    () DBMS_SCHEDULER.set_attribute

    name = > 'CLUSTERPLANNINGREPORTS_JOB ',.

    attribute = > "repeat_interval"

    value = > ' freq = daily; BYHOUR = 16; BYMINUTE = 0; BYSECOND = 0 ;') ;

    Similarly, I wanted to run the task from the Scheduler.

    I hope that my request is clear.

    Please get back with the answer to my query.

    Concerning

    BEGIN
    DBMS_SCHEDULER.run_job (job_name => 'USERNAME.JOB_NAME');
    END;
    /
    
  • In XP, error 0 X 80090016 Keyset does not exist, the task scheduler does not perform the tasks

    In Windows XP (SP3) get this message and the task scheduler does not perform the tasks

    Excellent resolution.  My scheduled tasks are run.  It is the first answer that worked for me.  Thank you

  • Cannot run the Task Manager

    Cannot run the Task Manager. I right click and select from the list, but nothing happens.

    See: Why won't Task Manager, REGEDIT and MSCONFIG disappear when opening?
    http://WindowsXP.MVPs.org/ToolsQuit.htm Harold Horne / TaurArian [MVP] 2005-2011. The information has been provided * being * with no guarantee or warranty.

  • How to use the Task Scheduler to send an email

    I have Windows Live Mail + Windows 7

    I want my computer to send an email to someone on his own. I opened the Task Scheduler and creates a new task using the Task Scheduler 'send and send '. The problem is that the program asks only me who he is, which comes from the e-mail and how to use smtp server... He doesn't ask for my mail server login and user name, so in theory it would be rejected... and when it comes to send the message, now it does nothing without any error message.

    I have 2 settings of e-mail in Windows Live Mail accounts but how do I know the Task Scheduler program which includes use of e-mail and how to connect to the account to send it?

    best,

    Charlie

    This task seems to be used only in limited circumstances where a local Windows based SMTP server is available and security credentials are already established.  There is an interesting discussion about this in
    http://social.technet.Microsoft.com/forums/en-us/winservergen/thread/f087c57c-57b8-4c7f-ba2a-feb04c51f5ba

    One of the links posted http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/e4cf06f5-9a36-474b-ba78-3f287a2b88f2.mspx?mfr=true indicate a possible way to do so by implementing a service SMTP with IIS, but many (I think that most) ISPS block Port 25 and who would probably be a problem.

    It looks like using a 3rd party to contact the external mail server might be the best bet.

    'Charlie Cooper' wrote in the new message: * e-mail address is removed from the privacy... *

    Thanks for your reply, but I'm looking to make use of the 'send an Email' task which included in Task Scheduler... is something that has been there for a while and I've never understood how it would work... I open the Task Scheduler, create a "fundamental task" and click 'send', but I is not even asking me my user name or password? only the smtp server and the email I want to use!

  • When I open the Task Scheduler, I get a message error «an error has occurred for task realupgradelogontasks...» »

    When I open the Task Scheduler, I get the following error message:

    an error has occurred for the realupgradelogontasks-1-5-21-2172834406-3963835389-1001 task. error message: the specified account name is not valid. What this means and how do I get rid of the error message?

    Windows 7 Home Edition Premium does not the local security policy. I didn't know that you have the version of the operating system.

    However, the error you get for realupgradelogontasks is RealPlayer. You can uninstall RealPlayer and reinstall to see if that will remove from TaskScheduler option to update.

    If this isn't the case, then check with RealPlayer for the taking in charge of this issue.

    Thank you

    Marilyn

  • Need the command line to restore the system to the Task Scheduler in Windows 7

    The task in the Task Scheduler to run the regular restore points has been removed. I need to re-create the task.

    I know that all settings other than the delivery of the program and options. That's what I need.

    It comes a host of Windows 7 Ultimate 64-bit.

    Thank you.

    For the record, I found the answer myself. It is within an article that lists as scheduled tasks in Vista. The KB is:

    http://support.microsoft.com/kb/939039 , "Description of the scheduled tasks in Windows Vista". The command line that I needed is:

    %windir%\System32\rundll32.exe c:\windows\system32\srrstr.dll, ExecuteScheduledSPPCreation

Maybe you are looking for

  • Omen of HP: HP Omen control "Enable the touchpad while typing" resets on reboot

    Hey, I just got a new laptop HP Omen and it works for the large majority. However, I was annoyed buy the touchpad is disabled while typing (because it took a few moments to re-activation, making it difficult to edit documents quickly, jumping from on

  • Question HP P7-1227 and SSD Upgrade

    I'm a noobie here, and I want to put a 256 GB SSD in my HP P7-1227. In particular, it is a SAMSUNG 830 Series 2.5-inch 256 GB III MLC internal solid state SATA drive. Apparently, he wants a connection SATA 3 (600). I found that my motherboard has "4

  • You want to recover password of MSN account.

    Original title: where should I put in my PIN #. I tried to retrieve a new password because my MSM account has been hacked.

  • I lost my new RSS feed MSNBC.

    How to restore this service. I don't know how I got to lose except if removed a NFB the technitions, but in any case, I want to get it back please.

  • Planning for 5.0: many questions, not enough answers!

    We would like to start planning the launch of the 5.0 browser and have many questions.  I hope that Tneil or other people can help... 1 has announced a release date yet? 2. What devices will come with it standard? 3. What are the previous devices wil