Re: Error: Windows API error 5: Access is denied.

Jerry <[email protected]> Sun, 4 Jun 2017 13:29:41 -0400
Newsgroups gmane.comp.tex.miktex
Organization Seibercom NET
Message-ID <[email protected]>
On Sun, 4 Jun 2017 19:31:18 +0300, Andrei Malokostov stated:

>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).

Unfortunately, it is not that easy. I could not delete the
"mkfntmap.exe" file. I needed to log in as an administrator and then
delete the file. It had to be deleted first because the system would
not allow it to be over written. I then logged in as my normal self,
and ran "MikTex Update (Admin)" from the start menu, and it proceeded to
update all the files including installing the
"miktex-mkfntmap-bin-x64-2.9.tar.lzma".

Problem solved.

-- 
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