Highlighted

Lightroom cannot start because it cannot create files in the temporary file location

New Here ,
Mar 02, 2020

Copy link to clipboard

Copied

Hello,


I use Lightroom 9.2 on windows 10. I have about 20Gb free on my disk.

When i start Lightroom (Classic, or CC), a popup error message (in french for me) with "Lightroom cannot start because it cannot create files in the temporary file location "c:\users\...\Appdata\Local\temp"

I run normally as a user with admin capacity, and manually, i can create files in Temp folder.

When i start in Admin mode, Lightroom start and work well.

 What can i do ?

 

Best regards

I have the same problem with Lightroom CC, but not with Photoshop. I have a Creative Cloud Photography plan.

Topics

Problem or error, Windows

Views

602

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Lightroom cannot start because it cannot create files in the temporary file location

New Here ,
Mar 02, 2020

Copy link to clipboard

Copied

Hello,


I use Lightroom 9.2 on windows 10. I have about 20Gb free on my disk.

When i start Lightroom (Classic, or CC), a popup error message (in french for me) with "Lightroom cannot start because it cannot create files in the temporary file location "c:\users\...\Appdata\Local\temp"

I run normally as a user with admin capacity, and manually, i can create files in Temp folder.

When i start in Admin mode, Lightroom start and work well.

 What can i do ?

 

Best regards

I have the same problem with Lightroom CC, but not with Photoshop. I have a Creative Cloud Photography plan.

Topics

Problem or error, Windows

Views

603

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Mar 02, 2020 0
Adobe Employee ,
Mar 02, 2020

Copy link to clipboard

Copied

Hi there, 

 

We are sorry about the experience with Lightroom due to the permissions error. If the application is working properly by launching the application as administrator, it seems like the issue is due to permissions on the application folders.

 

Please grant permissions to the folders at the below mentioned locations manually and then restart the computer to check if that helps.

C:\Program Files\Adobe

C:\Program Files (x86)\Common Files\Adobe

C:\ProgramData\Adobe

 

If you still face issues, please create a new user account on the computer with Admin rights and check if the issue persists in that. You can check: https://support.microsoft.com/en-us/help/4026923/windows-10-create-a-local-user-or-administrator-acc...

 

Regards,

Nikunj

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Mar 02, 2020 0
New Here ,
Mar 03, 2020

Copy link to clipboard

Copied

Thank you for help but no success.

Grant permissions to the folders listed above, and on "c:\users\...\Appdata\Local\temp" : no success.

Create new admin account, same error.

Free about 50GB on hard disk, no change (for JimHess)

Pop up is at startup. No other windows before.

Annotation 2020-03-03 181251.jpg

 

 

Anoter idea ?

Is there log file to investigate ?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Mar 03, 2020 0
New Here ,
Mar 04, 2020

Copy link to clipboard

Copied

I have deinstalled all Adobe products (lightroom, photoshop, creative cloud desktop, acrobat ...)

I have deleted all Adobe folfers (in Program files, Program files x86, Appdata, ProgramData)

I have the run the Adobe Creative Cloud Cleaner Tool (i have log file if usefull).

I have restarted computer.

Re-Install Cloud Desktop, Lightroom.

Always same error. Lightroom crash immediatly with above popup. Lightroom run well in admin mode.

What can i do, now ?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Mar 04, 2020 0
Advocate ,
Sep 26, 2020

Copy link to clipboard

Copied

> Please grant permissions to the folders at the below mentioned locations manually and then restart the computer to check if that helps.

> C:\Program Files\Adobe

> C:\Program Files (x86)\Common Files\Adobe

> C:\ProgramData\Adobe


This doesn't make sense. As mentioned in the OP, the problem occurs when trying to create temp files in the folder pointed to by the TEMP environment variable. Also, a standard Windows application should not have to write to the C:\Program Files folder. This does not comply with the Windows programming rules. Giving permission to write to C:\Program Files is unsafe. Every Windows programmer knows this.

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 26, 2020 0
Adobe Community Professional ,
Mar 02, 2020

Copy link to clipboard

Copied

Windows requires 20%-25% of free disk space at all times to function properly. If your hard drive only has 20 GB available, it is quite possible that you don't have enough space available for Windows to to function, and therefore Lightroom and Photoshop cannot function properly either. You probably need to find a way to provide more disk space by moving some of your data to an external hard drive.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Mar 02, 2020 0
New Here ,
Mar 04, 2020

Copy link to clipboard

Copied

Lightroom run when in admin mode. I have 50GB free on hard disk, and always error.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Mar 04, 2020 0
Advocate ,
Sep 26, 2020

Copy link to clipboard

Copied

Hi,

 

I have exactly the same problem and even more. Also, Photoshop will not launch unless run as an administrator. Like you, under the same account, I can create files in the target Temp folder. Any other application can. Not Lightroom. LR obviously has a problem with NTFS partitions and permissions. That's easy to demonstrate :

