Deploying RMM by using GPO #732
Replies: 3 comments 2 replies
-
Thanks for the write up. It should really have worked a number of ways but glad you found a solution that worked. |
Beta Was this translation helpful? Give feedback.
-
Can't you just call the exe directly as a logon script? |
Beta Was this translation helpful? Give feedback.
-
Use the PowerShell script to deploy via GPO, run it as a startup script. I've written the script to wait for network connectivity before starting the install but also not hang the startup process too long if it can't connect to the RMM server. It's how I deploy in all my domain environments and it's been set and forget, apart from updating the script occasionally to make sure to deploy a current version of the agent. Just set a long expiry when you generate the PowerShell script. |
Beta Was this translation helpful? Give feedback.
-
Hey there,
I just deployed the agent by using GPO.
I had few problems so I'm creating a discussion to help people who whant to do the same thing.
First of all, I tried to deploy it just with a .bat script which execute the installer (it didn't work), then I tried with the winagent.exe and the .bat script who @wh1te909 made. Unfortunately, it didn't work (I set up the GPO at computer's boot), then I tried to launch the script at sessions's opening which kinda worked. In fact, it worked, but it asked the AD's admin credentials.
Then, I tried the install with the .ps1 script, which didn't work at all (I think the Policy with PowerShell script was Restricted that's why it didn't worked).
I retried with the .bat with the winagent.exe, but this time at the shutdown of the PC. It worked !
It wasn't really clean, so I edited the .bat by adding timeout 10 /nobreak at the beginning of the script.
It perfectly worked.
I'm just a beginner in this domain so I might have missed something, but I think it can help if I share you my experiences with TRMM.
I'm happy if this helped you !
Beta Was this translation helpful? Give feedback.
All reactions