In win7 system
open Network Sharing Center
click change advanced sharing Settings
In Home or work and public settings turn on all settings and turn off
password protected sharing then click save changes
That's it
enjoy sharing files&printers also