-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot create SMB share #3257
Comments
@MatthieuLJ what version of PowerShell are you using? When using PowerShell version 2 I've noticed vagrant will hang after typing in your Windows username and Password. Upgrading to PowerShell version 3 fixed the problem for me. You can check your PowerShell version by typing: You can upgrade your PowerShell version using this windows update: Windows6.1-KB2506143 is for Windows 7 SP1, Windows6.0-KB2506143 is for non SP1 Windows 7. |
@crankeye thanks for the help.
After the upgrade from your link, that seems to fix it. I'm still not able to get something completely working (although it did not get stuck, seems like the share was not really created, it's not listed when I run 'net share'), but at least what I reported earlier is working. Not sure if anybody want to look at why it is getting stuck with an earlier version of Powershell or any other shell (mingw or DOS prompt) ? |
@MatthieuLJ you'll also need to apply the patch from /pull/3210 . Try that and see if it works. |
I need to verify that PS3 is running it appears for this. Tagged as bug. |
Fixed |
Hi, I have faced with this trouble too. |
@mitchellh I think you just didn't notice my message. Can you clarify what your position with windows XP now? |
Sorry. I believe @sneal has mentioned to me that Windows XP is not supported. As Microsoft themselves officially doesn't support XP anymore, I don't see this being a hard ask. |
Ok, thx for explanation! |
Win7+ is required for Windows guest support. I would make the same argument for host support too. |
I try to setup my Vagrantfile to use a SMB on Windows. It always gets stuck after asking my credentials.
I turned the logging on (debug level) and it never returns from:
I tried to run this command with all those arguments directly from the command line and it worked fine and create the share.
I am wondering if it is getting confused between the forward and double backward slashes.
I tried both in an MS-DOS prompt, the Windows PowerShell and a MINGW shell.
If ever this may cause trouble, my username does have a space and my password is empty.
My Vagrantfile does not have any modification from the default beside the
The text was updated successfully, but these errors were encountered: