"ImageChecker" fails to launch - "Line 1812. Security error."

0

Workspaces: Custom image based on "Windows 10 Experience provided by Windows Server 2016"
Pending Windows updates? No
Necessary free diskspace on C and less then 10GB for the userprofile on the D-drive? Yes
Rebooted Workspace? Yes
ExecutionPolicy? Bypass

Hello,

This Workspace have worked before to create images from and the last time it worked was May 2020.
However now when I was going to create a custom image with minor modifications:

  • Updated through Windows Update ("winver" reports Windows Server 2016 Ver 1607 Build 14393.3866)
  • Modified an already existing PS-script
    and now image creation fails with:
    "Error during validation of Workspaces image"

Trying to run "imagechecker.exe" located in C:\Program Files\Amazon does... nothing.
The application does not start at all, it gives an UAC-prompt but then nothing happens.
Tried both running it using CMD (w. and w/o running CMD as admin) and executing the exe directly.
The imagechecker-log shows this:
"[Error] (ImageChecker.exe) Line 1812. Security error."

I tried going through this list here for reasons why image creation fails:
https://docs.aws.amazon.com/workspaces/latest/adminguide/create-custom-bundle.html#image_checker_tips
but I can't figure out why it fails and why even the "imagechecker.exe" doesn't start.

I never used "imagechecker" before so I can't give you any history that it has worked ever since I never used it before.
Tried downloading it using the dedicated URL if the download of the exe was corrupted but no change.

EventViewer > "Applications and Services Logs" > "Amazon_Workspaces" shows me the same as the manual log located in C:\Program Files\Amazon i.e:
"[Error] (ImageChecker.exe) Line 1812. Security error."

That is the last line in the log.

Tried to find out exactly what that error means but its just the general error of "Security error" occurring on line 1812 and I haven't found any documentation or forum posts.

Running this script:
C:\Program Files\Amazon\WorkspacesConfig\scripts\imagePrepValidation.ps1
simply returns "True"
the script seems to be the real backend that "imagechecker" possibly provides a GUI / frontend to and contain various functions checking that all requirements are met but all I get returned by the script is "True".
Need to delve deeper into the script at a later stage since its quite late here.

Would be grateful for some clarification of the error message and/or help on how to resolve the issue.

Thanks in advance!

asked 4 years ago282 views
4 Answers
0

This is still an issue, tried to download the "imagechecker.exe" but it still behaves as my old post:
I don't get any GUI / window at all but I can see that a log-file is created
That log ends with:
2021-02-17 17:02:30Z [Error] (ImageChecker.exe) Line 1812. Security error.

Any ideas or anything anyone has encountered?

Would REALLY appreciate an answer.

Krgds

answered 3 years ago
0

Hello

The same issue, tried from multiple workspaces.
Tried looking into Event viewer if you get any more app info there but says the same as the log

I am curious what Line - 1812 is because that would most likely narrow down possible culprits

answered 3 years ago
0

I seeing the same issue.
[Error] (ImageChecker.exe) Line 1812. Security error.

JV1
answered 3 years ago
0

I have the same error, has this been resolved??
2021-03-25 20:16:01Z [Information] (ImageChecker.exe) Successfully downloaded and validated file 'imagePrepValidation.ps1' under 'updates/scripts/casigned' from server '198.19.64.253' to 'C:\Program Files\Amazon\WorkspacesConfig\scripts\imagePrepValidation.ps1'.
2021-03-25 20:16:01Z [Error] (ImageChecker.exe) Line 1812. Security error.

answered 3 years 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.

Guidelines for Answering Questions