I too am getting the exact same error with Server 2012. I'm not sure 
exactly what the issue is, or how to work around it. This is with Packer 
1.0.0.

I don't understand why Packer is trying to use the Task Scheduler to run 
PowerShell scripts in the first place. Why doesn't it just upload the 
script and execute?

The OP said not elevating the script seems to work, so I will give that a 
shot, but that shouldn't matter.

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/9ebfe018-63ea-476a-968e-763b614b0020%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to