Run a scheduled task via command line via command line

  1. blueskyler's Avatar
    Posts : 118
    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. dalchina's Avatar
    Posts : 30,080
    Win 10 Pro (1903)
       #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. blueskyler's Avatar
    Posts : 118
    windows 10
    Thread Starter
       #3

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

  4. dalchina's Avatar
    Posts : 30,080
    Win 10 Pro (1903)
       #4

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

  5. TairikuOkami's Avatar
    Posts : 4,688
    Windows Home Dev 21xxx x64
       #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 02:28.
Find Us




Windows 10 Forums