To disable the "File & Printer Sharing" feature.
- On the Start menu, click Control Panel, and then click Network and Sharing Center.
- In the panel on the left, click Change advanced sharing settings, and then click the arrow next to Home or Work.
- Check the following settings:
- Network Discovery: Off
- File and Printer Sharing: Off
- Public Folder Sharing: Off
- File Sharing Connections: Use 128-bit encryption...
- Click Save Changes.