It seems password protected sharing is enabled on second or target computer you're trying to connect.
When password protected sharing is on, people locally or on the network must sign into a user account with a password on your to be able to access shared files and folders and Public folders on your PC.
When password protected sharing is off, people on the network will be able to access shared files and printers and Public folders on your PC without having to sign in to your PC, and local user accounts on your computer will not
require having a password.
So to resolve this issue, disable password protected sharing. You must be signed in as an administrator to these steps.
a. Open Control Panel.
b. Open Network and Sharing Center in the Control Panel.
Note: If Network and Sharing Center is not available, change View by to Large icons at the top right of the Control Panel.
c. Select Change advanced sharing settings in the left column of the Network and Sharing Center.
d. Expand the network you want to disable password protected sharing on by clicking the down arrow on the right of the profile.
Note: It’s usually the profile labeled current profile.
e. Select Turn off password protected sharing and then click Save changes.