Website/docs/system-wide-policies.md
System-wide policies allow administrators to enforce specific settings for all users on a machine. These policies override user-specific settings and provide centralized control over application behavior in enterprise environments.
Policies are defined in a config.json file placed in the application installation directory (the same folder as NETworkManager.exe). When this file exists, the application loads the policies at startup and applies them with precedence over user settings.
Users will see a visual indicator in the Settings UI when a setting is controlled by a system-wide policy, showing them the administrator-enforced value and preventing them from changing it.
The config.json file uses a simple JSON structure to define policy values. An example file (config.json.example) is included in the application installation directory for reference.
File Location:
C:\Program Files\NETworkManager\config.json (or your custom installation path)NETworkManager.exeFile Format:
{
"Policy_Name1": true,
"Policy_Name2": "ExampleValue"
}
Example:
{
"Profiles_FolderLocation": "\\\\Server\\Shared\\NETworkManager\\Profiles",
"Settings_FolderLocation": "%UserProfile%\\NETworkManager\\Settings",
"Update_CheckForUpdatesAtStartup": false,
}
Property names generally follow the pattern Section_SettingName (see each setting's documentation). Ensure values use the correct JSON type (boolean, string, number, etc.).
:::note
config.json:::
For enterprise deployments:
Create the configuration file:
config.json.example as a templateconfig.jsonDeploy to installation directory:
config.json file in the same directory as NETworkManager.exeC:\Program Files\NETworkManager\Deploy methods:
config.json file to the installation directory (use Group Policy preferences or a startup script)Verification:
:::warning
Ensure the config.json file has appropriate permissions so that regular users cannot modify it. On standard installations in Program Files, this is automatically enforced by Windows file permissions.
:::
Policy not being applied:
config.json (not config.json.txt)NETworkManager.exe)true not string "true")Additional policy options will be added in future releases to provide more granular control over application behavior. If you have specific requirements for system-wide policies in your organization, please submit a feature request via the GitHub issue tracker to help us prioritize new policy options based on user demand.