Skip to content

Image fails to finalize #427

Description

@gfrancesco

Hi,
I'm trying to create a Win 11 image for OpenStack, I'm using a Windows Server VM as the builder.
I manage to get the image to build without errors reported on the builder machine, the Win 11 image is booting fine on OpenStack.

However it doesn't look it is fully finalized:

  • At first boot a shell pops up trying to run (and failing) the RunBeforeWindowsUpdates.ps1 script
6/25/2026 12:12:18 PM - StatusInitial: Automated instance configuration started...
6/25/2026 12:12:19 PM - WindowsInfo: Windows version 10.0.26200.0. PS version 5.1.26100.8655.
Executing script C:\UnattendResources\CustomScripts\RunBeforeWindowsUpdates.ps1
  • The timezone has not been set despite the logs reporting that it has been done

  • The directory C:\UnattendResources and all its content is still there, below the logs in image-generation-log:

6/25/2026 2:32:06 PM - StatusInitial: Automated instance configuration started...
6/25/2026 2:32:08 PM - WindowsInfo: Windows version 10.0.26200.0. PS version 5.1.26100.6584.
6/25/2026 2:32:34 PM - CustomScripts(RunBeforeWindowsUpdates.ps1): RunBeforeWindowsUpdates.ps1 executed successfully
6/25/2026 3:33:22 PM - Updates(6): Available updates were installed successfully. Rebooting...
6/25/2026 3:58:18 PM - StatusInitial: Automated instance configuration started...
6/25/2026 3:58:21 PM - WindowsInfo: Windows version 10.0.26200.0. PS version 5.1.26100.8655.
6/25/2026 3:58:36 PM - CustomScripts(RunBeforeWindowsUpdates.ps1): RunBeforeWindowsUpdates.ps1 executed successfully
6/25/2026 4:00:43 PM - Updates(2): Available updates were installed successfully. Rebooting...
6/25/2026 4:02:45 PM - StatusInitial: Automated instance configuration started...
6/25/2026 4:02:47 PM - WindowsInfo: Windows version 10.0.26200.0. PS version 5.1.26100.8655.
6/25/2026 4:03:02 PM - CustomScripts(RunBeforeWindowsUpdates.ps1): RunBeforeWindowsUpdates.ps1 executed successfully
6/25/2026 4:03:27 PM - Updates: All available updates were installed successfully
6/25/2026 4:23:22 PM - Cleanup: Updates were cleaned up successfully
6/25/2026 4:29:29 PM - Cloudbase-InitSetupComplete: Cloudbase-Init service set to start using SetupComplete
6/25/2026 4:29:30 PM - Cloudbase-Init: Service installed successfully under user cloudbase-init
6/25/2026 4:29:30 PM - Defragment: Image was defragemented successfully
6/25/2026 4:29:30 PM - Ipconfig: IPs were released successfully
6/25/2026 4:29:33 PM - Ping: Enabled ping for IPv4 and IPv6
6/25/2026 4:29:34 PM - IPv6: RandomizeIdentifiers and UseTemporaryAddresses were disabled
6/25/2026 4:29:38 PM - AlwaysActive: Always active mode was set.
6/25/2026 4:29:38 PM - Customization(1): Set timezone: W. Europe Standard Time
6/25/2026 4:29:38 PM - Drivers: PersistDrivers was set to True in the unattend.xml
6/25/2026 4:29:38 PM - CustomScripts(RunBeforeSysprep.ps1): RunBeforeSysprep.ps1 executed successfully
6/25/2026 4:29:39 PM - Sysprep: Sysprep initiated successfully

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions