Hello,
If your system is windows 11 24H2 version I suspect the problem may be caused by SMB signature. 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 you can fix the problem:
Set-SmbClientConfiguration -RequireSecuritySignature $false
Set-SmbServerConfiguration -RequireSecuritySignature $false
Control SMB signing behavior | Microsoft Learn
Best Regards
Zunhui