Click on the start menu button that is located at the bottom-left corner of the screen to display the main menu. Look for “Control Panel” in the right column of the main menu and click it.
The “Control Panel” window will appear on the screen. If the window has a blue background, then the category view of Control Panel icons is active. You need to change it to classic view. In order to do that, click on the “Switch to classic view” option located on the top-left side of the window.
Once you have switched to classic view, locate the “Network Connections” icon and click on it to open the network connections window. All the computers and networks that your system is connected to or can connect to will be displayed on screen.
If you see more than one connection in the network connections window, look for the connection that has the words “connected” beneath its name, as well as an icon with blue screens instead of grey. This will be the currently active connection and therefore the one that you will need to focus on.
Right click on the active connection and select “Properties” from the context menu.
On the new window that appears on the screen, look for the “File and Printer Sharing for Microsoft Networks” option. Click on the small box on its left to uncheck it and then click “OK” to confirm your action. Close the network connections window as well.
Reboot your computer for the new settings to take effect. The files on your computer will no longer be accessible to anyone remotely after the system is done rebooting.