Question: how to transfer data via lan?
Answer: Step 2: Enable Network Sharing on Both PCs. ... 
Once the Control Panel window opens, click on Network and Internet.
In the next dialogue box, open Network and Sharing Center. ... 
On the left-hand side of 'Network and Sharing Center' window, click on “Change advanced sharing settings”.