- Newest
- Most votes
- Most comments
When image creation fails during the profile copying phase despite the Image Checker passing, there are several additional areas to investigate that may not be caught by the Image Checker:
First, verify that the WorkSpace is not 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" }
For Windows 7 WorkSpaces specifically, ensure that all folder paths within the user profile are less than 261 characters, as long profile paths can cause image creation errors. Additionally, verify that the system and all application packages have full permissions on the profile folder.
Even if files appear unlocked, some files in the user profile may still be locked by a process or in use during image creation, which can cause the profile copying to fail. This can happen even after stopping explorer.exe, as other background processes may maintain locks.
Group Policy Objects can also interfere with image creation. Some GPOs restrict access to the RDP certificate thumbprint when requested by the EC2Config service or EC2Launch scripts during Windows instance configuration. Before attempting to create an image, try moving the WorkSpace to a new organizational unit with blocked inheritance and no GPOs applied.
For Windows Remote Management, ensure the WinRM service is configured to start automatically by opening services.msc, locating Windows Remote Management (WS-Management), and setting its Startup type to Automatic.
Regarding log capture during the imaging process, the managed nature of WorkSpaces means that direct access to logs during the suspended/imaging state is limited. Your best approach is to thoroughly investigate these additional potential issues before initiating image creation, as the automatic rollback will indeed remove any logs generated during the failed imaging attempt.
Sources
Create a custom WorkSpaces image and bundle for WorkSpaces Personal - Amazon WorkSpaces
Create a custom image and bundle for WorkSpaces Pools - Amazon WorkSpaces
Relevant content
asked 2 months ago
asked 7 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
