From 26b5b67a6c8432826735467e60899b0fb0587b4b Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 9 Jul 2015 09:55:18 -0600 Subject: [PATCH] website: update docs for SMB disconnect [GH-4538] --- website/docs/source/v2/synced-folders/smb.html.md | 11 +++++++++++ 1 file changed, 11 insertions(+) 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