Windows 10: Run a scheduled task via command line via command line

  1.    05 Apr 2017 #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 ComputerSystem Spec

  2.    05 Apr 2017 #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?
    Click image for larger version. 

Name:	Snap 2017-04-05 at 12.23.13.jpg 
Views:	2 
Size:	114.2 KB 
ID:	128335
      My ComputerSystem Spec

  3.    05 Apr 2017 #3

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

  4.    05 Apr 2017 #4

    Good luck, I hope you receive appropriate help.
      My ComputerSystem Spec


  5. Posts : 3,149
    10.5 Home 1803 x64
       05 Apr 2017 #5

    blueskyler said: View Post
    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 ComputerSystem Spec


 

Related Threads
Hi all I have several network connections configured. There is one wifi connection which automatically connects to my WLAN, another cable based LAN connection to a NAS which is used for backups and some L2TP connection connections (used...
If I use the power icon and thenclick sleep my backup software will wake up my computer and backup run myschedule. If I use any of the followingcommand lines, the software cannot wake my computer, I have ran “powercfg/h /off” at C:\windows\system32...
I am NOT asking about turning on/off UAC, just the beep. This can be manually configured through the UI 117380 I'd like to do this via a script using a command line change. Seems like this MIGHT involve "control mmsys.cpl sounds" in some way...
Solved Can't add user via command line in User Accounts and Family Safety
I am trying to add a user via the command line through a virtual pc I added with VMWare. I'm running windows 10, and unable to add because this is what I get when I open CMD: I can't go beyond this point, I keep getting error messages. Any help...
For some unknown reason I cannot any more navigate to Update panel from "Einstellungen" - it is blocked. I have to cancel the "Einstellungen" window by the task manager ! So in this moment I cant go forward nor backward any more: cant...
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 09:39.
Find Us