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

TRIGGERcmd not starting at boot

General Discussion
8
50
4.4k
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.
  • ?
    A Former User
    last edited by Feb 10, 2021, 10:47 PM

    @Russ I just wanted to check in again to say that I'm noticing that the .bat workaround is not working for me every time lately... have you tried to dig into this? I can provide you troubleshooting info if you need it.

    R 1 Reply Last reply Feb 11, 2021, 12:46 AM Reply Quote 0
    • R
      Russ @A Former User
      last edited by Russ Feb 11, 2021, 12:47 AM Feb 11, 2021, 12:46 AM

      @TheConfax, honestly I forgot about it, but I'd like to solve it if I can.

      I wonder if the problem is specific to certain non-english versions of Windows 10. Are you running an Italian version of Windows 10?

      I'm confident I can solve it if I can reproduce the problem. I'd like to create a virtual machine running Windows 10 with the Italian version (if that's what you're running). I tried installing an additional language on my Windows, but that didn't show me the problem.

      Right now I'm downloading an Italian version of Windows 10 ISO using the media creation tool I downloaded from here:
      https://www.microsoft.com/it-it/software-download/windows10

      e79b76e5-5fc0-411f-b3a2-bb37bc6f99fe-image.png

      Russell VanderMey

      1 Reply Last reply Reply Quote 0
      • ?
        A Former User
        last edited by Feb 11, 2021, 12:58 AM

        @Russ Yes, I'm running Win10 Home in Italian, probably the Brazilian guy had one in Portuguese... could be that, let us know 😉

        R 1 Reply Last reply Feb 12, 2021, 1:43 AM Reply Quote 0
        • R
          Russ @A Former User
          last edited by Feb 12, 2021, 1:43 AM

          @TheConfax, bad news. It worked fine for me. I installed the TRIGGERcmd agent and rebooted my Italian version of Windows 10 and it automatically started up.

          998ea471-d99b-424b-8f3c-80cd42f556f7-image.png

          Russell VanderMey

          ? 1 Reply Last reply Feb 12, 2021, 11:30 AM Reply Quote 0
          • ?
            A Former User @Russ
            last edited by Feb 12, 2021, 11:30 AM

            @Russ To be honest is not a constant thing, without the fix it starts like 1 out of 10 attempts, with the .bat fix it starts like 19 out of 20 attempts.

            Try rebooting some times, if unsuccesful in breaking it, try shutting down and powering on the virtual machine some times, both with and without fast startup enabled.

            R 1 Reply Last reply Feb 14, 2021, 3:08 PM Reply Quote 0
            • R
              Russ @A Former User
              last edited by Feb 14, 2021, 3:08 PM

              @TheConfax, I tried rebooting the VM many times and I have not seen the problem.

              I did an experiment though - I disconnected the VM from the Internet, then quit and re-launched the TRIGGERcmd agent, and I found that it automatically quit because it couldn't connect to the server.

              I wonder if that's what's happening to you. Is it possible your TRIGGERcmd agent is launching before your computer is connected to the Internet during boot?

              Russell VanderMey

              ? 1 Reply Last reply Feb 14, 2021, 5:34 PM Reply Quote 0
              • ?
                A Former User @Russ
                last edited by Feb 14, 2021, 5:34 PM

                @Russ Yes, it is very much possible, because my Wi-Fi card connects only after user login.
                In my .bat fix i included a 30 second delay, that could explain why even that sometimes is not working.
                You could try implementing a little loop at boot checking for network more than one time and it should be fixed ^^

                R 1 Reply Last reply Feb 15, 2021, 3:04 AM Reply Quote 0
                • R
                  Russ @A Former User
                  last edited by Feb 15, 2021, 3:04 AM

                  @TheConfax, ok, yea I think I can fix this.

                  Russell VanderMey

                  ? 1 Reply Last reply Feb 15, 2021, 10:36 AM Reply Quote 0
                  • ?
                    A Former User @Russ
                    last edited by Feb 15, 2021, 10:36 AM

                    Thank you @Russ !
                    Let me know when it's done and thanks again for the very useful application!

                    R 1 Reply Last reply Feb 19, 2021, 2:02 AM Reply Quote 0
                    • R
                      Russ @A Former User
                      last edited by Feb 19, 2021, 2:02 AM

                      @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 Feb 19, 2021, 10:53 AM Reply Quote 0
                      • ?
                        A Former User @Russ
                        last edited by Feb 19, 2021, 10:53 AM

                        @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 Mar 13, 2021, 9:25 AM

                          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 Mar 13, 2021, 11:44 AM Reply Quote 0
                          • ?
                            A Former User @Paulo Filho
                            last edited by Mar 13, 2021, 11:44 AM

                            @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 Mar 13, 2021, 10:24 PM Reply Quote 0
                            • P
                              Paulo Filho @A Former User
                              last edited by Mar 13, 2021, 10:24 PM

                              @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 Mar 13, 2021, 11:25 PM Reply Quote 0
                              • ?
                                A Former User @Paulo Filho
                                last edited by Mar 13, 2021, 11:25 PM

                                @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
                                • M
                                  Mark Hollis
                                  last edited by Jan 8, 2023, 10:02 AM

                                  @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

                                  R 1 Reply Last reply Jan 8, 2023, 5:39 PM Reply Quote 0
                                  • R
                                    Russ @Mark Hollis
                                    last edited by Jan 8, 2023, 5:39 PM

                                    @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

                                    M 1 Reply Last reply Jan 9, 2023, 11:18 AM Reply Quote 1
                                    • M
                                      Mark Hollis @Russ
                                      last edited by Mark Hollis Jan 9, 2023, 11:20 AM Jan 9, 2023, 11:18 AM

                                      @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

                                      R 1 Reply Last reply Jan 9, 2023, 11:14 PM Reply Quote 0
                                      • R
                                        Russ @Mark Hollis
                                        last edited by Russ Jan 9, 2023, 11:16 PM Jan 9, 2023, 11:14 PM

                                        @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

                                        M 1 Reply Last reply Jan 9, 2023, 11:28 PM Reply Quote 0
                                        • M
                                          Mark Hollis @Russ
                                          last edited by Jan 9, 2023, 11:28 PM

                                          @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
                                          • First post
                                            Last post