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
To see shares in CMD
net share
To delete a share
net share MyShare /delete
To set a share
net share Share=C:\Share /GRANT:Everyone,READ
or
net share Share=C:\Share /GRANT:Everyone,FULL
or
net share Share=C:\Share /GRANT:John,FULL
This one can be tricky because of
Windows account credentials
To set up John's credentials on the host machine, open Command Prompt as an administrator and run:
net user John * /add
You'll be prompted to enter and confirm a password for John. This creates a local user account.
After creating the account, you can assign it to a group (e.g., Users or Administrators) if needed:
net localgroup Users John /add