Skip to main content
Participant
December 12, 2023
Question

Adobe Reader cause error when open pdf file with protected mode on

  • December 12, 2023
  • 2 replies
  • 3488 views

Hi,

     When open pdf file with long path and file name (exceed 260 characters) with Protected Mode on, the Adobe Reader (verson 2023.006.20380 64-bits) will report error: "There was an error opening this document. Access denied.". If I disable "Enable Protected Mode at startup", I can open the same pdf file without issue.
If I shorten the path and filename to less than 260 characters, I also don't have this issue regardless of the "Enable Protected Mode at startup" is enable or disable.

    I have no permissions and rename of the folder structure, folders name and filename, so wonder anyone had better solution as I prefer to turn on the protected mode. Also, I already enable the "Enable Win32 long paths" group policy on my computer.

 

   Thanks and have a nice day.

2 replies

Participant
February 12, 2024

Hi ywx73!

Try this methode.
First, open CMD and type 

fsutil 8dot3name query d:

 If you get this: "The volume state is: 1 (8dot3 name creation is disabled)" you need to enable 8dot3 name creation on 😧 drive with the following command: (the default value is 1=disabled)

fsutil 8dot3name set d: 0

 Now, you need to recreate long named folders and try open files. I hope it's fixed your problem.

Amal.
Community Manager
Community Manager
December 12, 2023

Hi @ywx73 

 

Hope you are doing well and thanks for reaching out.

 

Is the file stored on a shared drive (Dropbox, google drive etc.)? If yes, please try to save the file locally on our computer and see if that works.

 

Also, please go through the help article that i have found on MS support https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=registry and see if that works.

 

Hope this information will help

 

~Amal

ywx73Author
Participant
December 13, 2023

Hi,

    The file is not store under OneDrive or any cloud base drive. Also, I already enable the "LongPathsEnabled" as mention in my first post.

Anyway, I done some more test on my Windows 10 and Windows 11 PC and all have the same result:
1) I copy a pdf file into a long path (path + filename greater than 260 characters) folder in my C (system) drive, I can open the pdf file using Adobe Reader without issue.
2) I copy a pdf file into a long path (path + filename greater than 260 characters) folder in my D and E drive, I encounter error when try to open the pdf file using Adobe Reader.
3) I copy a pdf file into a long path (path + filename greater than 260 characters) folder in my user folders (documents, download, pictures & etc), I can open the pdf file using Adobe Reader without issue.
4) The strange part is the desktop. I copy a pdf file into a long path (path + filename greater than 260 characters) folder in my user desktop, I encounter that error when try to open the pdf file using Adobe Reader directly from the desktop. But if I use the quick access from the Windows Explorer (the "desktop" quick access in the left nagivation panel) tp browse to the files in the desktop, I can open the pdf file using Adobe Reader without issue.

     I record a video showing my testing using my Windows 11 PC:
https://www.youtube.com/watch?v=By5su68l5ac

     Have a nice day.

Bernd Alheit
Community Expert
Community Expert
December 13, 2023

Are D and E local drives at your system?