diff --git a/docs/enterprise/policies.md b/docs/enterprise/policies.md index be727fee52b..77d1a3fdb4e 100644 --- a/docs/enterprise/policies.md +++ b/docs/enterprise/policies.md @@ -38,42 +38,14 @@ You can get the ADMX and ADML files from either an existing installation or by d ### Step 2: Configure policy values -Edit the policy values according to your requirements: +After installing the ADMX and ADML files, configure policy values through your management tool: -**String policies** - policies that accept text values or JSON strings: +- For Active Directory environments, use the Group Policy Editor (`gpedit.msc`) and navigate to **Computer Configuration** > **Administrative Templates** > **Visual Studio Code**. +- For cloud-managed devices, use your MDM solution (for example, Microsoft Intune) to configure the imported VS Code administrative template policies. +- Open each policy, set it to **Enabled** or **Disabled**, and provide any required value in the policy UI. +- Leave policies in the **Not Configured** state if you don't want to enforce them. -```xml - -AllowedExtensions -{"microsoft": true, "github": true} - - -UpdateMode -start -``` - -> [!IMPORTANT] -> If there's a syntax error in the policy value, the setting will not be applied. You can check the Window log in VS Code for errors (press `kb(workbench.action.showCommands)` and enter **Show Window Log**). - -**Boolean policies** - policies that accept true/false values: - -```xml - -EnableFeedback - - - -EnableTelemetry - -``` - -**Remove unwanted policies** - delete both the key and value for any policy you don't want to enforce: - -```xml - -UpdateMode -start -``` +Configured policy values are written to the registry under `Software\Policies\Microsoft\VSCode`. Refer to the [policy reference](#vs-code-enterprise-policy-reference) below for details on each policy's accepted values and behavior. diff --git a/docs/enterprise/policies.template.md b/docs/enterprise/policies.template.md index 19366d038dc..7d22eca4ca5 100644 --- a/docs/enterprise/policies.template.md +++ b/docs/enterprise/policies.template.md @@ -38,42 +38,14 @@ You can get the ADMX and ADML files from either an existing installation or by d ### Step 2: Configure policy values -Edit the policy values according to your requirements: +After installing the ADMX and ADML files, configure policy values through your management tool: -**String policies** - policies that accept text values or JSON strings: +- For Active Directory environments, use the Group Policy Editor (`gpedit.msc`) and navigate to **Computer Configuration** > **Administrative Templates** > **Visual Studio Code**. +- For cloud-managed devices, use your MDM solution (for example, Microsoft Intune) to configure the imported VS Code administrative template policies. +- Open each policy, set it to **Enabled** or **Disabled**, and provide any required value in the policy UI. +- Leave policies in the **Not Configured** state if you don't want to enforce them. -```xml - -AllowedExtensions -{"microsoft": true, "github": true} - - -UpdateMode -start -``` - -> [!IMPORTANT] -> If there's a syntax error in the policy value, the setting will not be applied. You can check the Window log in VS Code for errors (press `kb(workbench.action.showCommands)` and enter **Show Window Log**). - -**Boolean policies** - policies that accept true/false values: - -```xml - -EnableFeedback - - - -EnableTelemetry - -``` - -**Remove unwanted policies** - delete both the key and value for any policy you don't want to enforce: - -```xml - -UpdateMode -start -``` +Configured policy values are written to the registry under `Software\Policies\Microsoft\VSCode`. Refer to the [policy reference](#vs-code-enterprise-policy-reference) below for details on each policy's accepted values and behavior.