mojira.dev
MCL-5291

Error Code 5 - Problem moving tmplauncher.tmp to Minecraft.exe

Temporary Solution

  1. Go to C:\Program Files (x86)\Minecraft\tmp and rename the .tmp file to MinecraftLauncher.exe

  2. Copy and overwrite the MinecraftLauncher.exe file in C:\Program Files (x86)\Minecraft with the renamed file. (If you are uncomfortable with this, backup the MinecraftLauncher.exe file in that folder first.)

  3. Restart your game. (The game should start as normal and not download any additional files.)

For some people experiencing this issue, starting the launcher as an administrator also solves this issue.

I click on my minecraft launcher it starts to download 39mb of files and gives me a error 5 code when trying to move files cant even get the login page or anything to start up without getting a error 5 code

Linked issues

MCL-3427 Launching new native launcher giver error code 5 Resolved MCL-5305 After new launcher update, Launcher won't start Resolved MCL-5316 Minecraft launcher update failure reads "problem moving tmplauncher.tmp to minecraftlauncher.exe Resolved MCL-5321 Problem moving C:/.../tmpLauncher.tmp to MinecraftLauncher.exe with error code 5 Resolved MCL-5341 error code 5 AGAIN Resolved

Attachments

Comments 64

above I will be giving the attachments to my crash reports and my latest.log

I found a way to fix it temporary for a hour or so by deleting the usercache file but I am still receiving problems

Also i got the bug error movin this temp file.

I've produced a favorable result in being able to have the launcher actually run:

I've gone to C:\Program Files (x86)\Minecraft\tmp and deleted the only .tmp file that was in there. After which, I re-ran the Launcher from the folder (C:\Program Files (x86)\Minecraft - not from a desktop shortcut). The dialog box came up as it had done before - downloading the launcher - but after it had finished it then downloaded the runtime environment (about 40mb). Finally, it downloaded one final file (about 3mb) and then the launcher worked as normal and the game came up as expected.

Upon closing the game I opened the launcher from my taskbar. It still came up, no errors or downloads, and it appears the game is running normally now.

Hope this helps.

My wife encountered the same problem last night, but our solution was a bit simpler.

Go to C:\Program Files (x86)\Minecraft\tmp and rename the .tmp file to MinecraftLauncher.exe

Copy and overwrite the MinecraftLauncher.exe file in C:\Program Files (x86)\Minecraft\ with the renamed file. (If you are uncomfortable with this, backup the MinecraftLauncher.exe file in that folder first.)

Restart your game. (The game should start as normal and not download any additional files.)

The problem for us appeared to be that for some reason the file minecraft was trying to copy to had become locked.

54 more comments

Attached the update log.  Not sure what she was updating from, but based on her saves, her last update was 6/15/2018, so it has been awhile.  The age may be the issue, so we can keep an eye on it for the next update.  Also her nativeLog.txt is empty, so unsure of previous launcher version.  Finally, the error message received was identical to the first image above.

Sadly, we cannot fix the updater in the already installed launcher retroactively. That requires an update, and if the updater doesn't work... you get the idea.

The updater has been changed in a recent version (1143) – effectively, if it fails, it will fail differently, and the log should have more details about what is happening. So, if anyone can reproduce something similar (update failure) when going from 1143 or newer to the current version, this should be reopened.

As for the workaround: the real workaround is to reinstall the launcher, because that will get you the current version – the installer has been updated and now installs the current version instead of one from 2015. The new updater will also tell you to do this when everything else fails.

She should be good then since she copied the launcher over and is now launching 1216.

I know this is an old thread, but anyone else is facing this issue now in 2020.

Harry S i am having the same problem, i have tried all of the tricks, i am missing a the tmp file and cannot get it as it has just disappeared, and have reinstalled minecraft to no avail. so your not alone

migrated

petr.mrazek

Confirmed

Retrieved