Now inside the Control Panel, go to Network and Internet ... and now you are looking to turn it off then simply check the box next to the Turn off file and printer sharing option.