Run a scheduled task via command line via command line


  1. Posts : 126
    windows 10
       #1

    Run a scheduled task via command line via command line


    i want start a Run a scheduled task via command line like this:

    Code:

    %SystemRoot%\system32\taskschd.msc /Run /TN "RegIdleBackup"


    when i run the cmd in the prompt as admin the shedular task GUI pop up but the task not start.

    Is there a solution?

    Is the problem related to windows 10 ?
      My Computer


  2. Posts : 34,882
    Win 10 Pro (1903) (2nd PC is 21H2)
       #2

    Hi, assuming you want to set up a scheduled registry backup, why not take advantage of this free tool, which also offers various repairs?
    Run a scheduled task via command line via command line-snap-2017-04-05-12.23.13.jpg
      My Computers


  3. Posts : 126
    windows 10
    Thread Starter
       #3

    thanks for your reply, but if there is a method i prefer using a cmd promt.
      My Computer


  4. Posts : 34,882
    Win 10 Pro (1903) (2nd PC is 21H2)
       #4

    Good luck, I hope you receive appropriate help.
      My Computers


  5. Posts : 5,174
    Windows 11 Home
       #5

    blueskyler said:
    thanks for your reply, but if there is a method i prefer using a cmd promt.
    You can still use Registry Backup for that - select to - Run under System Account - Create Schedule - and then:

    schtasks /Run /TN "Tweaking.com - Registry Backup"

    Edit/remove Triggers as required to disable autorun.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 12:50.
Find Us




Windows 10 Forums