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
    • 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 ...
    • How to change workspace region?

      Region is defined upon creation. Please, note that customers can not migrate their instances between regions on their own. This process involves manual work required by Rocket.Chat Cloud team. If you need to switch region - submit a ticket or drop an ...