I have one PC that has had this problem for years, and I was stumped.
Now I have the second one, so I wasn't giving up.
This worked:
Go to: Settings, Network, Advanced Network, Advanced Sharing. Turn the Network Discovery and File and Printer Sharing options on and off.
Now, to go to the first one and see if it works twice. 😎
!!! It's magical. You won't believe all the things I've tried.
LoL - Claude is very wordy and emotional.
The above fix doesn't stick or even work every time. It's a Windows 11 thing.
I'm back to giving up.
If you want to check the shares on "MyPC"
\\mypc
or
\\your IP address