Hi!
Did you upgrade from Windows 10 to Windows 11, or did you reinstall Windows 11 from scratch?
Are you using Local Accounts, or email accounts?
In that case, I recommend doing all the sharing from scratch. Let's define the two computers as PC01 and PC02. PC01 is the computer where you have a folder to share. If you share folders on both PCs, perform the procedure first with PC01, and if it works, do it with PC02.
01 - Network (PC01)
- Right-click on the Internet icon > Network and Internet Settings.
- Click on Properties > Mark the Network Profile as Private.
- Go back to the Network Settings > Click on Advanced Network Settings > Click on Advanced Sharing Settings.
- In Private, check the Network discovery, Automatically configure network-connected devices, File and printer sharing.
- Expand All Networks > Check Password protected sharing.
- If the User does not have a password, add a password to the user whose access to the folder you have restricted.
- Generally, when sharing files, I prefer to create a dedicated user for that purpose. I usually create a user named share. Press Windows + R > Type
cmd> press enter > Type the command below:
net user /add share PASSWORDHERE
- Replace PASSWORDHERE with your desired password. Write down the password.
- share is the username. You can change it, avoid spaces.
02 - Shared Folder (PC01)
- Open the Shared Folder Properties > Click Sharing > Advanced Sharing... > Permissions > Add > Advanced > Find now > Search for the username (share) > Select the user > Click OK.
- Select the user and check Full Control > Click OK.
- You will do this procedure in Security if you have not done so already.
03 - Hostname (PC01)
- Rename your computer to make adding easier and avoid network problems. Skip this step if you've already done it. Press Windows + R > Type
sysdm.cpl. - Under Computer Name, click Change... > Under Computer Name, enter an easy hostname, avoid spaces and special characters. Prefer names like PC01, COMPUTER01, SERVER, etc.
- OK > Apply > Restart your computer > Note this name.
04 - Add Share (PC02)
- Right-click on the Internet icon > Network and Internet Settings.
- Click on Properties > Mark the Network Profile as Private.
- Press Windows + R > Type "control keymgr.dll" (without quotes) > Click on Windows Credentials > Add a Windows Credential.
- Fill in the Address, Username and Password fields > Save.
- In username and password, enter the username and password, or the username you created.
- In address, enter the hostname of PC01.
- Press Windows + R > Type
\\HOSTNAMEPC01> Press Enter.
- Replace HOSTNAMEPC01 with the hostname of PC01 that was defined.