Hello Afdez,
Welcome to Microsoft Q&A forum.
The McAfee might be relevant here, may I know if it happens in the affected computer or in the normal one? Anyway, you could just disable it to check.
Also, if you are running Ubuntu 24.02 under WSL2, the system will expose the Ubuntu folder under a special path of \wsl$ or \wsl.localhost instead of SMB/Samba. In this case, please help me do a little check.
- Open PowerShell as administrator in the affected PC.
- Type explorer.exe \wsl$ and let me know the exact error message.
Also, please help me compare the output of wsl --version and wsl -l -v on the 2 computers. Lastly, please open Ubuntu on the affected PC and open the explorer.exe. There, please type \wsl$ and \wsl.localhost to see if either of these works (1 is enough)?
I'm waiting for your reply.