Greetings David and all,
Thanks for the walkthrough. By all rights, it should work for me but it's not.
Details: Running on Windows Server 2012 R2, logged in as the original Administrator account. Even just testing manually by right-clicking the "start button", choosing "Run" and pasting:
appears to quickly open and close the shell, but even if I instead paste:
diskpart /s W:\BoxSync-NTFS.vhdx.txt
I get no log file.
diskpart /s W:\BoxSync-NTFS.vhdx.txt > W:\diskpart.txt
I am able to manually run diskpart itself from the Run dialog, and then I copied and pasted (via clicking in the upper left corner of the shell windows, choosing Edit and then Paste) exactly what I have in the text file, and indeed it works, including showing up in Windows Explorer:
By the way, in case anyone wonders, the reason why I'm using a VHD for Box Sync is because I'm using an ReFS (file system) with Transparent RAID, and Box Sync refuses to work with ReFS even though all other cloud programs work just fine with it.