Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initexmf: access denied error #328

Closed
1 task done
anapav opened this issue Jun 10, 2019 · 7 comments
Closed
1 task done

initexmf: access denied error #328

anapav opened this issue Jun 10, 2019 · 7 comments
Assignees
Labels
Milestone

Comments

@anapav
Copy link

anapav commented Jun 10, 2019

I tried to download the current version (2.9(.7086)) of MiKTeX for Windows (64 bit). When I try to install it (no matter if only for one user or all, I tried both) it shows me the following error message:

Windows API error 5: Access is denied. info: path="Software\MiKTeX.org\MiKTeX\2.9\Core"

The last part of the log looks as follows:

56 [0x00003d78] INFO initexmf null - starting: MiKTeX Configuration Utility 2.9.7076 (MiKTeX 2.9.7050 64-bit)

56 [0x00003d78] INFO initexmf null - Operating on the private (per-user) MiKTeX setup

56 [0x00003d78] INFO initexmf null - starting with command line: initexmf "--user-install=C:\Users\anapa\AppData\Local\Programs\MiKTeX 2.9" "--common-install=C:\Program Files\MiKTeX 2.9" --set-config-value=[Core]SharedSetup=0 "--log-file=C:\Users\anapa\AppData\Local\Programs\MiKTeX 2.9\miktex/config\uninst.log" --disable-installer --verbose

63 [0x00003d78] INFO initexmf null - Registering root directories...

Registering root directories... 71 [0x00003d78] FATAL initexmf null - Windows API error 5: Access is denied.

71 [0x00003d78] FATAL initexmf null - Info: path="Software\MiKTeX.org\MiKTeX\2.9\Core"

71 [0x00003d78] FATAL initexmf null - Source: Libraries\MiKTeX\Core\win\winRegistry.cpp

71 [0x00003d78] FATAL initexmf null - Line: 173

Sorry, but "MiKTeX Configuration Utility" did not succeed.

An error occurred: source file: Libraries\MiKTeX\Core\win\winRegistry.cpp source line: 173 message:    Windows API error 5: Access is denied. info: path="Software\MiKTeX.org\MiKTeX\2.9\Core" s <<< Cancel? Yes! >>>

I one had MiKTeX installed on my Laptop, unfortunately had to deinstall it after I stopped using it for a while. I did scan my Laptop for the word TeX aswell as MiK, as to delete all files from the previous installation.

I am the admin of this Laptop.

Does anyone know what the problem might be?

@edocevoli
Copy link
Member

Sorry, but it seems that your Windows system is not supported by the MiKTeX installer.

@anapav
Copy link
Author

anapav commented Jun 19, 2019

But I once previously (about half a year ago) had MiKTeX installed on this very Laptop. Same system. No changes to the Laptop or operating system were made.

@jlefeaux
Copy link

I'm having the exact same problem. And I also previously had MikTeX installed on my machine (which is running Windows 10, a supported system for MikTeX per https://miktex.org/kb/prerequisites)

@anirudhjayaraman
Copy link

I tried to download the current version (2.9(.7086)) of MiKTeX for Windows (64 bit). When I try to install it (no matter if only for one user or all, I tried both) it shows me the following error message:

Windows API error 5: Access is denied. info: path="Software\MiKTeX.org\MiKTeX\2.9\Core"

The last part of the log looks as follows:

56 [0x00003d78] INFO initexmf null - starting: MiKTeX Configuration Utility 2.9.7076 (MiKTeX 2.9.7050 64-bit)

56 [0x00003d78] INFO initexmf null - Operating on the private (per-user) MiKTeX setup

56 [0x00003d78] INFO initexmf null - starting with command line: initexmf "--user-install=C:\Users\anapa\AppData\Local\Programs\MiKTeX 2.9" "--common-install=C:\Program Files\MiKTeX 2.9" --set-config-value=[Core]SharedSetup=0 "--log-file=C:\Users\anapa\AppData\Local\Programs\MiKTeX 2.9\miktex/config\uninst.log" --disable-installer --verbose

63 [0x00003d78] INFO initexmf null - Registering root directories...

Registering root directories... 71 [0x00003d78] FATAL initexmf null - Windows API error 5: Access is denied.

71 [0x00003d78] FATAL initexmf null - Info: path="Software\MiKTeX.org\MiKTeX\2.9\Core"

71 [0x00003d78] FATAL initexmf null - Source: Libraries\MiKTeX\Core\win\winRegistry.cpp

71 [0x00003d78] FATAL initexmf null - Line: 173

Sorry, but "MiKTeX Configuration Utility" did not succeed.

An error occurred: source file: Libraries\MiKTeX\Core\win\winRegistry.cpp source line: 173 message:    Windows API error 5: Access is denied. info: path="Software\MiKTeX.org\MiKTeX\2.9\Core" s <<< Cancel? Yes! >>>

I one had MiKTeX installed on my Laptop, unfortunately had to deinstall it after I stopped using it for a while. I did scan my Laptop for the word TeX aswell as MiK, as to delete all files from the previous installation.

I am the admin of this Laptop.

Does anyone know what the problem might be?

Facing exactly the same issue.

@anirudhjayaraman
Copy link

But I once previously (about half a year ago) had MiKTeX installed on this very Laptop. Same system. No changes to the Laptop or operating system were made.

Me too!

@edocevoli edocevoli reopened this Nov 7, 2019
@edocevoli edocevoli self-assigned this Nov 7, 2019
@edocevoli edocevoli added the bug label Nov 7, 2019
@edocevoli edocevoli added this to the 2.9.7250 milestone Nov 7, 2019
@edocevoli edocevoli changed the title When trying to install MiKTeX: Windows API error 5: Access is denied. info: path=“Software\MiKTeX.org\MiKTeX\2.9\Core” initexmf: access denied error Nov 10, 2019
@edocevoli
Copy link
Member

This has been fixed.

@anirudhjayaraman
Copy link

Thanks. Yes, no more issues!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants