Skip to content

Creating workspace image fails with "ErrorCode": "Internal.ServerError"

0

I’m trying to create a aws custom Workspace image but every attempt fails with the following:

PS C:\Users\username> aws workspaces describe-workspace-images --image-ids wsi-id --region eu-west-2 { "Images": [ { "ImageId": "wsi-id", "Name": "test2withallapps", "Description": "test2withallapps", "OperatingSystem": { "Type": "WINDOWS" }, "State": "ERROR", "RequiredTenancy": "DEFAULT", "ErrorCode": "Internal.ServerError", "ErrorMessage": "There was an issue importing your image. Try importing the image again. If the issue persists, contact AWS Support (https://aws.amazon.com/contact-us).", "Created": "2025-11-14T09:12:29.715000+00:00", "OwnerAccountId": "1234567890", "Updates": { "UpdateAvailable": false, "Description": "This WorkSpace image does not have updates available." } } ] }

Workspace Spec

  • workspace has office 365(installation language -US ).
  • I have updated the unattented xml file with en-GB
  • My base image is Performance with Windows 10 (Server 2022 based) (WSP
  • Disk space: C: has >20 GB free
  • No extra drives attached
  • Windows fully updated, rebooted, no pending restarts

what I have tried

  • Created 4+ WorkSpaces from the same bundle → all fail with the same error
  • Confirmed WorkSpace is always in AVAILABLE state when taking the image
  • Ran ImageChecker and all tests passed
  • Retried with different image names
  • I tried creating a WorkSpace, installing Office 365 but not opening any Office app before creating the image Twice this actually worked.
  • I then tried to create another image from the same WorkSpace (still without opening Office apps), it fails again with the same Internal.ServerError Can anyone advise please

asked 10 months ago236 views

2 Answers
0

When creating a custom WorkSpace image, the "Internal.ServerError" error with the message "There was an issue importing your image" can occur due to several underlying issues.

Based on your description, here are some troubleshooting steps to consider:

  1. Check antivirus or security agent settings:
  • Temporarily disable any antivirus or security software during the image creation process as these can interfere with the process.
  1. Verify service account configurations:
  • If your application services are using domain accounts, change them to use Local System, Local Service, or Network Service instead.
  • You can check services through services.msc
  1. Check PowerShell execution policy:
  • Ensure that the PowerShell execution policy allows RemoteSigned scripts.
  • Verify this by running: Get-ExecutionPolicy
  1. Verify Windows Remote Management (WinRM) service configuration:
  • Ensure the "Windows Remote Management (WS-Management)" service is set to "Automatic" startup type.
  1. Check for domain guest group assignments:
  • Make sure the WorkSpace isn't assigned to a user within a Domain Guests group.
  1. Review Group Policy Objects (GPOs):
  • Some GPOs can restrict access to the RDP certificate thumbprint when requested by EC2Config service or EC2Launch scripts.
  • Try moving the WorkSpace to a new organizational unit with blocked inheritance and no GPOs applied.

The fact that you've successfully created images without opening Office apps but fail when you do suggests there might be an issue with how Office is configured or how it interacts with the image creation process. This could be related to licensing activation, configuration files, or other Office-specific settings.

Since you've already run the Image Checker and all tests passed, the issue might be occurring during the actual image import process rather than in the preparation phase. If you continue to experience this issue after trying these steps, contacting AWS Support as suggested in the error message would be the next appropriate step, as they can investigate specific issues with your WorkSpace configuration that require deeper investigation.
Sources
Error in creating custom image of windows workspace | AWS re:Post
Troubleshooting A WorkSpace custom image creation error - Best Practices for Deploying WorkSpaces

answered 10 months ago

0

All checks are ticked. Workspace is in Default Computer OU so no extra group policy is applied on it. We do not have any support contract with AWS. How would I raise ticket with AWS. Can you please advise

answered 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.