Hello,
Run the following commands in Command Prompt as Administrator to Reset Network Components:
# Reset the TCP/IP stack
netsh int ip reset
# Reset the Winsock catalog
netsh winsock reset
# Renew IP address
ipconfig /release
ipconfig /renew
# Flush DNS cache
ipconfig /flushdns
# Reset the network interface
netcfg -d
Ensure the Network Location Awareness service is running in services.msc. Ensure it is running and set to Automatic.
You can also use PowerShell to perform a more detailed connectivity test, including checking for open ports:
Test-NetConnection -ComputerName <IP_of_other_PC> -CommonTCPPort SMB
This will test the connectivity to the SMB port on the other PC.
If the Answer is helpful, please click "Accept Answer" and upvote it.