none
Unable to run SC command RRS feed

  • General discussion

  • Hello,

    I want to create a service, which will start a program automatically after hard reboot of the PC.

    Here is the output which I type : 

    sc \\computer create metatrader binpath= C:\Program Files (x86)\MetaTrader4\

    but error occurs :

    [SC] OpenSCManager FAILED : 1722

    The RPC server is unavailable

    I have enabled File and Printer sharing but nothing changed. could you please advice what will be the correct command to make my metatrader to start automatically ?

    Thank you in advance!

    Tuesday, June 23, 2015 2:02 PM

All replies

  • Hi,

    I think that this software have the functionality which you want - https://support.beeksfx.com/index.php?/Knowledgebase/Article/View/5/1/pom-application-application-which-will-automatically-start-mt4-on-any-vps-reboot

    I don't know how it working. So for me will be very interesting to know if possible to do the same without 3rd party software like this.

    Wednesday, June 24, 2015 5:55 AM