Skip to content

Win11 Creator: autounattend.xml not applied, FirstLogon.ps1 never runs on fresh install #4116

@troponaut

Description

@troponaut

⚙️ Issue Checklist

  • I have read the guidelines.
  • I checked for duplicate issues.
  • I searched for existing discussions.
  • I checked for an existing pull request that addresses this issue.

📜 What part of Winutil are you having issues with?

Win11 Creator

📝 Provide a clear and concise description of the issue.

I’m seeing a reproducible issue with Win11 Creator output ISOs: unattended actions are not applied during setup, and first-logon actions never run.

🔄 Steps to reproduce the issue.

Repro

  1. Use Winutil Win11 Creator to generate a modified Windows 11 ISO (latest iso downloaded the same day from Microsoft).
  2. Boot from that ISO and do a clean install.
  3. Complete OOBE and sign in to first desktop.

Expected

autounattend.xml is honored during setup.
FirstLogon.ps1 runs on first logon.
Post-install cleanup/actions happen (ex: Start bar cleanup, Windows.old cleanup, re-enable updates).

Actual

First-logon script does not run.
Other unattended post-install actions are missing.
FirstLogon.log is not created.

Additional observations

After installation is complete, C:\Windows\Setup\ only contains a single directory State. No Scripts folder/no scripts have been extracted here.

The generated/modified iso does indeed contain the autounattend.xml file on the root.

❌ Paste the full error output (if available).

No response

🖼️ Additional context.

After installation is complete, C:\Windows\Setup\ only contains a single directory State. No Scripts folder/no scripts have been extracted here.

The created iso does contain on its root the autounattend.xml file

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions