Hello,
We have several users using Directory Opus. It has recently been reported that when moving files or folders between mapped drives a UAC box pops up. We have recently removed admin rights for users so they see a box asking for credentials. In my testing I found that even running as admin or entering admin credentials gives an error about not being able to find the path specified. If I copy the same files or folders the copy is successful. The UAC only pops up when trying to complete a move. The mapped drives are each a different server. Although the copy works we have users that do not want to copy but move so they are complaining.
Does anyone know why we might be seeing this behavior?
Assuming Opus 13, make sure this is not turned on:
Preferences / File Operations / Copying Files / Security:
Update permissions even if it triggers a UAC prompt
If that doesn't make a difference, are you able to move the folders with other tools? The UAC prompt will be appearing because some part of moving the folder (or metadata attached to it or one of the files) resulted in an Access Denied error. Windows doesn't provide a way for applications to know why the access was denied or if elevating with UAC will help, so the only choices at that point are to retry without elevation, retry with elevation, or skip the operation in question (which may just be metadata or permissions that usually don't matter, especially on network drives).
If permissions or something locking a file or folder are blocking the move then it won't be able to complete, which should be the case no matter what you do the move with. Sometimes that may just be temporary, where retrying after a few seconds lets it succeed.
Hello,
Thanks for the reply. I tried unchecking the box "Update permissions even if it triggers a UAC prompt" but it made no difference. The move does work in Windows Explorer.
I did some testing and found this appears to happen when moving files between shares in the same DFS name space. We have several DFS name spaces and several shares in each of those. Example would be our J drive has 6 server shares in it. If I try to move between shares in the J drive I get the error. If I try from a share in the J drive to our P drive, which contains another 6 shares, the move completes. If I whack \ into the server I do not get the error. At this time I am thinking the error has to do with DFS and being in the same name space.
Any idea of a setting in Opus that might help with this?
If you're familiar with Process Monitor, that may be the easiest way to pinpoint the operation that's triggering the UAC prompt. If you filter it on process name dopus.exe
and result access denied
it should narrow things down to the event just before the prompt (or one very close to it).
Alternatively, another test you could do is:
- Do a config backup (Settings > Backup & Restore).
- From Preferences / File Operations / Copying Files, turn everything off under these sub-categories:
- Attributes
- Metadata
- Security
- If the prompt no longer appears, restore the config backup and try one page at a time (etc.) to narrow down which thing it is. For example, the server might disallow changing file dates on that drive.
- If it doesn't make a difference, restore the config backup so you're back to how things were.