1.    05 Apr 2017 #1
    Join Date : Mar 2016
    Posts : 37
    windows 10

    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
    Join Date : Jan 2015
    UK, Midlands
    Posts : 11,064
    Win 10 Pro (1703)

    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
    Join Date : Mar 2016
    Posts : 37
    windows 10
    Thread Starter

    thanks for your reply, but if there is a method i prefer using a cmd promt.
      My ComputerSystem Spec
  4.    05 Apr 2017 #4
    Join Date : Jan 2015
    UK, Midlands
    Posts : 11,064
    Win 10 Pro (1703)

    Good luck, I hope you receive appropriate help.
      My ComputerSystem Spec
  5.    05 Apr 2017 #5
    Join Date : Oct 2014
    Trnava
    Posts : 2,869
    Windows 10.4 Home 1709 x64

    Quote Originally Posted by blueskyler 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

 


Similar Threads
Thread Forum
How to connect/disconnect to a VPN using the command line?
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...
Network and Sharing
Solved Win 10 home 64 bit command line Sleep command
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...
General Support
Can I turn off the UAC beep from the command line?
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...
General Support
Solved Can't add user via command line
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...
User Accounts and Family Safety
Can restore of Win 7 be started from command line ?
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...
Installation and Upgrade
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 03:59.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums