How to fix Minecraft error code 5 on Windows PCs

By: Matthew Adams
3 minute read
Minecraft error 5

For various PC problems, we recommend to use this tool.

This tool will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Quickly fix PC issues and prevent others from happening with this software:

  1. Download this PC Repair Tool with Patended Technologies
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues (requires upgrade).

Some Minecraft players get an error code 5 error message when they launch that game. The full error message states: “Mojang native launcher updater. Problem moving C:\Program Files (x86)\Minecraft\tmp\tmpLauncher.exe to MinecraftLauncher.exe with error code 5.” Consequently, the game doesn’t run when that error message pops up. These are a few resolutions for Minecraft error code 5.

Fix Minecraft error 5 on Windows 10

  1. Run Minecraft as Administrator
  2. Copy the tmpLauncher File to the Minecraft Folder
  3. Update the Minecraft Launcher
  4. Update Java Version

1. Run Minecraft as Administrator

  • Launching games with elevated admin rights can kick-start them. So, try running Minecraft as an administrator first. This is how you can launch Minecraft as an administrator.
  • First, right-click the Minecraft Launcher to open its context menu.
  • Select the Properties option to open the window shown directly below.

  • Click the Compatibility tab in the snapshot below.

  • Select the Run this program as an administrator option on the Compatibility tab.
  • Press the Apply and OK buttons.

— RELATED: How to fix Minecraft crashes in Windows 10, 8, or 7

2. Copy the tmpLauncher File to the Minecraft Folder

  • Some Minecraft players have fixed error code 5 by copying the tmpLauncher file to the Minecraft folder. To do that, open this folder in File Explorer: C:\Program Files (x86)\Minecraft\tmp.
  • Next, right-click tmpLauncher.tmp and select Copy.
  • Open the C:\Program Files (x86)\Minecraft folder in File Explorer.
  • Right-click Minecraft.exe and select the Delete option. Click the Yes button to confirm.
  • Then right-click an empty folder space in File Explorer and select the Paste option.
  • Right-click the tmpLauncher.tmp file and click Rename.
  • Enter Minecraft.exe as the new file title for tmpLauncher.tmp, and press the Yes button on the dialog box window that opens.

3. Update the Minecraft Launcher

Downloading a new Minecraft launcher is another fix for error code 5. You can download a new launcher from the hyperlink included in Minecraft’s Nativelog.txt file. This is how you can update the game’s launcher.

  • Open the game’s Nativelog.txt file (in the Minecraft folder), and copy the hyperlink in Nativelog that includes MinecraftLauncher.exe with the Ctrl + C hotkey.
  • Then open a browser.
  • Press Ctrl + V to paste and open the copied URL, and download the Minecraft launcher from that page.
  • Then drag the new MinecraftLauncher.exe to the Minecraft folder to replace the original launcher.
  • Right-click the old Minecraft.exe and select Delete to erase it.

— RELATED: Fix: Common Minecraft Realms issues on Windows 10

4. Update Java Version

Minecraft is a game that requires Java to run. As such, it might also be worth checking if your Java version is the most update one. This is how you can update Java.

  • First, press the Win key + R keyboard shortcut.
  • Enter ‘appwiz.cpl’ in Run, and press the OK button.

  • Next, input ‘Java’ in the search box to check your Java version as shown in the snapshot directly below.

  • If your version is not the latest Java 8 Update 161, select Java and press the Uninstall button to remove it.
  • Next, open this page and select to download a 32 or 64-bit Java version. You’ll need the 32-bit version for 32-bit browsers and 64-bit Java for 64-bit browsers.
  • Open your browser’s about page to check if it’s a 64 or 32-bit browser. For example, in Chrome you can click Customize Google Chrome > Help > About Google Chrome to open the tab shown directly below.

  • Open the Java setup wizard to install the latest version.

One, or more, of those fixes will probably get Minecraft up and running on your Windows desktop or laptop once more. To fix other Minecraft error messages in Windows 10 and 8, check out this article.


Next up

2018 List: Best free Android emulators for Windows 10/8.1/7

By: Ivan Jenic
7 minute read

What Android emulator is the best for my Windows PC? Bluestacks MeMu Nox Remix OS Player Droid4X AMIDuOS Windroy Genymotion Xamarin Android Player Andy We’re […]

Continue Reading

New Windows 10 security flaw gives system privileges to hackers

By: Daniel Segun
2 minute read

Recently, a security researcher @SandboxEscaper disclosed in a tweet which has been deleted (the account also has been removed), that the task scheduler is vulnerable […]

Continue Reading

Microsoft devices could support Ultrafast wireless charging in the future

By: Daniel Segun
2 minute read

Microsoft may be developing a new wireless charging system called “Ultrafast’” for its devices, if a newly discovered patent gets approved for mass production. This […]

Continue Reading