Re: Error: Windows API error 5: Access is denied.
Andrei Malokostov <[email protected]> Sun, 4 Jun 2017 19:31:18 +0300
| Newsgroups | gmane.comp.tex.miktex |
|---|---|
| Message-ID | <CABtg2RS4=mq880n=jv1dFjmQnNoMT6-J-ifvzfSE69v5dM=e4g@mail.gmail.com> |
Dear Jerry, It is very strange that this file is corrupt. But if it is really corrupt, there is a lot of reasons why this can happen. If I met such problem, first of all I would restart the system: probably this file is affected by some process, and restart could "free" this file. The second reason is that some program tries to make something with this file. If all else is OK, I would load Windows in the safe mode and delete this file. Next step is to run chkdsk.exe with options /f /r . This can take a lot of time, but if there are some errors in the NTFS file system, this can fix them, and then you can change the corrupt file by the good one. And of course, you can replace it without reinstalling MikTeX: you can download file miktex-mkfntmap-bin-x64-2.9.tar.lzma from the MikTeX distribution and extract mkfntmap.exe from this archive (by 7-zip, for example). But 2017-06-04 18:33 GMT+03:00 Jerry <[email protected]>: > On Sun, 4 Jun 2017 09:09:32 -0400, Jerry stated: > > >While attempting to update MiKTeX, I am receiving the following error > >message: > > > >Error: Windows API error 5: Access is denied. > > > >This is on a Win10-PRO 64bit machine. The log file is available at this > >URL: https://www.seibercom.net/MiKTeX-update-Failure.log > > Upon further investigation, I believe this file has become corrupt: > > C:\Program Files\MiKTeX 2.9\miktex\bin\x64\mkfntmap.exe > > How can I replace it without having to reinstall MiKTeX completely? > > -- > Jerry > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Q: How can I leave the mailing list? > A: See http://docs.miktex.org/faq/support.html#leavingml > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Q: How can I leave the mailing list? A: See http://docs.miktex.org/faq/support.html#leavingml