Forcing administrator for `vagrant up`

to make symlinks in the guest OS when host OS is windows, `vagrant up` needs to be run as administrator. add this above the main configuration block in Vagrantfile


require "ffi"
if FFI::Platform::IS_WINDOWS and ARGV[0] == "up" and system("net session > NUL") == false
puts "Error: Run as Administrator"
exit 127
end

Standard