TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    TRIGGERcmd not starting at boot

    General Discussion
    7
    40
    3.2k
    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.
    • RussR
      Russ @A Former User
      last edited by

      @TheConfax, I fixed it. Please update your agent. Now it will retry every 10 seconds if there's no Internet. I tested by rebooting the VM while it was disconnected from the network, then I enabled the network a while after the agent started. It connected within 10 seconds.

      Russell VanderMey

      ? 1 Reply Last reply Reply Quote 0
      • ?
        A Former User @Russ
        last edited by

        @Russ Thanks for the fix! I will test it during the next days and I'll let you know if it hangs again, hopefully should be ok.

        1 Reply Last reply Reply Quote 0
        • P
          Paulo Filho
          last edited by

          I'm from Brazil and I have the same problem, the fix doesn't work here. If anyone knows the fix about the .exe (.bat file in the background doesnt appearing the black box of CMD) help me please.

          ? 1 Reply Last reply Reply Quote 0
          • ?
            A Former User @Paulo Filho
            last edited by

            @Paulo-Filho Try uninstalling and removing the .bat fix, then reinstall the latest version and make sure it is in the automatic run folder.
            It is your PC connected to the internet at launch?

            @Russ For me it never broke up to now 👍🏻

            P 1 Reply Last reply Reply Quote 0
            • P
              Paulo Filho @A Former User
              last edited by

              @TheConfax Yes, its connected at launch. The .bat fix finally worked here, now how i can transform in a .exe to not show the cmd in the intro?

              ? 1 Reply Last reply Reply Quote 0
              • ?
                A Former User @Paulo Filho
                last edited by

                @Paulo-Filho You can use any exe-bat converter. But Russ updated the software, now it should work even without the bat fix

                1 Reply Last reply Reply Quote 0
                • Mark HollisM
                  Mark Hollis
                  last edited by

                  @Russ i have a startup problem on windows 10, if i set triggercmd to launch as administrator, it won't launch at window startup, you know why? thanks for help

                  RussR 1 Reply Last reply Reply Quote 0
                  • RussR
                    Russ @Mark Hollis
                    last edited by

                    @Mark-Hollis, how are you trying to run the agent as administrator during startup?

                    Are you using this checkbox on the shortcut? If so, how are you running that during startup?

                    4ad6db86-e98f-4595-81df-f698c1f19dd9-image.png

                    Russell VanderMey

                    Mark HollisM 1 Reply Last reply Reply Quote 1
                    • Mark HollisM
                      Mark Hollis @Russ
                      last edited by Mark Hollis

                      @Russ yes exactly
                      the link to exe is in this folder C:\Users\Carmelo\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\TRIGGERcmd

                      without checking run as administrator, triggercmd start correctly at boot

                      RussR 1 Reply Last reply Reply Quote 0
                      • RussR
                        Russ @Mark Hollis
                        last edited by Russ

                        @Mark-Hollis, I actually included a feature to run the agent in background mode in the context of a Windows service that starts up on boot. It runs your background commands elevated.

                        You install it using this "Install Background Service"

                        ee6e0e1f-a6a7-4891-a8ee-e0d738adfb64-image.png

                        Set your commands as background commands like this:

                        23d9bd6b-369b-4b3e-b42e-7e61708def7e-image.png

                        The normal forground agent starts up when you login, and it runs commands non-elevated.

                        If you still want to use a shortcut with that "Run this program as an administrator" checkbox checked, you'll need to disable UAC, and you'll need to check the box on the TRIGGERcmd Agent shortcut in this folder:

                        C:\Users\Carmelo\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

                        This article shows how to quickly open that folder with shell:startup.

                        18677580-5d63-486d-b700-b1627fb735a8-image.png

                        Russell VanderMey

                        Mark HollisM 1 Reply Last reply Reply Quote 0
                        • Mark HollisM
                          Mark Hollis @Russ
                          last edited by

                          @Russ i already have uac disable, and ticked administrator to that shortcut in that folder, but this way don't start when windows 10 start

                          1 Reply Last reply Reply Quote 0
                          • trinibT
                            trinib
                            last edited by trinib

                            I have this a same issue on windows 10 when no internet at startup. And even with the feature @Russ added - check for internet connection every 10 second is useless for when no internet, service never start properly even after connecting to internet. Will need to force close service and run again with internet on.

                            ##### But easy work around using task scheduler.😉👇

                            1. Open Task Scheduler
                            • Start Menu → Task Scheduler
                            1. New Task
                            • Action: Create Task…
                            • Name: TriggerCMD Agent
                            • Security: Run only when user is logged on
                            • (Optional: check “Run with highest privileges”)
                            1. Trigger
                            • Click Triggers → New…
                            • Begin the task: At log on
                            • Settings: Specific user or Any user → OK
                            1. Action

                            Actions → New…

                            • Action: Start a program
                            • Program/script:
                              C:\Users\Admin\AppData\Local\triggercmdagent\TRIGGERcmdAgent.exe
                            • OK
                            1. Condition
                            • Go to Conditions tab
                            • Check Start only if the following network connection is available
                            • Select Any connection
                            • OK
                            1. Finish

                            Click OK to save
                            (Enter your password if prompted)

                            LOVE THIS SOFTWARE . Hope it never dies 🙏. paying for full features😎

                            RussR 1 Reply Last reply Reply Quote 0
                            • RussR
                              Russ @trinib
                              last edited by Russ

                              Thanks @trinib, and thank you for reporting the problem. I should be able to reproduce it and fix it in the next version. I thought I had it fixed but apparently not.

                              EDIT: I confirmed if the agent starts and can't access the Internet, it closes. It should keep trying to connect, so I'll fix this soon.

                              Russell VanderMey

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