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)
:GO
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
:STOP


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 rocket.chat 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

      MIT https://github.com/RocketChat/Rocket.Chat/blob/157b882d38b34b7b79dea527316554fe33f70891/LICENSE
    • Nagios Integration after Rocket.Chat version 7.4

      Integration with Nagios is a third party, developed by our community. It was forked to work with Rocket.Chat after version 7.4 and is compatible with Python 3. Publicly available at https://github.com/WhereIsF1/rocketchat-nagios Original integration, ...
    • 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 ...