Vagrant box take long time to access shared /vagrant folder
It seems ther reason for this was that the SMB connections would disconnect.
using 

net config server /autodisconnect:-1


in a "run as administrator" command window fixed it.

as explained here:
https://www.vagrantup.com/docs/synced-folders/smb.html#preventing-idle-disconnects