You might have to use a apply_wim.exe instead of apply_wim.vbs

Kace Support should provide you with apply_wim.exe

apply_wim_x64.exe /imgname:C_C /imgnum:1 /imgstore:ImageStore /drive:C