- My temp folders have been moved to a dedicated NTFS partition but this was not enough to solve the problem. All aplications and Windows could write to the Temp folders there. Just LR couldn't.
- Reformating that partition as FAT32 fixes the problem. Ahem, this fixes the problem for the temporary files....
- But if I try to create a catalog on another NTFS partition, LR fails claiming that I have no permissions to write there (although a lot of applications on my system are writing data there - so the error message is absolutely wrong).

- I have checked the permissions for all the concerned folders : no problem, all users have full rights on these folders and partitions.

 

The problem is similar with Photoshop. This is not a new issue but a long lasting bug affecting both LR and PS and probably other Adobe apps. It's time to do something about it.

 

The only workaround is to change the executable properties in order to have the program automatically launched as an administrator (right-click photoshop.exe or lightroom.exe | Properties | Compatibility tab | Check Run as an adminsitrator). Being forced to use an application as an administrator is not secure, especially because these apps are constantly exchanging data on the web. This should not happen and no mainstream application should need this. That's unacceptable.

This bug is obviously related to the system configuration and probably to the UAC. So, it may or may not appear depending on the user's choices in this area. But this is in no way due to incorrect permission settings or to unsufficient disk space. Even when the permissions are correct, the problem may occur. It's an issue with the PS or LR code that cannot deal with the NTFS security properties.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 26, 2020 1
Adobe Community Professional ,
Sep 26, 2020

Copy link to clipboard

Copied

Using Windows File Explorer, the first thing I would check is to see what the security properties are on the temp folder. Your user account should have "full" rights to the folder.

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 26, 2020 0
Advocate ,
Sep 27, 2020

Copy link to clipboard

Copied

@ManiacJoe

> the first thing I would check is to see what the security properties are on the temp folder

Please read again my message. That's what the users hit by this problem are generally doing and in most (if not all) cases, the permissions on the Temp folder are OK.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 27, 2020 1
LEGEND ,
Sep 26, 2020

Copy link to clipboard

Copied

You don't say what TEMP folder you are trying to use. In the previous example in this thread, you should not be trying to write to the folder C:\users\<username>\AppData as this is usually reserved for use by the operating system, and not by the user. This is also why running as administrator will work, but it is still a terrible idea, let Windows handle/modify the C:\users\<username>\AppData folder.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 26, 2020 0
Advocate ,
Sep 27, 2020

Copy link to clipboard

Copied

@dj_paige

> You don't say what TEMP folder you are trying to use.

It's not the user who decides which Temp folder is used. Lightroom uses the TEMP folder pointed to by the TEMP environment variable. Since all other applications and Windows itself can use this folder without any problem, the problem is certainly not due to wrong permissions.


As I reported above, the problem can also occur with other folders. Just read my message again. I fixed the Temp folder issue by reformating the partition to FAT32. The issue with the TEMP folder disappeared. But as soon as I tried to create a catalog in another folder on another (NTFS) partition, the problem was back (unless LR was run as an administrator) : LR could not create the catalog because I allegedly had no rights to write to this folder (which was wrong).

Again, I think that LR (and PS by the way) have a problem with NTFS partitions and UAC. That's a bug, not a configuration problem. Otherwise, other applications writing to the very same temp folder would have the same problem which is not the case.

I have noticed that very often, this problem occurs on systems where the Temp folders have been deported to another partition than C: by modifying the TMP/TEMP environment variables. Sometimes, I have the feeling that LR is trying to write somewhere else (although the error message is showing the right folder name, it's not necessarily a proof that it was trying to writ eto that folder).

 

> C:\users\<username>\AppData as this is usually reserved for use by the operating system, and not by the user

This is plain wrong. The default Temp folder for any user is "%USERPROFILE%\AppData\Local\Temp". "%USERPROFILE%\AppData\" is reserved for user specific informations generated by the system and by applications. So obviously, the corresponding user always has full rights on this folder and its subfolders. Many users are using a SSD as C: and they try to be thrifty with disk space. So, they modify the TEMP environment variable in order to have the temp files stored on another partition.

 

It's not a new issue. A lot of users have reported it since years. Now it's time that Adobe have a serious look at it.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 27, 2020 0
Advocate ,
Sep 27, 2020

Copy link to clipboard

Copied

> C:\users\<username>\AppData as this is usually reserved for use by the operating system, and not by the user

By the way, temporary files that are not user specific are stored in C:\Windows\Temp by default. However, they can also be moved to another partition by changing the corresponding environment variable.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 27, 2020 0
dj_paige LATEST
LEGEND ,
Sep 27, 2020

Copy link to clipboard

Copied

Alright, but if you're not going to look at where Lightroom stores your files (which you have complete control over), then I doubt there will be a solution found.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 27, 2020 0