{"action":"created","issue":{"url":"https://api.github.com/repos/mitchellh/packer/issues/4134","repository_url":"https://api.github.com/repos/mitchellh/packer","labels_url":"https://api.github.com/repos/mitchellh/packer/issues/4134/labels{/name}","comments_url":"https://api.github.com/repos/mitchellh/packer/issues/4134/comments","events_url":"https://api.github.com/repos/mitchellh/packer/issues/4134/events","html_url":"https://github.com/mitchellh/packer/issues/4134","id":188072192,"number":4134,"title":"Packer stuck at: \"Gracefully halting virtual machine\" after Windows sysprep ","user":{"login":"kagarlickijd","id":16048228,"avatar_url":"https://avatars.githubusercontent.com/u/16048228?v=3","gravatar_id":"","url":"https://api.github.com/users/kagarlickijd","html_url":"https://github.com/kagarlickijd","followers_url":"https://api.github.com/users/kagarlickijd/followers","following_url":"https://api.github.com/users/kagarlickijd/following{/other_user}","gists_url":"https://api.github.com/users/kagarlickijd/gists{/gist_id}","starred_url":"https://api.github.com/users/kagarlickijd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kagarlickijd/subscriptions","organizations_url":"https://api.github.com/users/kagarlickijd/orgs","repos_url":"https://api.github.com/users/kagarlickijd/repos","events_url":"https://api.github.com/users/kagarlickijd/events{/privacy}","received_events_url":"https://api.github.com/users/kagarlickijd/received_events","type":"User","site_admin":false},"labels":[{"id":33051538,"url":"https://api.github.com/repos/mitchellh/packer/labels/bug","name":"bug","color":"f7c6c7","default":true},{"id":45643873,"url":"https://api.github.com/repos/mitchellh/packer/labels/need-more-info","name":"need-more-info","color":"fbca04","default":false},{"id":95839186,"url":"https://api.github.com/repos/mitchellh/packer/labels/windows-guest","name":"windows-guest","color":"207de5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-08T18:47:28Z","updated_at":"2016-11-12T13:13:00Z","closed_at":null,"body":"Hi there, my environment is:\r\nHost platform - macOS 10.12.1\r\nPacker version - 0.11.0 (**the same with packer 0.10.2**)\r\nVagrant version - 1.8.6\r\nVMware Fusion Pro version - 8.5.1\r\nVirtualBox version - 5.1.18\r\nParallels version - 12.0.2\r\n\r\nvagrant plugin list\r\nvagrant-aws (0.7.2)\r\nvagrant-parallels (1.6.3)\r\nvagrant-share (1.1.5, system)\r\nvagrant-vmware-fusion (4.0.14)\r\n\r\n**Template gist:** https://gist.github.com/kagarlickijd/bdd336a08f3d70b5bab9c27f9c5aac04\r\n**Autounattend.xml gist:** https://gist.github.com/kagarlickijd/71cc680ebc28e04d26031f7688cdb488\r\n**enable-WinRM.ps1 gist:** https://gist.github.com/kagarlickijd/470a17fdabc33f29c8fde1be34dfb658\r\n**unattend.xml gist**: https://gist.github.com/kagarlickijd/37fcba51a61b878c3da1a44ffbc190eb\r\n**install-GuestTools.ps1 gist:** https://gist.github.com/kagarlickijd/3590f725bf467ba84c869ddf2e4f6a4d\r\n**postSetup.ps1 gist:** https://gist.github.com/kagarlickijd/756d5ae46afad17788f53f6680760cf0\r\n**shutdown-packer.bat gist:** https://gist.github.com/kagarlickijd/fa354787c44702a5882d26a8d7a318fd\r\n\r\nIf I use  `\"shutdown_command\": \"shutdown /s /t 10 /f /d p:4:1\"` it works correctly for VirtualBox, VMware and Parallels.\r\n\r\nBut I need to perform sysprep instead of just shutdown, so I use `shutdown-packer.bat` script in `shutdown_command` section.\r\n\r\nIt works correctly with VirtualBox, BUT both Parallels and VMware builders are stuck at \"Gracefully halting virtual machine\" step.\r\n\r\nVM is powered down correctly with `shutdown-packer.bat` script, so it seems like Packer doesn't receive \"messages\" from Parallels and VMware.\r\n\r\nHow can this one can be resolved?\r\n\r\nThanks in advance!\r\n"},"comment":{"url":"https://api.github.com/repos/mitchellh/packer/issues/comments/260121436","html_url":"https://github.com/mitchellh/packer/issues/4134#issuecomment-260121436","issue_url":"https://api.github.com/repos/mitchellh/packer/issues/4134","id":260121436,"user":{"login":"rickard-von-essen","id":557699,"avatar_url":"https://avatars.githubusercontent.com/u/557699?v=3","gravatar_id":"","url":"https://api.github.com/users/rickard-von-essen","html_url":"https://github.com/rickard-von-essen","followers_url":"https://api.github.com/users/rickard-von-essen/followers","following_url":"https://api.github.com/users/rickard-von-essen/following{/other_user}","gists_url":"https://api.github.com/users/rickard-von-essen/gists{/gist_id}","starred_url":"https://api.github.com/users/rickard-von-essen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rickard-von-essen/subscriptions","organizations_url":"https://api.github.com/users/rickard-von-essen/orgs","repos_url":"https://api.github.com/users/rickard-von-essen/repos","events_url":"https://api.github.com/users/rickard-von-essen/events{/privacy}","received_events_url":"https://api.github.com/users/rickard-von-essen/received_events","type":"User","site_admin":false},"created_at":"2016-11-12T13:13:00Z","updated_at":"2016-11-12T13:13:00Z","body":"Could you provide the templet for VirtualBox that works?"}}
{"actor":{"display_login":"rickard-von-essen"}}