joefitzgerald / packer-windows

Windows Packer Templates
MIT License
1.63k stars 1.12k forks source link

Hangs on Sdelete Windows 10 #248

Open discentem opened 7 years ago

discentem commented 7 years ago

    virtualbox-iso:
    virtualbox-iso: SDelete v2.0 - Secure file delete
    virtualbox-iso: Copyright (C) 1999-2016 Mark Russinovich
    virtualbox-iso: Sysinternals - www.sysinternals.com
    virtualbox-iso:
    virtualbox-iso: SDelete is set for 1 pass.
discentem commented 7 years ago

Any thoughts on why this is happening? Also, is it safe to force exit?

Edit: I found out forcing exit deletes the VM. is sdelete something I can disable? what cons are there to this?

bcc commented 7 years ago

This is an issue with sdelete 2.0 - I reverted to an old copy of 1.61 and it works fine. You can remove it, but your .box file will be bigger.

larytet commented 6 years ago

Confirmed - happens in my setup as well Works fine for win 8, takes lot of time, but eventually exists. In case of win 10 probably never exists. I tried to remove -q (quite) from the command line. SDelete does not produce any output