File and printer sharing is a feature that enables other computers on a network to access resources on your computer. When you are using your mobile PC in a hot spot, it's best to disable file and printer sharing—when it's enabled, it leaves your computer vulnerable to hackers. Remember, though, to turn this feature back on when you return to the office.
Disable file and printer sharing Windows 7
Click Start, and then click Control Panel.
Click Network and Internet, and then click Network and Sharing Center.
Under Change your network settings, click Choose homegroup and sharing options.
Under Other homegroup actions, click Change advanced sharing options.
File and printer sharing, select Turn off file and printer sharing, and then click Save changes.
Windows Vista
Click Start, and then click Control Panel.
Click Network and Internet, and then click Network and Sharing Center.
Under Sharing and Discovery, click the arrow next to File sharing, click Turn off file sharing, and then click Apply.
Click the arrow next to Printer sharing, click Turn off printer sharing, and then click Apply.
Windows XP
Click Start, and then click Control Panel.
Click Security Center, and then click Windows Firewall.
Click the Exceptions tab, and then, under Programs and Services, clear the File and Printer Sharing check box.