Samba Server allows you to share the home directories with Windows automatically.That’s so easy that you just need to install Samba on uubntu and configure smb.conf file.

1.Install Samba Server on ubuntu and create a user,here is how to install

2.Run this command in terminal window:

sudo gedit /etc/samba/smb.conf

Find this section of the file, and make it match the following:

sharehome

Now,you should be able to map a drive on Windows by following share format:

//ubuntumachine/username

Run hostname to get ubuntu machine name,in my case it’s wraith-desktop.So I use:

//wraith-desktop/wraith