mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-30 06:07:56 +08:00
602a3ff090
* try code for gpo with pluginID param * fix typo * fixes * update admx * Add second policy to admx * spelling fixes * admx clean up * add gpo code * small fixes * fixes * fix cast * update settings code * bug fixes * fix plugins disabled warning * Info bar in settings * settings ui fixes * code clean up * fix spelling * fix spelling * code optimization * changes * fix code * switch to char* * update comments * validate plugin ID * spell fixes * spell fixes * fix IPlugin interface * Update Directory.Packages.props hopefully fixes unit tests * revert change of nuget pkg * fixes * fix spell check * add todo comment * improve gpo.h * improve gpo.h * update gpo.h * clean up code in gpo.h * fix build * try to fix build * xaml fix * Fix getting string value from the registry * communicate policy state suing settings.json * various changes and gpo docs * spell fixes * PT Run: Policy handling * spell fix * fix logging * fix admx revision * revision fix 2 * review feedback 1 * review feedback 2 * dev docs update * fix typo
127 lines
6.5 KiB
Markdown
127 lines
6.5 KiB
Markdown
# Group Policy Objects
|
|
|
|
Since version 0.64, PowerToys is released on GitHub with GroupPolicyObject files. You can check these releases on https://github.com/microsoft/PowerToys/releases .
|
|
|
|
## How to install
|
|
|
|
### Add the administrative template to an individual computer
|
|
|
|
1. Copy the "PowerToys.admx" file to your Policy Definition template folder. (Example: C:\Windows\PolicyDefinitions)
|
|
2. Copy the "PowerToys.adml" file to the matching language folder in your Policy Definition folder. (Example: C:\Windows\PolicyDefinitions\en-US)
|
|
|
|
### Add the administrative template to Active Directory
|
|
|
|
1. On a domain controller or workstation with RSAT, go to the **PolicyDefinition** folder (also known as the *Central Store*) on any domain controller for your domain. For older versions of Windows Server, you might need to create the **PolicyDefinition** folder. For more information, see [How to create and manage the Central Store for Group Policy Administrative Templates in Windows](https://support.microsoft.com/help/3087759/how-to-create-and-manage-the-central-store-for-group-policy-administra).
|
|
2. Copy the "PowerToys.admx" file to the PolicyDefinition folder. (Example: %systemroot%\sysvol\domain\policies\PolicyDefinitions)
|
|
3. Copy the "PowerToys.adml" file to the matching language folder in the PolicyDefinition folder. Create the folder if it doesn't already exist. (Example: %systemroot%\sysvol\domain\policies\PolicyDefinitions\EN-US)
|
|
4. If your domain has more than one domain controller, the new ADMX files will be replicated to them at the next domain replication interval.
|
|
|
|
### Scope
|
|
|
|
You will find the policies under "Administrative Templates/Microsoft PowerToys" in both the Computer Configuration and User Configuration folders. If both settings are configured, the setting in Computer Configuration takes precedence over the setting in User Configuration.
|
|
|
|
## Policies
|
|
|
|
### Configure global utility enabled state
|
|
|
|
This policy configures the enabled state for all PowerToys utilities.
|
|
|
|
If you enable this setting, all utilities will be always enabled and the user won't be able to disable it.
|
|
|
|
If you disable this setting, all utilities will be always disabled and the user won't be able to enable it.
|
|
|
|
If you don't configure this setting, users are able to disable or enable the utilities.
|
|
|
|
The individual enabled state policies for the utilities will override this policy.
|
|
|
|
### Configure enabled state for individual utilities
|
|
|
|
For each utility shipped with PowerToys, there's a "Configure enabled state" policy, which forces and Enabled state for the utility.
|
|
|
|
If you enable this setting, the utility will be always enabled and the user won't be able to disable it.
|
|
|
|
If you disable this setting, the utility will be always disabled and the user won't be able to enable it.
|
|
|
|
If you don't configure this setting, users are able to disable or enable the utility.
|
|
|
|
This policy has a higher priority than the policy "Configure global utility enabled state" and overrides it.
|
|
|
|
### Allow experimentation
|
|
|
|
This policy configures whether PowerToys experimentation is allowed. With experimentation allowed the user sees the new features being experimented if it gets selected as part of the test group. (Experimentation will only happen on Windows Insider builds.)
|
|
|
|
If this setting is not configured or enabled, the user can control experimentation in the PowerToys settings menu.
|
|
|
|
If this setting is disabled, experimentation is not allowed.
|
|
|
|
If this setting is not configured, experimentation is allowed.
|
|
|
|
### Installer and Updates
|
|
|
|
#### Disable per-user installation
|
|
|
|
This policy configures whether PowerToys per-user installation is allowed or not.
|
|
|
|
If enabled, per-user installation is not allowed.
|
|
|
|
If disabled or not configured, per-user installation is allowed.
|
|
|
|
You can set this policy only as Computer policy.
|
|
#### Disable automatic downloads
|
|
|
|
This policy configures whether automatic downloads of available updates are disabled or not. (On metered connections updates are never downloaded.)
|
|
|
|
If enabled, automatic downloads are disabled.
|
|
|
|
If disabled or not configured, the user is in control of automatic downloads setting.
|
|
|
|
#### Suspend Action Center notification for new updates
|
|
|
|
This policy configures whether the action center notification for new updates is suspended for 2 minor releases. (Example: if the installed version is v0.60.0, then the next notification is shown for the v0.63.* release.)
|
|
|
|
If enabled, the notification is suspended.
|
|
|
|
If disabled or not configured, the notification is shown.
|
|
|
|
Note: The notification about new major versions is always displayed.
|
|
|
|
<!-- This policy is implemented for later usage (PT v1.0 and later) and therefore inactive. (To make it working please update `src/runner/UpdateUtils.cpp`)
|
|
#### Disable automatic update checks
|
|
|
|
This policy allows you to disable automatic update checks running in the background. (The manual check in PT Settings is not affected by this policy.)
|
|
|
|
If enabled, the automatic update checks are disabled.
|
|
|
|
If disabled or not configured, the automatic update checks are enabled.
|
|
-->
|
|
|
|
### PowerToys Run
|
|
|
|
#### Configure enabled state for all plugins
|
|
|
|
This policy configures the enabled state for all PowerToys Run plugins. All plugins will have the same state.
|
|
|
|
If you enable this setting, the plugins will be always enabled and the user won't be able to disable it.
|
|
|
|
If you disable this setting, the plugins will be always disabled and the user won't be able to enable it.
|
|
|
|
If you don't configure this setting, users are able to disable or enable the plugins.
|
|
|
|
You can override this policy for individual plugins using the policy "Configure enabled state for individual plugins".
|
|
|
|
Note: Changes require a restart of PowerToys Run.
|
|
|
|
#### Configure enabled state for individual plugins
|
|
|
|
With this policy you can configures an individual enabled state for each PowerToys Run plugin that you add to the list.
|
|
|
|
If you enable this setting, you can define the list of plugins and their enabled states:
|
|
- The value name (first column) is the plugin ID. You will find it in the plugin.json which is located in the plugin folder.
|
|
- The value (second column) is a numeric value: 0 for disabled, 1 for enabled and 2 for user takes control.
|
|
- Example to disable the Program plugin: `791FC278BA414111B8D1886DFE447410 | 0`
|
|
|
|
If you disable or don't configure this policy, either the user or the policy "Configure enabled state for all plugins" takes control over the enabled state of the plugins.
|
|
|
|
You can set the enabled state for all plugins not listed here using the policy "Configure enabled state for all plugins".
|
|
|
|
Note: Changes require a restart of PowerToys Run. |