diff --git a/samples/vboxwrapper/vboxwrapper.cpp b/samples/vboxwrapper/vboxwrapper.cpp
index 516d67d7aa..9a65690186 100644
--- a/samples/vboxwrapper/vboxwrapper.cpp
+++ b/samples/vboxwrapper/vboxwrapper.cpp
@@ -388,6 +388,7 @@ int main(int argc, char** argv) {
}
if (boinc_time_to_checkpoint()) {
checkpoint_cpu_time = elapsed_time;
+ write_checkpoint(checkpoint_cpu_time);
if (vm.max_elapsed_time) {
fraction_done = elapsed_time / vm.max_elapsed_time;
if (fraction_done > 1.0) {
diff --git a/win_build/vboxwrapper.vcproj b/win_build/vboxwrapper.vcproj
index 8c94eb0698..3e7c62039b 100644
--- a/win_build/vboxwrapper.vcproj
+++ b/win_build/vboxwrapper.vcproj
@@ -81,13 +81,13 @@
@@ -182,13 +182,13 @@