Geeks R Us
Connecting to Mac File Sharing via Vista

Matt Riggins writes:

I upgraded a machine in my office to Vista to get a feel for the OS, how it works, etc.

I use both a variety of Windows and Mac boxes and the first thing I noticed after upgrading to Vista was that I was unable to connect to the Mac’s SMB File Sharing. Typically in the windows address bar under XP pro I would type:

\IP Address\username (the username being the short name on the OS X user account)

It would prompt me for a username and password, which I would type. (The os x username/pw) The share would come up (the user’s folder) and I was done.

This did not work in Vista. It would ask me for the username / password, but typing it didn’t work.

I googled it and came across this great post:

http://www.macfixit.com/article.php?story=20070226082237597

There are a couple of things to try on this post. The first being from Vista using the command line trying to login using IPAddressUsername together. I tried that, with no luck. The 2nd step is a registry edit in vista. I make this change and it now allows me to share to OS X again:

  1. “Click Windows Visa Start Orb
  2. In search box, type “regedit” and return
  3. Once regedit opens, click File -> export to make a backup copy
  4. Navigate to Computer HKEYLOCALMACHINE SYSTEM CurrentControlSet Control Lsa.
  5. In the right pane, right-click the “LmCompatibilityLevel” key and select “modify”
  6. Change the value from 3 to 1
  7. Exit regedit and you should now be able to properly authenticate to your Mac OS X (or other Samba) share.”

Matt Riggins

20 Responses to “Connecting to Mac File Sharing via Vista”

  1. Brian Kenny Says:

    This registery edit worked perfectly. If only they got the finger out and pre-estimated this going wrong!

    Thanks for all the help Brian

  2. Marvin Says:

    Works great! Thanks!

    Now, how to go in reverse?

    I still get “Alias could not be opened because the original item could not be found”

  3. RIch Says:

    Well I have managed to get the MAC to open the Vista drives, but I cannot see any files nor create or copy any files to the Vista machine…. So frustrating, I would go back and use XP if I had it.

  4. mk Says:

    Rich- that i swhat I find as well. If you solve it please post

  5. George Bush Says:

    “Now, how to go in reverse?”

    Edit /etc/smb.conf and make sure this line is present:

    It probably says: client ntlmv2 auth = no

    Change it to “yes”

  6. lucas Says:

    I did what you said but it still says the username and password are wrong. I tried logging on with just my name and pass, plus with my IP adusername and pass and still it’s no go. Anyone have any good advice?

  7. mobtek Says:

    Thanks for this, I thought I was going insane :P

  8. Darrique Says:

    George: For the “How to go in reverse?” Can you elaborate? I don’t see any regkey NO folder or file, etc. called smb.conf or etc. I’m not sure if you’re referring to a file or to a key or what?

    Thanks!

  9. Ben Says:

    Wow, tried everything and then this, all working again….Thank you

  10. caveman Says:

    one trick I found that had to happen on my machine to go in reverse was to enable windows file sharing not only in the networking center window, but also in the network adapter properties (like in win XP), I am using my wireless network to do this, not the wired card it must have defaulted to. Then looking for the vista box from the mac via smb worked fine. (though it still doesn’t come up in the mac’s network destinations window)

  11. JJ Says:

    Thanks, it worked! Tested with 10.3.9 and Vista Enterprise.

  12. david Says:

    thankyou and thankyou and thankyou!

    my uni requires me to use windows and moving rooms and plugging in printers was driving me insane

    at last, after almost a year of making do

    a great post!

    :D

  13. Simon Says:

    Absolute pure gold. Thanks for end an hour or so of frustration

  14. Alan Says:

    OK, Leopards up and running. It can see all the shares on my Vista Ultimate boxes. It can read, write, boil in oil any of the Vista files. However, my Vista boxes went all snooty on me however and refused to recognize that the Mac exists. Entering the name or the IP address just returned an error. That was last night… And then - 12 hours later - NO changes, not even a reboot (honest) - the PowerBook suddenly appears in my Network folders. WTF? Time heals all things??

  15. Risa Says:

    Thank you so much for posting this. I was cursing Vista trying to figure out why they heck it could access my Mac. After getting an XP machine to access the mac I knew it was vista. You provided the perfect answer and saved me lots of effort. Thank you!

  16. Tovarasu' Says:

    Hi!

    very good indeed, your post, works perfectly.

    But i still don’t know what to do to my mac to see vista…. george bush was to fast for me. please reply if find a solution, I’ll do the same.

  17. Anthony Says:

    Brilliant stuff, this worked perfectly!!! Been pulling my hair out all day Cheers!!! ;)

    Although if anyone can give me the settings for Norton 360 as that blocks everything that the network wants to do…..i can only network with this disabled.

    Kind regards

  18. Bill Says:

    You can also change this setting using the “Local Security Policy” GUI app, it’s located in “Administrative Tools” under the start button.

    Click on “Local Policies” and “Security Options” Find the “Network security: LAN Manager authentication level” item and change its popup value to “Send LM & NTLM - use NTLMv2 session security if negotiated”

  19. Michael Says:

    Well I did what you said with my new vista laptop and nothing changed. We have an imac in the house with leopard on it. I can view the mac and the printers on it but I am unable to see the public folder even after doing what you said. I can’t login to see more either. Please Help! The mac can see me just fine by the way.

    Thanks a Lot,

    Mike

  20. JP Says:

    That is a TRULY USEFUL tip. Thank you SO MUCH.

    I was using Vista Ult64 and trying to connect to my 10.4 Mac. (”Why upgrade?” :) )

    You do indeed have to do exactly this:

    “Click Windows Visa Start Orb In search box, type “regedit” and return Once regedit opens, click File -> export to make a backup copy Navigate to Computer HKEYLOCALMACHINE SYSTEM CurrentControlSet Control Lsa. In the right pane, right-click the “LmCompatibilityLevel” key and select “modify” Change the value from 3 to 1 Exit regedit and you should now be able to properly authenticate to your Mac OS X (or other Samba) share.”

    thank you SO MUCH !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Leave a Reply

Categories