How to turn off ‘File and Printer Sharing’ in Windows 10
Follow these steps to disable “File and Printer Sharing” in Windows 10:
1 – Press the Windows+S key combination to open a Search box.
2 – Type the word control into the search box, then select Control Panel from the list of search results.
3 – Find the “Network and Internet” section and click View network status and tasks.
4 – Click the Change advanced sharing settings over in the left-hand column.
5 – Select the various options to turn off file and printer sharing in every section on this page (click each section to expand it). Hint: Select the second (bottom) option in each section.
6 – Click the Save changes button.