It sounds like you've done a good job setting up the sharing options, but there are a few potential issues that could be causing the problem you're experiencing with accessing the shared folder on the new main computer.
- Check the Computer Name: Ensure that the new computer's name is still set to "MAINCOMPUTER". Sometimes, when setting up a new device, the name might change or have additional characters added. You can check this by going to Settings > System > About and looking for the device name.
- Folder Sharing Permissions: Make sure that the folder you are trying to share has the correct permissions set. Right-click on the folder, go to Properties, then the Sharing tab, and ensure that the user (in this case, your friend's account) has been granted the appropriate permissions to access the folder.
- Network Profile: Verify that both computers are on the same network profile (Private or Public). For file sharing to work seamlessly, both should ideally be set to Private. You can check this in Settings > Network & Internet > Status > Network and Sharing Center.
- Firewall Settings: Sometimes, the firewall settings can block access to shared folders. Ensure that the firewall on the main computer is not blocking file and printer sharing. You can check this in Control Panel > System and Security > Windows Defender Firewall > Allow an app or feature through Windows Defender Firewall.
- Using the Correct Path: When accessing the shared folder, ensure that the path is correct. Instead of using the email option, try accessing the folder directly via File Explorer by entering
\MAINCOMPUTER\Users\Alan\Documents\Alandocsin the address bar. - Reboot Devices: Sometimes, simply rebooting both computers can resolve connectivity issues.
If after checking these points the issue persists, consider disabling password-protected sharing temporarily to see if that resolves the access problem. You can do this in Control Panel > Network and Sharing Center > Change advanced sharing settings.
Hopefully, one of these suggestions will help you resolve the issue!