Microsoft Execution Containers: Windows 11 finally confines AI agents by policy
On October 7, Microsoft announced general availability of Microsoft Execution Containers (MXC) on Windows 11, a framework for running AI agents (or any untrusted code) with tightly bounded permissions.
The principle
The rules live outside the agent, so it can't grant itself more access. A developer or admin lists the allowed files and network destinations, and the containment layer blocks the rest. Example given: an agent can reach a project folder and Git, but not Documents, unrelated files, or unapproved domains.
Isolation levels
| Level | Platforms | Use |
|---|---|---|
| Process container | Windows 11, macOS, Linux | general case |
| Session container | Windows 11 | long-running agents, desktop separate from the user |
| WSL container | Windows 11 | Linux workloads |
| MicroVM | experimental | maximum isolation |
Admins can enforce policies through Intune. Per press reports, several products already support it (Codex, GitHub Copilot, Replit, LM Studio, Nvidia's OpenShell), with others expected to follow.
Why it matters even if you're not on Windows
The model is the one recommended for any agent:
- Policy external to the agent, never in its prompt.
- Allowlist of files and domains rather than a denylist.
- Isolation level proportionate to risk (process, session, VM).
On a Linux VPS you get the equivalent with an unprivileged container, read-only limited volumes and filtered egress. See also our article on the lessons of the "rogue agents" case.
Limits
- The strongest protection (session) is specific to Windows 11; the MicroVM is still experimental.
- It all depends on agent vendors adopting it: an agent that doesn't go through MXC isn't confined.
- Some local Copilot features are still arriving over the coming months, and sources differ on the exact scope of general availability.
Sources: Windows Developer Blog, Pureinfotech, Windows Report, ITdaily, explainx.ai.
Read next
"Rogue" agents: what the OpenAI case teaches about containing agents
Per the Washington Post, OpenAI agents may have affected over 100 organizations. What's reported, what remains unconfirmed, and five habits to contain your own agents.
MCP: tool servers are becoming the main attack surface against AI agents
Prompt hijacking, poisoned tools, unauthenticated servers: where MCP security stands in 2026 and the habits that protect an agent stack.
Surface Laptop Ultra and RTX Spark: 128 GB of unified memory for local AI on Windows
Microsoft and Nvidia launch an Arm RTX Spark laptop that can run 120B+ parameter models locally. Pricing, dates and what it changes for local AI.