[Tex/LaTex] MikTex 2.9 Portable. Cannot update and install packages

errorsmiktextexmaker

I have a company laptop running windows 7 enterprise edition 32bit without admin rights (resp. almost no rights to anything at all). I put the current version of MiKTex 2.9.4757 and Texmaker onto my user drive and installed ghostscript portable etc. according to the guideline of Jim Stitzel (using Asympote and no external pdf reader). But instead of putting it on a stick (which I tried too with similar problems) I saved it as I said in a separate folder at "My documents".

I've tried a lot and read through forums, but I just cannot get it to run. (Sorry for the mess here, but I am not allowed to post any images that provide a better overview to make that would make live easier for everyone):

  1. I get the error message "Invalid control sequence" or "Permission denied" when I want to

    • install packages with MiKTeX "Package Manager"

      MiKTeX Problem Report   Message: Invalid control sequence.
      Data: Source: Libraries\MiKTeX\Core\config.cpp
      Line: 1690  MiKTeX: 2.9     OS: Microsoft Windows 7 Enterprise Edition, 32-bit Service Pack 1 (build 7601)
      Invokers: explorer  SystemAdmin: no     PowerUser: no
      Root0: \\HE100172e002\a19736526$\Home\Data\09_SIBE_Studium\09MixTexPortable\MikTex
      UserInstall: \\HE100172e002\a19736526$\Home\Data\09_SIBE_Studium\09MixTexPortable\MikTex
      UserConfig: \\HE100172e002\a19736526$\Home\Data\09_SIBE_Studium\09MixTexPortable\MikTex
      UserData: \\HE100172e002\a19736526$\Home\Data\09_SIBE_Studium\09MixTexPortable\MikTex
      CommonInstall: \\HE100172e002\a19736526$\Home\Data\09_SIBE_Studium\09MixTexPortable\MikTex
      CommonConfig: \\HE100172e002\a19736526$\Home\Data\09_SIBE_Studium\09MixTexPortable\MikTex
      CommonData: \\HE100172e002\a19736526$\Home\Data\09_SIBE_Studium\09MixTexPortable\MikTex
      
    • update Formats via the MikTex "Option" Panel

      MiKTeX Problem Report   Message: Invalid control sequence.
      Data:  Source: Libraries\MiKTeX\Core\config.cpp
      Line: 1690  MiKTeX: 2.9 OS: Microsoft Windows 7 Enterprise Edition, 32-bit Service Pack 1 (build 7601)
      Invokers: explorer  SystemAdmin: no     PowerUser: no
      Root0: \\HE100172e002\a19736526$\Home\Data\09_SIBE_Studium\09MixTexPortable\MikTex
      UserInstall: \\HE100172e002\a19736526$\Home\Data\09_SIBE_Studium\09MixTexPortable\MikTex
      UserConfig: \\HE100172e002\a19736526$\Home\Data\09_SIBE_Studium\09MixTexPortable\MikTex
      UserData: \\HE100172e002\a19736526$\Home\Data\09_SIBE_Studium\09MixTexPortable\MikTex
      CommonInstall: \\HE100172e002\a19736526$\Home\Data\09_SIBE_Studium\09MixTexPortable\MikTex
      CommonConfig: \\HE100172e002\a19736526$\Home\Data\09_SIBE_Studium\09MixTexPortable\MikTex
      CommonData: \\HE100172e002\a19736526$\Home\Data\09_SIBE_Studium\09MixTexPortable\MikTex
      
    • update packages with MiKTex "Update" Panel

    The Operation could not be completed for the following reason:

        Permission denied: \\HE100172e002\a19736526$\Home\Data\09_SIBE_Studium\09MixTexPortable\MikTex/data/le\mpm.fndb
    

    It is no internet connection issue, proxy is set, repositories load properly

  2. Not sure if this has anything to do with the whole issue, but when I started MiKTeX for the first time via miktex-portable.cmd it put all the files in the Windows programms menu instead of the system tray which is normally does when you boot from usb.
    The icon links did not work at the beginning but I managed to relink all of them except the "Update" Panel. There I get the error message "Windows API error
    3: The system cannot find the path specified".

Anyone got any idea how to fix this please? I'm grateful for any hint or links to related threads that I might not have found yet.

Best Answer

To allow the question to be closed I add my comment as answer:

There is no problem to install a normal MiKTeX without admin rights. Simply choose an installation folder where you have writing rights. (I wouldn't use My documents but something like C:\myprograms). The portable installation is only needed if you don't want to leave any trace on the PC, that means if you don't want to put something in the user profile.

Firewalls, proxy, VPN and other things can disturb the on-the-fly installation, package installations and updates from the internet. In this case you should download the packages by other means together with the two miktex-zz-...-files, put them in some folder and use it as local repository for installations/updates (see e.g. MiKTeX: [...] does not seem to be a local package repository).