No need to run back and forth to enter codes between the two computers, just configure Teamviewer for unattended access
on the desktop. The process involves setting a password for unattended access so that you don't have to enter a different one each time you start Teamviewer on the desktop. You need Teamviewer or such a remote desktop application to access the main PC's desktop environment like you would when sitting in front of it. If you don't need desktop access, and all you want is access to these files, then the alternative is to share those files on the network or use network file sharing to access them from the laptop. The Teamviewer route is simpler, so I wouldn't be too quick to dismiss it just yet. See https://www.google.com/search?&q=tea...d+access+setup
for various sources on how to go about it.
During the unattended access setup, you will be prompted to assign the main pc to a Teamviewer account. This is not necessary, especially if you will not be accessing it via the internet from anywhere. You can skip this part by selecting the appropriate option.
By default, Teamviewer is not configured to allow direct LAN connections (direct connections via your local network), which means, by default, ALL connections must be through the internet, negotiated through Teamviewer servers. You can change this behaviour with a few clicks. Simply open Teamviewer, go to the Extras
menu and select Options
. Under the General tab, which is in focus by default, you will see the Network settings
section. Click the drop-down list labelled Incoming LAN connections
and set it to accept
then click OK
to close the Options dialog.