MicrosoftDocs / Virtualization-Documentation

Place to store our documentation, code samples, etc for public consumption.
http://docs.microsoft.com/virtualization/
Creative Commons Attribution 4.0 International
1.79k stars 1.54k forks source link

SMB access #1954

Open czhoward opened 5 months ago

czhoward commented 5 months ago

You can access SMB by specifying the version as a mount option, it will prompt for user/password and UAC privileges but it does work:

config.vm.synced_folder '.', '/vagrant', disabled: false, type: "smb", smb_host: <hostname/ip>, mount_options: ['vers=3.0']

Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.