Skip to main content
Adobe Photoshop Family

594 Messages

 • 

11.2K Points

Sat, Aug 12, 2017 2:43 PM

Who can explain this : error 16 only under certain circumstances ?

Hi,

Until I upgraded to Windows 10 Creators, I had to run both Photoshop and Lightroom in administrator mode, otherwise I always got the infamous error 16. I never could fix that. After the upgrade, both programs appeared to behave normally, although I had unchecked the "Run as an administrator" option in the Properties of each .exe file.

Then, in Lightroom,  I tried to "Edit in..." Photoshop from Lightroom. And PS emitted the error 16 again. But if I launch PS or LR directly, there's no error.

Now to the fun part : If I want to get rid of this error message, I need to set the "Run as an administrator" option for either Photoshop OR Lightroom. Not necessarily for both. Once one of these programs has its "Run as an administrator" option checked, there's no longer any problem.

Now if someone from the development staff could explain this oddity, I would appreciate (you can get technical, I'm a former developer and system engineer). I have multiple times checked all the permissions that are described in the various documents explaining how to fix this annoying and boring "configuration error - error 16" bug. To no avail.

I'm running Windows 10 Creators, PS and LR CC latest version. My TMP and TEMP variables point to a non system drive.

I have monitored the photoshop.exe process and I observed a problem when photoshop.exe tries to access C:\Program Files (x86)\Common Files\Adobe\SLCache\QUNDRVNTX0NIRUNL.slc in read/write mode. Just before this event, I can see that the file is accessed in read mode multiple times without any problem. See log file here (look for "access denied") :

https://www.dropbox.com/s/x9h7zkhojyn2vub/error16.log?dl=0

I have checked the permissions for this folder and for the file itself : all users including Everyone have full control for this folder and for this file.

 

--
Patrick
www.ppphoto.fr
Hamburg ist der wahre Grund warum
Kompassnadeln nach Norden zeigen.

Responses

594 Messages

 • 

11.2K Points

3 years ago

Now even more fun about this issue...

Giving some thought to what could be different when I launch PS from Lightroom and when I launch it directly, I came to the only possible conclusion : when launched from LR, the path to the file to be handled in PS is passed along as an argument on the command line (unless LR is using OLE Automation) and the photoshop.exe process is launched from another process, not directly from Explorer.

So I tried to run photoshop.exe from the command line, passing it the path to a TIFF file as an argument (between quotes), and guess what ? Error 16.

Then I removed the filepath argument and tried again to launch photoshop.exe  from the command line : error 16 again.

Then I opened a new command line window (cmd.exe) but I ran cmd.exe as an administrator and tried again : no error.

I then checked what happened when launching PS from the Start menu or from the icon pinned to the taskbar (not in administrator mode) : no problem.

So the same command (photoshop.Exe) can fail or not depending on the way it is run (from the Start menu, from its desktop or taskbar icon or from the command line) ? Never seen this.

What on earth is doing this code ?

 

--
Patrick
www.ppphoto.fr
Hamburg ist der wahre Grund warum
Kompassnadeln nach Norden zeigen.

Champion

 • 

2.2K Messages

 • 

36.9K Points

3 years ago

See if this helps. Try setting the permissions for both the Adobe PCD and SLStore folders to Read and Write:

https://helpx.adobe.com/creative-cloud/kb/configuration-error.html

594 Messages

 • 

11.2K Points

Hi Todd,

As mentioned above "I have multiple times checked all the permissions that are described in
the various documents
[including the one you mention] explaining how to fix this annoying and boring "configuration error - error 16" bug. To no avail.". Until I upgraded to Windows 10 Creators which seemed to fixed the problem.

However, the problem explained here is something new. There's no problem running LR or PS directly, whatever the user. The problem (error 16 in PS) occurs when launching PS from Lightroom using the Edit in... command.

This demonstrates that the program doesn't execute in the same context in this case (ditto when running PS from the command line in non administrator mode or when using Windows Powershell).

I should add that the problem occurs whatever the account type used (administrator or standard user).

 

--
Patrick
www.ppphoto.fr
Hamburg ist der wahre Grund warum
Kompassnadeln nach Norden zeigen.

594 Messages

 • 

11.2K Points

OK. The difference is that the desktop shortcut created during installation has the Run as administrator option checked in its Advanced properties. Was it me ? I can't remember changing this.

So back to the ever returning question : why do I need to run PS as an administrator anyway ?

 

--
Patrick
www.ppphoto.fr
Hamburg ist der wahre Grund warum
Kompassnadeln nach Norden zeigen.

Champion

 • 

2.2K Messages

 • 

36.9K Points

So back to the ever returning question : why do I need to run PS as an administrator anyway ?
Because you still have a user permissions issue with some files and or folders.

Windows 10 updates have been known to change permissions indiscriminately causing issues like this. Yes, I know you said the Win10 Creators update "fixed" the original problem, but that's my point. Windows 10 updates shouldn't be mucking around with currently installed program file and folder permissions, correct? It has also caused color management issue for some users due to hijacking the display profile and replacing it with an incompatible OEM profile.

594 Messages

 • 

11.2K Points

Because you still have a user permissions issue with some files and or folders.
Well, obviously. But which one ? After applying the recommendations made by Adobe in the document mentioned above, everything should work as expected. It's not the case. So I guess that some instructions are missing.

Given the number of reports about this problem, I think that Adobe should provide a tool checking (and possibly fixing) all the permission requirements for running their products. But I'm not sure that there's someone in the house who has a comprehensive understanding of all these permission requirements and who is able to make a clear diagnostic when this problem shows up. PS has become a complex beast and I'm wondering whether someone at Adobe is still able to tame it.

I have never seen a clear statement from Adobe telling us whether PS must be run in Administrator mode, which seems to be the case for a lot of us.

 

--
Patrick
www.ppphoto.fr
Hamburg ist der wahre Grund warum
Kompassnadeln nach Norden zeigen.

Champion

 • 

2.2K Messages

 • 

36.9K Points

My Windows 7 user account has administrator privileges and I don't any issues. You might try creating a new user account with administrator privileges and then reset the permissions on the Adobe PCD and SLStore folders.