Hello
If your system is Windows 11 24H2 version, I suspect the issue is caused by SMB signing. I recommend that you open PowerShell as an administrator and run the following command to disable SMB signing and restart your computer to see if the issue can be resolved:
Set-SmbClientConfiguration -RequireSecuritySignature $false
Set-SmbServerConfiguration -RequireSecuritySignature $false
Control SMB signing behavior | Microsoft Learn
If the problem persists, please reply here with a screenshot of the error message that appears when you try to access a shared file, as this will help us troubleshoot the issue.
Best Reagrds
Zunhui