copied from Indiana University website
In Mac OS X, how do I connect to and share files with a Windows computer?
In Mac OS X 10.1.x and higher, before you can connect and share files with a Windows computer within your network, you must first create a share folder on the Windows computer. You must also have a local account on that computer. Then follow the appropriate directions below.
Creating a Windows share folder
- In Windows, create a new folder or select an existing one. Right-click the folder, and from the contextual menu, select
Properties
. - Select the
Sharing
tab, and check the box next toShare this folder
orShare this folder on the network
. - In the "Share name:" field, provide a name for the share and click
OK
. A one-word name is simpler and reduces the risk of confusion.
Connecting to a Windows computer on the network
Beginning in Mac OS X 10.2 and continuing with later releases of OS X, you can browse to a Windows computer on your network:
- With the Finder active, from the
Go
menu, selectConnect to Server...
. - In OS X 10.3.x and later, in the
Connect to Server
window, click theBrowse
button. In the window that opens, you will see a listing of all the available computers (both Macintosh and Windows) on your local network.In OS X 10.2.x, in the
Connect to Server
window, if you do not already see a listing of all the available computers on the local network, click the blue triangle next to the "At:" pull-down menu. - Browse to and select the computer to which you wish to connect, and double-click its icon or click the
Connect
button. - Enter the workgroup name as well as your username and password for access to the computer. If you do not know the workgroup name, the default will usually work.
Note: You must have a local account on the Windows computer you're attempting to access.
- From the pull-down menu, select the share you wish to access and then click
OK
.
In OS X 10.1.x and later, you can simply enter the IP address and share name to connect to a Windows computer:
- With the Finder active, from the
Go
menu, selectConnect to Server...
. - In the "Address:" or "Server Address:" field, type
smb://
, then the IP address of the Windows computer to which you wish to connect, followed by a forward slash and then the share name, for example: smb://129.79.1.1/share - Click
Connect
. When prompted, supply the workgroup name as well as your Windows local account username and password. If you do not know the workgroup name, the default will usually work.Note: You must have a local account on the Windows computer you're attempting to access.
- Click
OK
, and the shared folder will appear as a network drive mounted on your OS X computer.
Adding your OS X computer to the Windows workgroup
Optionally, you can add your OS X computer to the Windows workgroup to make it easier to browse directly to the computer:
- Open Directory Access, which is located in
/Applications/Utilities
. - If the padlock in the lower-left corner is locked, click it to unlock it, and supply your OS X account password.
- Make sure
SMB
orSMB/CIFS
is checked, highlight that option, and then click theConfigure...
button. - In the "Workgroup:" field, enter the name of your Windows workgroup and then click
OK
.
Sharing files with a Windows computer
To access your OS X 10.2.x and later computer from Windows, you must turn on Windows sharing and then connect from the Windows computer.
Turning on Windows sharing in OS X
- From the Apple menu, select
System Preferences...
. - In System Preferences, from the
View
menu, selectSharing
. - On the
Services
tab, check the box next toWindows File Sharing
orWindows Sharing
to permit access to your OS X computer from a Windows computer.Note: Any Windows user attempting to access your OS X computer must have an account on your computer and must provide the username and password for that account in order to receive access.
In OS X 10.2.x, you must also complete these steps:
- In System Preferences, from the
View
menu, selectAccounts
. - Select the user account to which you wish to grant Windows access, and click
Edit User...
. - Check the box next to
Allow user to log in from Windows
, and clickOK
.
Accessing your OS X computer from Windows
Note: You must have an OS X user account in order to access the OS X computer this way.
- From the
Start
menu, selectRun...
. - In the "Open:" field, enter the following, replacing the IP address with that of the OS X computer to which you wish to connect and
shortname
with the short name for the OS X user account: \\129.79.1.1\shortname - In the authentication window, enter your OS X user account short name and password.
- If you wish, you can now map this share as you would any other Windows share so that it is accessible from a drive letter. For more information, see In Microsoft Windows, how do I map a drive?