Related to this question, last week my portable installation of MikTex starting throwing errors. When I try to update packages, I receive the following error message...
The operation could not be completed for the following reason: The MiKTeX package management utility could not be found.
Also, when I try to run the miktex-portable.bat file, I receive the "Windows API error 2" error.
My portable distribution hasn't had these troubles the last three years. I have tried on three different computers. I even returned my laptop to Windows 8 to no avail. I just downloaded a new portable copy of MiKTeX and still the errors occur.
Might anyone have any suggestions?
Update: I don't have all the answers as to the source of the errors, but this link provided the right idea.
Download a fresh copy of portable MiKTeX. Navigate to the \miktex\bin folder and run the MiKTeX Package Manager (admin) program mpm_mfc_admin.exe. Synchronize the repository. Next run the Update MiKTeX (admin) program miktex-update_admin.exe twice.
With this method everything seems to behave.
I appreciate all the comments.
Update 2: My question is not a duplicate. I had tried the suggestion on the linked question, going as far as installing the C++ redistributable, but it didn't work. My update works.