Strange windows behavior with smb share

I just got one of those mini pcs and I am setting it up in my network. I have connected an SMB share which seemed to work fine. However whenever I copy a file from the C drive to ANY location on the share I get an error that the files already exist on the SMB. They do not already exist. It asks me to replace the file and I say replace but I get an error 0x80070021. Can anyone help. I have another windows computer on my home network and I don’t have this issue.
Screenshot 2024-11-29 161009

Don’t copy the file lol. The .ds_store is for folder preferences. You can’t delete it because another one will be generated.

I chose poorly but it happens with every file and whether I am copying from the server to the desktop or the other way around.
Screenshot 2024-11-29 162754

I removed the shares and the permissions and added them back again . Seems to work now.