Foreman does not get report and facts from Windows VM

Problem:
I am using Foreman 1.18 to provision Windows VM (Windows server 2016 and 2012) on the AWS, but it seems like the Foreman does not get the report and facts from that particular VM.

Expected outcome:
The provisioned Windows VM must send report and fact back to foreman and show on UI.

I think the problem is the user data template, I cannot find the right one for Windows OS. Could anyone help ? Thank you !