Skip to content

Error in creating custom image of windows workspace

0

I can't create image for windows workspace running on "Operating system Windows Server 2016". I have run ImageChecker many times and all successful before creating image. During image creation, it stays in Pending status for a long time when Status message shows "Creating copy of WorkSpace (25%)". Then shows "Error, An unknown error has occurred. Contact AWS support for help: Learn more " Please help

asked a year ago328 views

2 Answers
1

Based on your description, you're encountering an issue creating a custom image from your Windows Server 2016 WorkSpace despite passing all Image Checker tests. Here are several troubleshooting steps to resolve this issue:

  1. Check your antivirus or security agent settings:
  • Turn off 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 (accessible via services.msc) are using domain accounts, change them to use Local System, Local Service, or Network Service instead.
  1. Check PowerShell execution policy:
  • Ensure that the PowerShell execution policy allows RemoteSigned scripts. You can verify this by running the PowerShell command: Get-ExecutionPolicy
  1. Verify Windows Remote Management (WinRM) service configuration:
  • Open services.msc
  • Find "Windows Remote Management (WS-Management)"
  • Ensure its startup type is set to "Automatic"
  1. Check for domain guest group assignments:
  • Make sure the WorkSpace isn't assigned to a user within a Domain Guests group
  • You can check for domain accounts by running this PowerShell command: Get-WmiObject -Class Win32_Service | Where-Object { $_.StartName -like "$env:USERDOMAIN" }
  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 (OU) with blocked inheritance and no GPOs applied

If you've tried these steps and still encounter the issue, it's recommended to contact AWS Support as indicated in the error message for further assistance, as there may be specific issues with your WorkSpace configuration that require deeper investigation.
Sources
Amazon WorkSpaces Personal Playbook | AWS re:Post
Create a custom image and bundle for WorkSpaces Pools - Amazon WorkSpaces
Create a custom WorkSpaces image and bundle for WorkSpaces Personal - Amazon WorkSpaces
Best practices for successful BYOL image creation for Amazon WorkSpaces | Desktop and Application Streaming

answered a year ago

EXPERT

reviewed a year ago

0

I was just in a similiar situation, Image checker was passsing but still ran into the same error you described. Check the logs - look for something like "createimage_PreValidation.ps1" C:\ProgramData\Amazon\WorkSpacesConfig\Logs. Search for any errors or warnings. In my case it was two things:

Amazon SSM Agent is enabled (warning) A staged AppX package exists (warning)

I disabled the agent and removed the staged appx package - it worked after that.

answered 9 months ago

  • Thank you for your answer. There is no WorkSpacesConfig folder under C:\ProgramData\Amazon folder?

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.