diff --git a/lib/veewee/provider/virtualbox/box/helper/version.rb b/lib/veewee/provider/virtualbox/box/helper/version.rb
index <HASH>..<HASH> 100644
--- a/lib/veewee/provider/virtualbox/box/helper/version.rb
+++ b/lib/veewee/provider/virtualbox/box/helper/version.rb
@@ -8,7 +8,9 @@ module Veewee
         # For example: 4.1.8_Debianr75467 -> 4.1.8
         def vbox_version
           command="#{@vboxcmd} --version"
-          shell_results=shell_exec("#{command}",{:mute => true, :stderr => "/dev/null"})
+          stderr = "/dev/null"
+          stderr = "nul" if definition.os_type_id=~/^Win/
+          shell_results=shell_exec("#{command}",{:mute => true, :stderr => stderr})
           version=shell_results.stdout.strip.split(/[^0-9\.]/)[0]
           return version
         end
Windows support for stderr redirecting