Lightroom Classic can't batch rename photos on a special drive
Hi!
I know that what I try to do is not officially supported, but I still can't understand what the problem is and if I could workaround somehow.
System: Windows 10 Pro, 21H2, build 19044.2728 (but i'm sure nothing to do with Windows)
Problem:
When I select photos from drive P and try to mass rename them I get the Problem with Renaming Files error window with Some photos will not be renamed because they are missing or not writable. No matter if I try with one or many photos, all are listed to have the problem above.
The funny things:
- I can open any photo with the Show in Explorer menu
- I can rename any photo by modifying the file's name in Metadata group's File Name field
- During the above operations Windows' audit log show successfull credential check, file handle request, file open, file close, etc.
- During mass rename neither failed nor successful audit log events are logged
- Mass rename works outside of drive P
Tech background:
I used to use a network folder for my original RAW files. The shared folder was mapped as drive P to my desktop. Although this worked fined it was a little slow sometimes because of huge number of raw files and only 1 Gpbs network connection to my NAS.
I bought a new SSD and installed it as drive E and created a photo folder on it and copy all images into it. I permanently mapped E:\photo as drive P with regedit.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices
Key: P:
Value: \??\E:\PhotoThis makes P drive available right during boot time and works as a real drive without any problems except for Lightroom Classic.
Judging by the logs I'm pretty sure that the registry magic to fake drive P is the cause of the problem. What I don't understand why single rename works while mass rename does not.
Any help, suggestion appreciated.
Thanks,
Peter
