TC8.01, Acrobat Reader DC - can't open pdf files from TC
Moderators: white, Hacker, petermad, Stefan2
TC8.01, Acrobat Reader DC - can't open pdf files from TC
First, please be excused for my poor English!
I work with Windows10 and administrative rights. When I came across the problem, I started and Task Manager to observe what is happening.
TC is installed in "Program files".
PDF files are associated with Acrobat Reader DC as default.
1. When I double click on pdf file in File Explorer (i.e. Windows Explorer), the file is opened. Task Manager shows that is started the application "Adobe Acrobat Reader DC" and tree background processes "Adobe RdrCEF".
Now if double clik on pdf file in TC, the file also is opened and Task Manager shows that is launched another process "Adobe RdrCEF".
If I close both pdf files, running processes and application are also closed.
2. If the application Acrobat Reader DC is not runing and I double click on the pdf file, the file does not open and Task Manager shows that are started only two background processes "Adobe Acrobat Reader DC".
Now if I double click on another pdf file in TC, nothing happens, but if I double click on pdf file in File Explorer, Task Manager shows that is launched another two background processes "Adobe Acrobat Reader DC". If I again double click on another pdf file in File Explorer, Task Manager shows that is launched another two background processes "Adobe Acrobat Reader DC". And so on.
Since no application is started, these background processes can be terminated only by Task Manager.
After 5-10 min. background process, launched from File Explorer show window "Fatal Error" with message "Acrobat failed to connect to a DDE server" and when close window, process is closed. Background processes launched from TC can be terminated only by Task Manager.
3. If I click in TC on pdf file with right mouse button and select "Open with/Adobe Acrobat Reader DC", happens the same as in point 2.
4. If I click in TC on pdf file with right mouse button and select "Open with/Choose another App/" and then select "Adobe Acrobat Reader DC", the file is opened normally.
Now if I double click on another pdf file in TC (and in File Explorer), it also is opened normally.
Although on opening of the file in this way checkbox "Always use this app to open .pdf files" is marked, after closed once the app, the situation remains the same as in point 2.
Any ideas to solve this problem?
I work with Windows10 and administrative rights. When I came across the problem, I started and Task Manager to observe what is happening.
TC is installed in "Program files".
PDF files are associated with Acrobat Reader DC as default.
1. When I double click on pdf file in File Explorer (i.e. Windows Explorer), the file is opened. Task Manager shows that is started the application "Adobe Acrobat Reader DC" and tree background processes "Adobe RdrCEF".
Now if double clik on pdf file in TC, the file also is opened and Task Manager shows that is launched another process "Adobe RdrCEF".
If I close both pdf files, running processes and application are also closed.
2. If the application Acrobat Reader DC is not runing and I double click on the pdf file, the file does not open and Task Manager shows that are started only two background processes "Adobe Acrobat Reader DC".
Now if I double click on another pdf file in TC, nothing happens, but if I double click on pdf file in File Explorer, Task Manager shows that is launched another two background processes "Adobe Acrobat Reader DC". If I again double click on another pdf file in File Explorer, Task Manager shows that is launched another two background processes "Adobe Acrobat Reader DC". And so on.
Since no application is started, these background processes can be terminated only by Task Manager.
After 5-10 min. background process, launched from File Explorer show window "Fatal Error" with message "Acrobat failed to connect to a DDE server" and when close window, process is closed. Background processes launched from TC can be terminated only by Task Manager.
3. If I click in TC on pdf file with right mouse button and select "Open with/Adobe Acrobat Reader DC", happens the same as in point 2.
4. If I click in TC on pdf file with right mouse button and select "Open with/Choose another App/" and then select "Adobe Acrobat Reader DC", the file is opened normally.
Now if I double click on another pdf file in TC (and in File Explorer), it also is opened normally.
Although on opening of the file in this way checkbox "Always use this app to open .pdf files" is marked, after closed once the app, the situation remains the same as in point 2.
Any ideas to solve this problem?
Re: TC8.01, Acrobat Reader DC - can't open pdf files from TC
To be precise: Your account has administrative rights but UAC is active and you are running TC elevated (as administrator)?Venko wrote:I work with Windows10 and administrative rights.
Does it work if you start TC with normal/restricted user right (non elevated)?
Regards
Holger
Yes Holger! That's right! I run TC as administrator.
And it's strange, but when I start TC with normal user rights, no problem with opening PDF files. Moreover disappear annoying UAC window, appearing at each start, with which I had reconciled. But now there are problems such as for example remembering of the last open folders. This is obviously due to remembering of the .ini files in the folder "Windows". I think it was somewhere option to indicate where these files are stored, which would solve this problem, but now I can not find it.
Thanks for the help!
And it's strange, but when I start TC with normal user rights, no problem with opening PDF files. Moreover disappear annoying UAC window, appearing at each start, with which I had reconciled. But now there are problems such as for example remembering of the last open folders. This is obviously due to remembering of the .ini files in the folder "Windows". I think it was somewhere option to indicate where these files are stored, which would solve this problem, but now I can not find it.
Thanks for the help!
You can use the tool inireloc (direct download) to specify where TC should search the INI-Files.
Recommended place is (o) Documents and Settings (user specific application data)
sea also: http://www.ghisler.ch/wiki/index.php/Ini-settings#Location
Regards
Holger
Recommended place is (o) Documents and Settings (user specific application data)
sea also: http://www.ghisler.ch/wiki/index.php/Ini-settings#Location
Regards
Holger
- ghisler(Author)
- Site Admin
- Posts: 48125
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
The problem is that Acrobat Reader runs hidden in the background all the time, so it can open documents more quickly. When you launch a PDF, it seems to pass the name to the running copy via Windows messages. This is blocked by Windows between normal and elevated programs.I run TC as administrator.
And it's strange, but when I start TC with normal user rights, no problem with opening PDF files.
You can use a Lister plugin with F3 to view PDF files when TC runs elevated. Try sLister:
http://totalcmd.net/plugring/slister.html
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Thanks for the explanation Glister. Yes, it is logical.
But since this effect may occur and with other applications, I prefer the solution whereat I run TC in normal user mode, and .ini files of TC I keep in a folder in "users". Obviously the goal of Windows latterly is the same.
Thanks again everyone!
But since this effect may occur and with other applications, I prefer the solution whereat I run TC in normal user mode, and .ini files of TC I keep in a folder in "users". Obviously the goal of Windows latterly is the same.
Thanks again everyone!
-
- Junior Member
- Posts: 83
- Joined: 2010-04-19, 15:50 UTC
skip elevated
I prefer to run Totcmd as elevated. Slister is nice but not always enough.
I want to bypass this Acrobat Reader problem by running some script that will run the Acrobat Reader with the pdf document name as parameter.
Problem is, because Totcmd is elevated, windows 10 run the script also as elevated.
Does anybody know if there is a way to run a script specifically as not-elevated?
Maybe Some property or some command (anti elevate.exe), or by task scheduler using some intentional log event?
I want to bypass this Acrobat Reader problem by running some script that will run the Acrobat Reader with the pdf document name as parameter.
Problem is, because Totcmd is elevated, windows 10 run the script also as elevated.
Does anybody know if there is a way to run a script specifically as not-elevated?
Maybe Some property or some command (anti elevate.exe), or by task scheduler using some intentional log event?
-
- Junior Member
- Posts: 83
- Joined: 2010-04-19, 15:50 UTC
found a solution
I found some solution
I associated the extension pdf to a batch file which contains one line
runas /trustlevel:0x20000 "c:\Progra~2\Adobe\Acroba~1\Reader\AcroRd32.exe %1"
I associated the extension pdf to a batch file which contains one line
runas /trustlevel:0x20000 "c:\Progra~2\Adobe\Acroba~1\Reader\AcroRd32.exe %1"
Re: found a solution
The solution of lezerogan2 helped me to find an improved version with the following benefits:lezerogan2 wrote:I found some solution
I associated the extension pdf to a batch file which contains one line
runas /trustlevel:0x20000 "c:\Progra~2\Adobe\Acroba~1\Reader\AcroRd32.exe %1"
1. Support for file paths with spaces.
2. No indirection via batch file. Total Commander invokes runas.exe directly.
Just add an internal association for *.pdf files with the following open-command:
Code: Select all
runas /trustlevel:0x20000 "%ProgramFiles(x86)%\Adobe\Acrobat Reader DC\Reader\AcroRd32.exe "%1""
Re: found a solution
This does not work if the path to a document contains whitespaces.jb wrote: ↑2017-08-07, 14:40 UTCThe solution of lezerogan2 helped me to find an improved version with the following benefits:lezerogan2 wrote:I found some solution
I associated the extension pdf to a batch file which contains one line
runas /trustlevel:0x20000 "c:\Progra~2\Adobe\Acroba~1\Reader\AcroRd32.exe %1"
1. Support for file paths with spaces.
2. No indirection via batch file. Total Commander invokes runas.exe directly.
Just add an internal association for *.pdf files with the following open-command:Note that the inner double quotes need to be escaped (").Code: Select all
runas /trustlevel:0x20000 "%ProgramFiles(x86)%\Adobe\Acrobat Reader DC\Reader\AcroRd32.exe "%1""
And it is not possible to escape them, because %1 already uses quotes.
It causes runas syntax error
This is the result comand and it does not work:
Code: Select all
runas /trustlevel:0x20000 "C:\Program Files (x86)\Adobe\Acrobat Reader 2017\Reader\AcroRd32.exe \""C:\path to my pdf with spaces.pdf"\""
Code: Select all
runas /trustlevel:0x20000 "C:\Program Files (x86)\Adobe\Acrobat Reader 2017\Reader\AcroRd32.exe \"C:\path to my pdf with spaces.pdf\""
Re: TC8.01, Acrobat Reader DC - can't open pdf files from TC
This works fine:
runas /trustlevel:0x20000 "C:\Program Files (x86)\Adobe\Acrobat Reader 2017\Reader\AcroRd32.exe \"%1\""
runas /trustlevel:0x20000 "C:\Program Files (x86)\Adobe\Acrobat Reader 2017\Reader\AcroRd32.exe \"%1\""