This networking feature is particularly useful onhome networksbut can be a security concern on public networks.
Instructions in this article apply to Windows 11, 10, 8, 7, Vista, and XP.
The quickest method is to open theRundialog box with theWin+Rkeyboard combination and enter the commandcontroland pressEnter.
OpenNetwork and Sharing Center.
From the left pane, chooseChange advanced sharing configs.
Listed here are the different networks you’re using.
If you want to disable file and printer sharing on the public connection, open that section....