Skip to content

Conversation

@ntrogh
Copy link
Contributor

@ntrogh ntrogh commented Jan 13, 2026

Create a dedicated Enterprise node in the table of contents. Split the existing enterprise article into dedicated articles per topic.

@ntrogh ntrogh requested review from Copilot and joshspicer and removed request for Copilot January 13, 2026 16:03
@ntrogh
Copy link
Contributor Author

ntrogh commented Jan 13, 2026

@joshspicer I've refactored the existing enterprise docs. Can you give it a review and let me know if there's anything missing, and if the structure and naming makes sense to you?

The enterprise policies article is generated automatically when we publish the docs, based on the policies available in the vscode repo.

@ntrogh ntrogh changed the title Refactor enterprise documentation and remove outdated content Refactor enterprise documentation Jan 13, 2026

#### Step 1: Obtain the sample policy file

The sample `policy.json` file is included with each VS Code release. You can obtain it from either an existing installation or by downloading and extracting the VS Code archive. The file is located in the `resources/app/policies` directory.
Copy link
Member

@pwang347 pwang347 Jan 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I might have missed this previously, but other sections specify the release version for the sample in this format (should be 1.106 for linux):

Tip

Starting from VS Code version 1.99, each release ships with a sample .mobileconfig file in this location.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. Also included for Linux

pwang347
pwang347 previously approved these changes Jan 14, 2026
Comment on lines +33 to +34
> [!IMPORTANT]
> If there's a syntax error in the policy value, the `extensions.allowed` setting is not applied. You can check the Window log in VS Code for errors (press `kb(workbench.action.showCommands)` and enter **Show Window Log**).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is true for any of the policies (the JSON-based ones are specifically vulnerable to misconfiguration though. Is there a more global spot to highlight this fact (in addition to here)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've included it in the policies doc in the section about configuring string values.


VS Code has support for [Windows Registry-based Group Policy](https://learn.microsoft.com/previous-versions/windows/desktop/policy/implementing-registry-based-policy). Starting from VS Code version 1.69, each release ships with a `policies` directory containing ADMX template files that define the available policies.

### Configure policies using Local Group Policy Editor
Copy link
Member

@joshspicer joshspicer Jan 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be it be possible to convey somehow that these manual steps for Windows/macOS are really only useful for testing? Emphasize that 'real' deployments use some MDM solution/Intune/etc....

I've always felt these docs focused too much on the testing case and, if I was an org admin not super familiar with MDM, would be a bit lost

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see Deploy policies at scale. I feel like that should higher in this doc and the rest of this file is 'if you'd like to test locally, here are the steps.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I updated the text to include manual steps. I've also changed the order and made the deployment option (scale/manual) as collapsible sections.

Suggested change
### Configure policies using Local Group Policy Editor
These profiles can be deployed using Mobile Device Management (MDM) solutions or installed manually on individual devices.

joshspicer
joshspicer previously approved these changes Jan 14, 2026
Copy link
Member

@joshspicer joshspicer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fantastic - thanks so much for the care and attention to detail @ntrogh

Provided some minor suggestions

@ntrogh ntrogh dismissed stale reviews from joshspicer and pwang347 via 1ef3e59 January 14, 2026 21:57
@ntrogh ntrogh marked this pull request as ready for review January 15, 2026 10:21
@ntrogh
Copy link
Contributor Author

ntrogh commented Jan 15, 2026

@pwang347 @joshspicer I implemented the requested changes. Can you give it another quick review?

@vs-code-engineering vs-code-engineering bot added this to the January 2026 milestone Jan 15, 2026
Copy link

@maxine-yx maxine-yx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, this is a well-executed refactoring of the enterprise documentation. The new structure with dedicated pages for policies, AI settings, telemetry, updates, and extensions will make it much easier for enterprise users to find relevant information. All the link updates are consistent and correct.

lszomoru
lszomoru previously approved these changes Jan 15, 2026
joshspicer
joshspicer previously approved these changes Jan 15, 2026
@ntrogh ntrogh dismissed stale reviews from joshspicer and lszomoru via b49c06c January 15, 2026 19:55
@ntrogh ntrogh merged commit e563ea3 into main Jan 15, 2026
4 checks passed
@ntrogh ntrogh deleted the ntrogh/enterprise-docs branch January 15, 2026 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants