Connect Ubuntu 8.10 to a Windows 7 Share

By Randy Jensen | Dec 28, 2008

windowslovesubuntu Connect Ubuntu 8.10 to a Windows 7 ShareSo I’ve been playing around with Windows 7 today. Figured I’d throw a quick tutorial on how to connect an Ubuntu machine to a Windows 7 share. Quick note, I’m running the first beta of Windows 7, build 7000. Since the network stack has changed very little from Vista, I’m assuming this will work the exact same way once Windows 7 actually ships.

Setup Windows 7 Share Folder

  1. Create a new folder wherever you want your share to be. I’m going to put mine on the desktop. Easiest way is to right click and choose ‘New’ –> ‘Folder’
    newfolder Connect Ubuntu 8.10 to a Windows 7 Share
  2. Name your share. This is going to be where you will connect, so I would recommend not using any weird characters or spaces. I’m calling mine ‘myshare’
    mysharefolder Connect Ubuntu 8.10 to a Windows 7 Share
  3. Now we need to enable sharing on this folder. Right click the folder and choose ‘Properties’
    folderproperties Connect Ubuntu 8.10 to a Windows 7 Share
  4. Once your in the Properties box, click on the ‘Share’ tab and click the ‘Share’ button
    sharefolder Connect Ubuntu 8.10 to a Windows 7 Share
    • *Note: you will want to make note of the ‘Network Path’ that shows up above the ‘Share’ button. You will use this information later.
  5. Once you click the ‘Share’ button, a box will popup asking you who you want to share with. As long as you (the owner) is showing up, you shouldn’t need to do anything. Just click ‘Share’ in the bottom right
    peopletoshare Connect Ubuntu 8.10 to a Windows 7 Share

Connecting the Share From Ubuntu

Now that we’ve got our folder created and shared on Windows, we need to connect to it from Ubuntu. Remember the ‘Network Path’ from before? Your going to need that info now. You can get it by right clicking your shared folder and choosing ‘Properties’ and going to the ‘Share’ tab.
networkpath Connect Ubuntu 8.10 to a Windows 7 Share

  1. Go to ‘Places’ –> ‘Connect to Server…’
    connecttoserver1 Connect Ubuntu 8.10 to a Windows 7 Share
  2. Choose ‘Windows Share’ from the dropdown
    windowsshareoption Connect Ubuntu 8.10 to a Windows 7 Share
  3. In ‘Server’ type the name of your Windows computer. In my case ‘RANDY7′
  4. In ‘Share’ type the location of the share, but NOT the share. For me, ‘/Users/Randy/Desktop
    **NOTE: Make sure you have the correct slashes. They are opposite on Windows and Linux
  5. In ‘Folder’ type the name of your shared folder. Mine was ‘myshare’
  6. If you would like to save this server in your ‘Places’ –> ‘Bookmarks’, choose the bookmark box and give it a name
    shareinformation Connect Ubuntu 8.10 to a Windows 7 Share
  7. You should now be presented with a box asking for your Windows password. Choose how you want Ubuntu to handle remembering your password and hit ‘Connect’
    passwordtoshare Connect Ubuntu 8.10 to a Windows 7 Share
  8. You should now have a shortcut on your desktop to your Windows share
    windowshareshortcut Connect Ubuntu 8.10 to a Windows 7 Share

Conclusion

I was actually hoping to write a post on how to share an Ubuntu Share with Windows 7, but I couldn’t get Windows to connect to the share. I could ping the share from Windows and it could see it, but it couldn’t connect to it. It’s even weirder since I have a Windows XP machine connected to the same share…oh well. I’ll chalk it up to it’s ‘beta’ status and for the fact that I’ve only been using it for a few hours now. But for now, hopefully this will suffice:)


  • services sprite Connect Ubuntu 8.10 to a Windows 7 Share
  • services sprite Connect Ubuntu 8.10 to a Windows 7 Share
  • services sprite Connect Ubuntu 8.10 to a Windows 7 Share
  • services sprite Connect Ubuntu 8.10 to a Windows 7 Share
  • services sprite Connect Ubuntu 8.10 to a Windows 7 Share
  • services sprite Connect Ubuntu 8.10 to a Windows 7 Share
  • services sprite Connect Ubuntu 8.10 to a Windows 7 Share
  • services sprite Connect Ubuntu 8.10 to a Windows 7 Share
  • services sprite Connect Ubuntu 8.10 to a Windows 7 Share
  • services sprite Connect Ubuntu 8.10 to a Windows 7 Share
  • services sprite Connect Ubuntu 8.10 to a Windows 7 Share
  •  Connect Ubuntu 8.10 to a Windows 7 Share
  • services sprite Connect Ubuntu 8.10 to a Windows 7 Share
Copy the code below to your web site.
x 

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

  • michaelmalone

    I screwed up, put in the wrong wacks… and I'm wondering if you know how to remove the share from the places menu.

  • http://randyjensenonline.com randyjensen

    Hey Michael,

    This is probably going to blow your mind as it did mine, but there's not an easy way to manage shares in Ubuntu. I'm hoping they add it in 9.10, but I haven't heard anything yet.

  • fredtma

    Very detail article, I followed step by step.
    But I get to the last step where I place the password underneath
    Domain: WORKGROUP
    Password: ******
    and it keeps asking me for the password, I don't know why.
    I can share everything on all windows machine except ubuntu

  • http://randyjensenonline.com randyjensen

    Maybe a firewall issue?

  • rajaparanjape

    Your instructions actually worked for me. I am able to mount windows shares. I had to mount thru SAMBA, but shares were not showing up in Places>network. With your instructions above now they do. Thanks

  • http://portablemonkey.com frychiko

    Thanks, I needed to use this for the beta release of Ubuntu 9.10. Strangely with Jolicloud (Linux distro for netbooks) I could connect to my Windows 7 homegroups out of the box.

  • blair

    I'm glad to see that many of these posts are recent…. I have the same issue as fredtma. I've asked at several forums and noone can seem to help those of us with this issue.
    I've tried every UN and password on my win7 machine (not to mention that I have sharing passwords disabled anyway in win7) and none of them will allow me to connect. Help me please!!!!

  • profster

    Uninstall windows live assistant and it should work

  • blair

    AWESOME!!! Well,at least that's allowing me to mount my file shares. When I try to install the printer, however, it start to open this computer's network location and then not show any printers attached :(

  • blair

    I got it!!! Somewhere along the way I had turned sharing off on this particular printer!!! Thank you, thank you, thank you!!!! BTW, what is(was) Live assistant?

  • profster

    That is simple…. make sure the printer share is setup. I use a network
    printer and access it through IP

  • blair

    yeah, got my test page in the tray now. WLA was my problem.

  • dirtabulous

    Wow. That actually worked. Thanks for the tip.

  • jampot

    how do you set the workgroup password in Windows 7…….good article

    James

  • mayankjoin

    thanku

  • http://www.avforums.com/forums/general-chat/1256116-networking-ubuntu-client-windows-7-a.html#post12182443 Networking Ubuntu client to Windows 7 – AVForums.com

    [...] Are there any steps I must perform on either to get things working? Any advise appreciated. Connect Ubuntu 8.10 to a Windows 7 Share : Randy Jensen Online You could try that, the first result out of [...]

  • Guest

    Not sure if you have found the answer somewhere else in the last 8 months, but for anyone looking if you are on the desktop in Ubuntu and hit 'Ctrl-B' you get a window which allows you to remove shares

  • Guest

    Not sure if you have found the answer somewhere else in the last 8 months, but for anyone looking if you are on the desktop in Ubuntu and hit 'Ctrl-B' you get a window which allows you to remove shares

  • Provenuts

    does it matter if you don't have a windows password? i don't want to create or use one.

  • Johnhop1970

    Samba can connect two machines right. It creates a window network for ubuntu.
    Am I wrong?

  • Miban82

    Great solution. THX.

  • http://www.facebook.com/harry.slaughter Harry Slaughter

    omg, you saved my life, and some of my hair. spent hours retrying my dang password. i uninstall that stupid assistant thing and it worked immediately.

  • profster

    HeHe….glad to be of some help

  • Kasun

    can someone tell me that what is that password under WORKGROUP please?

  • Jpyhn

    Oh my freakin god. That really helps. It took me 3 or 4 days to figure this out and looked everywhere for help. I didn't know that windows live assistant was a culprit to this. this should be under ubuntu forum.

  • E=MCC

    Is there anyway to make this work and keep Windows Live on the Windows 7 machine. (My wife likes the live email.)

  • Ak Ghasemi

    this doesnt work man,I do the same thing and each time the ubuntu looks like a stupid,and even I enter the right password and guess it asks me the password again.

  • http://www.overclock.net/overclock-net-folding-home-team/868389-ubuntu-10-10-fahmon-watch-win7.html#post11349151 ubuntu 10.10 fahmon to watch win7 + ubuntu farm… – Overclock.net – Overclocking.net

    [...] did this to get windows 7 computer's shares visible in ubuntu: http://www.randyjensenonline.com/blo…indows-7-share [...]

  • Profdreamer

    Yes! Uninstalling Windows Live Assistant Sign-In.. did the trick! Thanks ever so much.

  • Chris210

    I cant get this to work at all! I dont have Windows Live Assistent, so i cant uninstall that thing. What to do?

  • Rahul_singh

    u stupid man
    u had not tell what is the password for workgroup

  • Samratbhardwaj

    WoW !!! Thank you so much.. That really works…

  • Dd

    you saved me. thnx

  • Kajtebriga

    Ubuntu 10.10. I just uninstall Windows Live Assistant and it works!

  • Delusional

    It works for me, ty :D
    The people who are saying its not working are just making some stopid mistakes or something

  • Soundria

    OK, I have set the password in W7, but what is the userid?

  • Leon

    Having so much trouble with vmware workstation’s shared folders. This saved me so much time :D

  • Bpb101

    chears man

  • anthony bejarano

    This is the best HowTo I’ve found in and hour of searching, but it is still useless to me.  There must be something about using drives other than C:.  I keep getting the result “Cannot display location “”smb://antbat@asus-pc/h:/folder”  ”Failed to mount Windows share”  

  • http://www.linuxquestions.org/questions/linux-networking-3/cannot-access-shared-folders-over-lan-wifi-ubuntu-11-04-natty-904919/#post4506232 Cannot access shared folders over LAN/WiFi Ubuntu 11.04 Natty

    [...] Not sure what error you are getting but take a look at this sites: http://www.randyjensenonline.com/blo…indows-7-share [...]

blog comments powered by Disqus
© 2009 Randy Jensen Online, - PassionDuo WordPress Theme