TRIGGERcmd not starting at boot
-
Thank you @Russ !
Let me know when it's done and thanks again for the very useful application! -
@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.
-
@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.
-
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.
-
@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
-
@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?
-
@Paulo-Filho You can use any exe-bat converter. But Russ updated the software, now it should work even without the bat fix
-
@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
-
@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?
-
@Russ yes exactly
the link to exe is in this folder C:\Users\Carmelo\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\TRIGGERcmdwithout checking run as administrator, triggercmd start correctly at boot
-
@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"
Set your commands as background commands like this:
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.
-
@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