Turn off file sharing in Windows

To limit the chance that unauthorized individuals on your home network could access files from your computer, you may want to inhibit file sharing. This is especially true for individuals who work with sensitive information and have gone from a secure office network to their home wireless setup. Open Settings and select “Network and Internet.” From the sharing options section, turn off file sharing.