Trouble connecting to remote computer

Options

I had to replace the hard drive in my computer.  Now when I try to access this computer remotely,  teamview says its not connected.  It appears the computer is in a sleep mode and as soon as I wake it, it connects again.  How do I stop it from sleeping so I have a constant connection with Teamview?  I am using Windows 10 Home version.    I did not have this problem previous to replacing the hard drive.

Tagged: