Follow these steps to disable file and printer sharing in Windows 7:
1 – Click Start Orb.
2 – Click Control Panel.
3 – Click View network status and tasks.
4 – Click Change advanced sharing settings.
5 – Select the following by clicking the radio button:
- Turn off file and printer sharing ( Turn off file and printer sharing )
- Turn off public folder sharing (Disable public folder sharing )
- Turn off password protected sharing
6 – In the Media streaming section, click Choose media streaming options.
7 – Click Block all, then click Ok.
8 – Click Save changes.
Follow these steps to disable File and Printer Sharing in Windows 8 / 8.1 :
1 – Press the Windows + C key combination to open the Charms bar. (The Windows key is usually located in the lower-left corner of the keyboard between the CTRL and Alt keys.)
2 – Click Settings.
3 – Click Control Panel.
4-Click View network status and tasks.
5 – Click Change advanced sharing settings.
6 – Select the following by clicking the radio button:
- Turn off file and printer sharing (Turn off file and printer sharing)
- Turn off public folder sharing (Disable shared folder sharing)
- Turn off password protected sharing
6 – In the Media streaming section, click Choose media streaming options.
8 – Click Block all, then click Ok.
9 – Click Save changes.
Follow these steps to disable Data Sharing and printers in Windows 10:
1 – Press the Windows + S key combination to open the Search box.
2 – Enter the word control in the Search box and select Control Panel from the search results list.
3- Click Network and Internet.
4 – Click on Network and Sharing Center.
5 – Click Change advanced sharing settings.
6 – Click the word Private to expand that section, then select the radio button next to Turn off file and printer sharing.
7 – Click on Guest or Public (current profile) to expand that section, then select the radio button next to Turn off file and printer sharing.
8 – Click All Networks to expand that section, then select the radio button next to Turn off Public folder sharing.
9 – Click Save changes.
Folder and printer sharing should now be disabled on your computer.