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!
If I use the command "samba restart" it'll instantly solve the issue. Additionally I can rename the folder from within UnRaid terminal or Krusador and it has no errors.
This is a random error, I can manipulate many files and move folders, but when it happens it happens. Only solution to fix it is to restart samba or reboot the machine.
-
WINDOWS 10: The Action Cannot Be Completed Because The Folder Or File Is Open In Another Program
By jlw_4049
-
Solved
Urgent
User Feedback
Recommended Comments
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.