---
title: "Packer Windows builder: review, setup & limitations · Undominated.ai"
canonical: https://undominated.ai/skills/hashicorp-windows-builder/
description: "Pins HashiCorp's Packer Windows builder, which provisions over WinRM, deletes guest temp files during cleanup, and says a failed build may leave resources running."
---

# Packer Windows builder: review, setup & limitations · Undominated.ai

> Pins HashiCorp's Packer Windows builder, which provisions over WinRM, deletes guest temp files during cleanup, and says a failed build may leave resources running.

[← Explore all skills](/skills/)

IMAGE BUILDING / HashiCorp

# Packer Windows builder

Pins HashiCorp's Packer Windows builder, which provisions over WinRM, deletes guest temp files during cleanup, and says a failed build may leave resources running.

 [See setup guidance ↓](#setup)[Original source ↗](https://github.com/hashicorp/agent-skills/tree/f706481af9b8fedb66de909f6243ad29601afa0c/plugins/packer/skills/windows-builder)

SOURCE REVIEW

 Reviewed 2026-10-15
 Evidence 5 linked sources
 Publisher HashiCorp
 Licence [MPL-2.0 ↗](https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/LICENSE)
 Revision f706481af9b8
 [Read what was—and wasn’t—checked ↓](#review)

“Build Windows images with Packer using WinRM communicator and PowerShell provisioners. …”

 [HashiCorp · upstream description ↗](https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/plugins/packer/skills/windows-builder/SKILL.md) Our analysis follows below.

01 / THE REASONING

## Why this made the selection.

 - The file says a failed build may leave resources running and that cleanup has to be verified. Its cleanup provisioner deletes guest temp files and the Windows Update cache, and it stops and starts wuauserv.
- The AWS and Azure examples communicate over WinRM with winrm_insecure set true, and the setup script allows unencrypted WinRM and Basic authentication.

### A good fit for

 - Reviewing a Packer Windows image build before anyone runs it, including what a failed build can leave behind
- Inspect the remote bootstrap step before adopting the Windows software-provisioning example.

### Weigh up before choosing

 - The in-guest cleanup provisioner does not remove cloud resources. The file's own note says a failed build may leave resources running and that this must be checked separately.
- The examples set winrm_insecure and the setup script allows unencrypted Basic WinRM. This review does not treat that as a hardened communicator.
- `claude plugin install packer@hashicorp` installs the packer plugin bundle, not this file alone. The individual path printed in the packer README is aws-ami-builder, not windows-builder.
- The file says to expect 45-120 minutes per build and that Windows Updates can take 1-2 hours. This review did not time a build.
- This review did not execute the resource.
- The software provisioner executes an unpinned remote PowerShell bootstrap through DownloadString and iex.

02 / THE REVIEW RECORD

## What we actually inspected.

Source review has boundaries. A clear record is more useful than a “safe” badge.

### Material inspected

 - plugins/packer/skills/windows-builder/SKILL.md
- README.md
- plugins/packer/README.md
- LICENSE

### Our findings

 - The file says failed builds may leave resources running and tells the reader to verify cleanup.
- The cleanup provisioner deletes temporary files and the Windows Update cache, and it force-stops then starts the wuauserv service.
- The AWS and Azure source examples set the communicator to winrm and set winrm_insecure to true. The setup script allows unencrypted WinRM and Basic authentication.
- The Windows Update example installs updates with an automatic reboot and a two-hour provisioner timeout, then uses a windows-restart provisioner.
- One software-install example downloads and invokes a remote Chocolatey install script.
- The software provisioner downloads the Chocolatey bootstrap over HTTPS and immediately executes the returned PowerShell text with iex.

### Not established by this review

 - The resource was not executed and its tools were not called.
- Packer was not run, no Windows image was built, and no cloud resource was cleaned up.
- The WinRM setup script was not executed and the remote install script was not downloaded.
- Not executed: it was not installed or run.

The review applies to the material and revision named here. A newer upstream release can change its behavior.

03 / PUT IT TO WORK

## Add a skill to your workflow.

[Upstream setup instructions ↗](https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/plugins/packer/README.md)

DOCUMENTED COMMAND

 claude plugin install packer@hashicorp Copy command ↗

Copying does not execute this command. It may retrieve a newer version than the reviewed source.

 - The packer README shows `claude plugin marketplace add hashicorp/agent-skills` and then `claude plugin install packer@hashicorp`. That installs the packer bundle, not this file alone.
- The same README's individual-skill example is `npx skills add hashicorp/agent-skills/plugins/packer/skills/aws-ami-builder`. That path is a different skill.
- The repository README also shows `npx skills add hashicorp/agent-skills`, which lists the repository's skills. This review did not install a plugin.

### Before you start

 - Claude Code if the packer plugin command is used
- Packer, plus an AWS, Azure, or VMware target, only if an operator later runs a build
- A Windows base image and a WinRM setup script, which this review did not run

### Compatibility

Claude Code · Codex · Cursor · GitHub Copilot · IBM Bob · Opencode

### Implementation

hcl · powershell

### Local skill text; a Packer build can create cloud images and change a Windows guest only if an operator runs it

 - Read the skill text
- Authenticate to AWS or Azure only if an operator runs a build with those credentials
- Delete guest files, stop wuauserv, or install updates only if an operator runs the provisioners

### Cost model

MPL-2.0; no Packer build was run

04 / FOLLOW THE EVIDENCE

## The source trail.

Our notes are separate from the original resource. Check upstream before adopting a new version.

 - [windows-builder SKILL.md ↗](https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/plugins/packer/skills/windows-builder/SKILL.md) Checked 2026-10-14 https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/plugins/packer/skills/windows-builder/SKILL.md Supports: Failed-build cleanup warning, WinRM settings, guest file deletion, and the update provisioner
- [Packer plugin README ↗](https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/plugins/packer/README.md) Checked 2026-10-14 https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/plugins/packer/README.md Supports: claude plugin install packer@hashicorp and a different individual skill path
- [Repository README ↗](https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/README.md) Checked 2026-10-14 https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/README.md Supports: MPL-2.0 statement and the repository skills command
- [Repository LICENSE ↗](https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/LICENSE) Checked 2026-10-14 https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/LICENSE Supports: Mozilla Public License Version 2.0
- [Pinned continuation review C2-W50 ↗](https://raw.githubusercontent.com/hashicorp/agent-skills/f706481af9b8fedb66de909f6243ad29601afa0c/plugins/packer/skills/windows-builder/SKILL.md) Checked 2026-10-15 https://raw.githubusercontent.com/hashicorp/agent-skills/f706481af9b8fedb66de909f6243ad29601afa0c/plugins/packer/skills/windows-builder/SKILL.md Supports: review.findings, bestFor, limitations, upstreamDescription

KEEP COMPARING

## Other approaches to consider.

Related by category or shared topics. These are alternatives to inspect, not a measured quality order.

 [### AWS AMI builder ↗ Builds an AMI with Packer's amazon-ebs builder, filters the source AMI instead of hardcoding one, and warns that the build spends AWS money.](/skills/hashicorp-aws-ami-builder/)[### Grafana Cloud Integrations ↗ Pins Grafana's cloud integrations skill, which scopes provider credentials and refuses in-place edits of provisioned dashboards.](/skills/grafana-cloud-integrations/)[### AKS Automatic Readiness ↗ Pins Microsoft's AKS Automatic readiness skill, which assesses a cluster or local manifests without changing the cluster and writes files only after an accepted diff.](/skills/microsoft-azure-kubernetes-automatic-readiness/)

 [AI Tools ↗](/tools/)[Skills ↗](/skills/)[Agents ↗](/agents/)[MCP Servers ↗](/mcp-servers/)[Workflows ↗](/workflows/)

## Continue your investigation

 - [Choose a toolkit](/tools/)
- [Inspect execution hosts](/agents/)
- [Check tool access](/mcp-servers/)
- [Check project dependencies](/check-repo/)
