• Categories
    • Recent
    • Tags
    • Popular
    • Register
    • Login

    How to install my controller on windows.

    Scheduled Pinned Locked Moved Getting Started
    4 Posts 3 Posters 1.4k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C Offline
      carlosASN
      last edited by

      Hello people,

      I would like to know how to install and configure mycontroller in windows 10.

      jkandasaJ 1 Reply Last reply Reply Quote 0
      • jkandasaJ Offline
        jkandasa @carlosASN
        last edited by

        @carlosasn

        • You should install Java 1.8 or above.
        • unzip mycontroller package
        • from command line execute mycontroller/bin/start.bat
        1 Reply Last reply Reply Quote 0
        • L Offline
          lukash535
          last edited by lukash535

          Hey,
          I am currently using the "MyController" under Windows system on HP t610 thin client, so to start MC manually just run start.bat from the level of the explorer like a normal exe program (calling from command line is not necessary).
          A few days ago, I was trying to configure that MC will start during windows startup and I win! 😄
          The main point is that MC should start immediately after boot but user does not have to login.
          You can do this by adding a new service in Windows. It was not easy but the "NSSM - the Non-Sucking Service Manager" program came to the rescue.
          With NSSM you can greatly simplify the configuration.
          Important matters at the beginning:
          • Unpack MyController to location that we will not change later because it will require editing or repeating the whole process of creating the service from the beginning.
          • Download from the site https://nssm.cc and unpack the NSSM program to any place. After configuration process we will not need it anymore.
          To make it easier I unpacked it directly onto the drive C:\

          So step by step:

          1. Click the start button and enter cmd.exe in the search box. Then, after right-clicking the properties menu, we choose to "Run as an administrator" (unfortunately my windows is in Polish)
            01.jpg

          2. Next, we run the nssm.exe program with the install parameter
            02.png

          3. A new window opens. We select the path to the start.bat file in it and set the startup parameters. In the "shutdown" tab, I tried to set the timeout for 10s in all options, it seems to me that only the first option "Generate control-C" is important to us.
            03.png
            04.png
            05.png

          4. Now we can check if the new service has appeared on the list. To do this, we launch the "Services" application from the start menu.
            06.jpg
            07.png

          5. Now we can try out whether our service will start properly. IMPORTANT! If you have the mycontroller server running directly from the start.bat file, please close it first!
            To controll service you can use button from green frame on screen (Run, Stop, Hold on, Resume).
            In red frame you can check status. If everything is ok it should be "Running" (...or something like this)
            08.png

          6. The last test is to restart the computer without logging into Windows. Then try to launch the MyController page on another computer or phone.

          jkandasaJ 1 Reply Last reply Reply Quote 3
          • jkandasaJ Offline
            jkandasa @lukash535
            last edited by

            @lukash535 This is a great sharing!!

            1 Reply Last reply Reply Quote 1
            • First post
              Last post

            0

            Online

            586

            Users

            529

            Topics

            3.4k

            Posts
            Copyright © 2015-2025 MyController.org | Contributors | Localization