mattermost-desktop/resources/windows/gpo
aaron 057377207a
Some checks failed
release / begin-notification (push) Has been cancelled
release / build-linux (push) Has been cancelled
release / build-msi-installer (push) Has been cancelled
release / build-mac-installer (push) Has been cancelled
release / upload-to-s3 (push) Has been cancelled
release / github-release (push) Has been cancelled
release / end-notification (push) Has been cancelled
first commit bois
2024-10-03 06:35:14 -07:00
..
en-US first commit bois 2024-10-03 06:35:14 -07:00
mattermost.admx first commit bois 2024-10-03 06:35:14 -07:00
README.md first commit bois 2024-10-03 06:35:14 -07:00

Developer guide for using Group Policy Objects (GPO) (Windows 10 Pro)

GPOs are used to pre-configure servers, autoUpdater and server management

You can read more about GPOs here

How to use them on your windows machine for development

  1. Copy the files from this directory (resources/windows/gpo) to C:\Windows\PolicyDefinitions - the file mattermost.admx should go in C:\Windows\PolicyDefinitions and the file mattermost.adml should go in C:\Windows\PolicyDefinitions/en-US.
  2. Press Win + R to open the "Run" box
  3. Type gpedit.msc to open the Group Policy Editor
  4. Select "Administrative Templates" => "Mattermost" - either in "Computer Configuration" or "User Configuration" it shouldn't matter.
  5. On the right side panel Select the Policy you want to update, eg, "DefaultServerList" then click the "Edit policy setting" hyperlink/button.
  6. Select the "Enabled" radio checkbox and click the "Show" button under Options.
  7. A new windows opens where you can add Multiple values for pre-configured servers, where value name is the Server Name and value is the Server URL. Example:
Value Name Value
Community https://community.mattermost.com
8. Now if you open your Mattermost desktop application you should be able to see the server in the server dropdown

Windows 10 Home:

The gpedit.msc is not available for the Home edition but, there is an open-source tool called Policy Plus that can help with that.