Starting with version 24H2 and continuing into 25H2, Windows 11 has introduced stricter security policies that disable guest access to SMB shares by default. This means that even if you've configured folder sharing without credentials, the system will still prompt for a username and password.
To resolve this, you can enable insecure guest access manually via Group Policy or the Registry Editor. However, please note that this may reduce the overall security of your network. Alternatively, ensuring that both PCs have matching user accounts with identical credentials and enabling password-protected sharing might offer a more secure workaround.
This behavior differs from Windows 10, which still allows guest access under certain configurations, hence the discrepancy you're seeing. If you'd like, I can guide you through the steps to adjust these settings safely.
If this answer helps resolve your issue, please don’t forget to hit “Accept Answer” 😊. Let me know if you need further assistance!