diff --git a/website/docs/source/v2/synced-folders/smb.html.md b/website/docs/source/v2/synced-folders/smb.html.md index 51074a48c..65d679794 100644 --- a/website/docs/source/v2/synced-folders/smb.html.md +++ b/website/docs/source/v2/synced-folders/smb.html.md @@ -62,6 +62,17 @@ Vagrant.configure("2") do |config| end +## Preventing Idle Disconnects + +On Windows, if a file isn't accessed for some period of time, it may +disconnect from the guest and prevent the guest from accessing the SMB-mounted +share. To prevent this, the following command can be used in a superuser +shell. Note that you should research if this is the right option for you. + +
+net config server /autodisconnect:-1
+
+ ## Limitations Because SMB is a relatively new synced folder type in Vagrant, it still