Deploying Rocket.Chat Desktop using GPO

Deploying Rocket.Chat Desktop using GPO

Download the latest desktop app to a shared with everyone folder on your windows server
Create a script folder share it with everyone and write a script that will run each time an user logs in, ie.: rocketchatdeploy.bat:

if not exist %LOCALAPPDATA%\Programs\rocketchat\ (goto GO) else (goto STOP)
if not exist %APPDATA%\Rocket.Chat\ md %APPDATA%\Rocket.Chat\
copy /y \\ad01\Softwares\config.json %APPDATA%\Rocket.Chat\
msiexec /i \\ad01\Softwares\rocketchat-setup-3.4.0.msi /quiet

config.json = you can customize the server URL on this file, so when you deploy to all machines, they will be pointing to the same and correct server.
ad01 = your server name, remember to share the folder with everyone.

Attach it to a GPO:

That's it, the summary would be:
if the folder %APPDATA%\Rocket.Chat\ doesn't exist, it will be created then the config.json file will be copied to the folder, after that, Rocket.Chat app will be silently installed.
    • Related Articles

    • Rocket.Chat open source license

    • Reporting issues with Rocket.Chat mobile app

      Our mobile applications provide a lot of functionality, and its performance depends a lot on configurations made both on the server side and in the Admin UI.  If you face any difficulty with the mobile app usage, please consider checking your ...
    • How to securely share user credentials with Rocket.Chat Support

      There are some cases where Rocket.Chat Support needs access to a customer's server in order to further troubleshoot a reported issue. This article describes the steps so this sharing can be done in a secure way. Rocket.Chat Support agent will share ...
    • How can I change Rocket.Chat logo for my own?

      In order to change Rocket.Chat logo for your own (logo of your company), please, navigate to Administration -> Assets. There you will be able to change logo, login background and icon:  1. To change the logo (the one that is located under the chats ...
    • How can I create an announcement message in the chat?

      Question:  Is there a way to create a message that each new user, once entering the chat, will see first? (like an 'announcement' message in a Facebook group)? Solution:  1. We do have the possibility to adjust and customize the "Home" page under ...