October 16, 20223 yr I have random errors when it comes to Windows 10 and SMB security shares. I encode/move a lot of media around, I use windows 10 VM from UnRaid as well as my actual Windows 11 gaming machine to manipulate the files. Randomly I'll get the error from windows the action cannot be completed because the folder or file is open in another program while trying to move/rename a folder/file that is in a secure share. This error pops up on both PC's so this is definitely not just a windows thing. This has to do with the share/smb security. Temporarily I can go into the share and change the security from Secure/Private to Public. As soon as I change the security the file can immediately be moved/renamed on either the VM/Physical Window machine. Additionally when this happens, I can use CLI/Krusader to rename/move the folder/file always regardless of share security. As far as I know my permissions are correct, the permissions for the folders/files definitely show correctly when I check them. Changing them to nobody/back makes no difference. The only thing that unlocks the file/folder is changing the share to Public OR rebooting both windows machines (this isn't really a good option as I have jobs running that sometimes takes days). I was wondering if there was a known fix for this, a work around, or if someone can give me some insight on if I'm doing something wrong. Thanks! EDIT: You can replicate this by simply using command prompt "rename" function from within your windows machine. After just try to move/delete said file and you'll get the above error. Edited October 16, 20223 yr by jlw_4049
October 17, 20223 yr Author Solution Seems the issue might have to do with the fact that I'm logged into the share on two machines. Then one of the windows machines is doing something with the file/folder when the other one edits it. As soon as I turned off the virtual machine it seems that the problem has went away for now at least.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.