website: update docs for SMB disconnect [GH-4538]

This commit is contained in:
Mitchell Hashimoto 2015-07-09 09:55:18 -06:00
parent 0440779d8f
commit 26b5b67a6c
1 changed files with 11 additions and 0 deletions

View File

@ -62,6 +62,17 @@ Vagrant.configure("2") do |config|
end
</pre>
## 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.
<pre class="prettyprint">
net config server /autodisconnect:-1
</pre>
## Limitations
Because SMB is a relatively new synced folder type in Vagrant, it still