I am able to harden the Windows 2019 Standard Image using packer using LGPO.exe However, immediately after hardening it, the packer fails to connect to the EC2, I presume it