Hello,
With the help of this article you will be about to enable and disable File and Printer Sharing over the network. By default, these services are blocked by firewall.
Type the following at the command prompt, and press ENTER:
# netsh firewall set service type = fileandprint mode =ENABLE/Disable
You also can refer this URL for more information,
http://support.microsoft.com/kb/947709Thank you,