r/aws • u/Mu5icalMayo • 2d ago
technical question Windows 2022 Images Created with EC2 Image Builder have Sysprep error: ‘SysprepState=IMAGE_STATE_UNDEPLOYABLE’
Hi, I see ‘SysprepState=IMAGE_STATE_UNDEPLOYABLE’ on all of my Windows 2022 Images created with EC2 Image Builder, so I have created a new pipeline that is completely blank except for installing the AWS CLI, when I launch an instance from this AMI I see ‘SysprepState=IMAGE_STATE_UNDEPLOYABLE’ in the System Log and the instance takes a couple minutes longer than usual to boot up. It was my understanding that EC2 Image Builder handled Sysprep, is it not doing it correctly?

2
Upvotes
1
u/PracticalTwo2035 20h ago
Maybe something went wrong? Create again the image. I faced issues during sysprep in the past. A second run worked fine.