go to Control Panel\Network and Internet\Network and Sharing Center
you must set your network to become Home network if not set.
what is your PC a laptop or a desktop? if you connect from your laptop to your PC using Ethernet Cable i think you need to set so many things.
if you have router and have already set your network there much better if you connect via Wifi or connect using Ethernet cable to the router where your desktop was connected.