Server Message Block, or SMB, is the protocol used for networking computers to share files, printers and other connections. SMB is commonly used to network Windows-based computers. Mac OS X includes an SMB option in its file sharing settings to allow for connections between the two different operating systems. In order to network an iMac and a Windows PC, you must first adjust the file sharing settings.
Open the “System Preferences” control panel on the iMac. System Preferences can be found in the Apple menu.
Open the “Sharing” preference pane. Turn on (check) “File Sharing.”
Click “Options” and select “Share files using SMB (Windows).” Add the account you’d like to give access to via Windows computer. You can optionally turn on “Share files using AFP” to share files with other Mac OS X systems on the network.
Add the folders you want to share with the networked computers via “Shared Folders.” You can optionally adjust the read/write permissions per folder. Close System Preferences when you’ve configured your file sharing options.
Open “My Network Places” via the “Windows Start” menu on the Windows PC to access the iMac’s files and folders. If you’ve set limited access, you may have to sign in with your OS X account.