locked
Problem to schtasks command RRS feed

  • Question

  • Hi,

    Any help to the following issue, on Win 2012 server?

    C:\Windows\system32>schtasks.exe /Run /TN "\Microsoft\Windows\Servicing\StartComponentCleanup" /sc once /sd 04/03/2018 /st 14:30
    ERROR: Invalid argument/option - '/sc'.
    Type "SCHTASKS /RUN /?" for usage.
    
    C:\Windows\system32>schtasks.exe /Run /TN "\Microsoft\Windows\Servicing\StartComponentCleanup" /sd 04/03/2018 /st 14:30
    ERROR: Invalid argument/option - '/sd'.
    Type "SCHTASKS /RUN /?" for usage.


    Many Thanks & Best Regards, Hua Min


    • Edited by Jackson_1990 Tuesday, April 3, 2018 7:15 AM
    • Moved by Bill_Stewart Wednesday, May 30, 2018 7:28 PM This is not "teach me how to use command line tools" forum
    Tuesday, April 3, 2018 7:13 AM

All replies