Hi,
The windows template you have created is causing the problem.Let me know with which windows OS you created the template(it should be Windows Server 2008 R2 Enterprise with Service Pack 1).check the bootstrap log file in the deployed VM for agent creation was successful or not?