How to Fix BlueStacks Error Code 2004?

Run BlueStacks as an administrator

Reading time icon 5 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team Read more

Key notes

  • To fix the Bluestacks error code 2004, recover disk space, update the Windows operating system, and update or reinstall BlueStacks.
  • Continue reading to learn the steps.
How to Fix BlueStacks Error Code 2004?

If you encountered the BlueStacks error 2004 Something went wrong, Installation Failed message while trying to install a game or app, this guide can help!

We will discuss the probable causes and offer the WR experts-tested solutions to fix the error and get BlueStacks up and running.

What causes the BlueStacks error 2004?

  • BlueStacks software is outdated, or Virtualization on your PC is disabled.
  • Windows OS or drivers are outdated, or your PC doesn’t meet the requirements.
  • Antivirus interference.

How do I fix the BlueStacks error code 2004?

Before we go to the advanced fixes to get rid of BlueStacks Something went wrong with error code 2004; here are a few preliminary checks you should do:

  • Ensure your Windows operating system is up to date with the latest version, and check the system requirements for the app.
  • Restart your computer and router to refresh the connection.
  • Check if you have a stable internet connection & end unwanted processes in the background.

1. Set the app to run as an administrator

  1. Press the Windows key, type Bluestacks and click Open file location.Open file location - BlueStacks error code 2004
  2. Locate the HD-Player.exe from the folder, and then choose Properties.Select Properties
  3. Go to the Compatibility tab, and place a checkmark next to Run this program in compatibility mode for, then choose Windows 8 from the drop-down menu.explorer_Run as admin
  4. Now go to Settings, and place a checkmark next to Run this program as an administrator & Disable fullscreen optimizations.
  5. Click Apply, then OK to save the changes.

2. Enable Virtualization

  1. Press Windows + I to open Settings.
  2. Click System, then choose Recovery.System - recovery
  3. Locate Advanced startup and click the Restart now button.Recovery Advanced Startup
  4. On the Choose an option screen, select Troubleshoot.Choose an option - Troubleshoot
  5. Click Advanced options.Troubleshoot WITH AO selected
  6. Choose UEFI Firmware Settings.UEFI 2
  7. Click Restart to enter the BIOS setup.

Once in BIOS mode, the steps to enable virtualization can vary depending on the device manufacturer. Here, we are using HP computer to demonstrate the steps:

  1. Use the arrow keys on your keyboard to go to the Configuration tab, then press Enter to select it.
  2. Now select Virtualization Technology.Enable Virtualization - BlueStacks error code 2004
  3. Choose Enable.
  4. Press F10 to save the changes and exit the BIOS setup.

Next, you need to turn on the virtual machine platform in Windows; follow these steps to do so:

  1. Press the Windows key, type windows features, select Turn Windows features on or off and click Open.Windows features Open - Error code 2004 Bluestacks
  2. On the Windows Features window, place a checkmark next to Virtual Machine Platform.OptionalFeatures
  3. Make sure Hyper V, Windows Hypervisor Platform, Windows Subsystem for Linux, and Windows Sandbox are also selected.
  4. Click OK and restart your PC when prompted.

3. Run the Disk Cleanup tool to recover space

  1. Press the Windows + R to open the Run window.Cleanmgr Run command -0BlueStacks Error Code 2004
  2. Type cleanmgr and click OK to open the DiskCleanup window.
  3. Select the system drive, usually it is C, then click OK.DISK C
  4. Click Clean up system files.Clean up system files
  5. Select the drive again and click OK.
  6. Place a checkmark next to all the items under Files to delete and click OK.
  7. Click Delete Files to complete the action.Delete Files

4. Check for updates

  1. Press the Windows key, type bluestacks and click Open.
  2. Click the Settings menu.HD-Player_Select Settings - BlueStacks error code 2004
  3. Go to the About option from the left pane.
  4. Next, click the Check for updates button. If you see any update, download & install it by following the on-screen instructions.HD-PlayerCheck for updates

5. Update the graphics driver

  1. Press Windows + R to open the Run dialog box.Device Manager Run command
  2. Type devmgmt.msc and click OK to open the Device Manager app.
  3. Go to Display adapters and click it to expand.
  4. Right-click the driver and select Update driver.Graphics Driver update -Update driver 2 -pBlueStacks Error Code 2004
  5. Click Search automatically for drivers.Update driver 2 -BlueStacks Error Code 2004
  6. Follow the onscreen instructions to complete the process.

Using the updated version of the graphics driver and BlueStacks app can help you fix issues like BlueStacks not opening; read this guide to learn more about it.

6. Run SFC & DISM scans

  1. Press the Windows key, type cmd and click Run as administrator.CMD elevated -BlueStacks Error Code 2004
  2. Type the following command to replace the corrupted files and press Enter: sfc / scannowSFCSCANNOW CMD
  3. Wait for the command to be executed, then copy & paste the following command and hit Enter: Dism /Online /Cleanup-Image /RestoreHealthRestore health
  4. Restart your computer to save the changes.

7. Reinstall the app (Last resort)

  1. Press Windows + I to open the Settings app.
  2. Go to Apps, then select Installed apps.Apps - Installed apps BlueStacks Error Code 2004
  3. Locate BlueStacks, click the three dots icon, and select Uninstall.Uninstall the app
  4. Click Uninstall again to confirm.Confirm uninstall
  5. Now press Windows + E to open the Windows File Explorer window.
  6. Navigate to the following paths one by one:
    • C:\Program Files (x86)\BlueStacks
      C:\ProgramData\BlueStacks
      C:\ProgramData\BlueStacks\Setup
  7. Press Ctrl + A to select all the content in the folder and click the Delete icon.

Deleting the leftover files is always recommended to ensure the app in question is completely uninstalled, and it can also prevent issues like BlueStacks is already installed error.

Restart your computer and follow these steps to reinstall BlueStacks:

  1. Go to the official website of BlueStacks and click Download Bluestacks 10.DOwnloAD bLUESTACKS - BlueStacks Error Code 2004
  2. Double-click the installation file and click Install now.BlueStacksInstaller_iNSTALL NOW
  3. Follow the on-screen instructions to complete the installation process, then check if you see the same error.

In case you face any issues while installing the BlueStacks app on your Windows 11 PC, we suggest you check out this guide.

If none of the fixes worked for you, you must contact the BlueStacks customer support team and explain to them the issue & the fixes you tried for further assistance.

As the error code 2004 can appear due to low disk space or an outdated app, you must ensure you have enough space in the system drive and Bluestacks app is updated to the latest version.

Also, make sure you check if the app is blocked by Windows Firewall; read this guide to learn about it in detail.

If you have any questions or suggestions about the subject, feel free to mention them in the comments section below.

More about the topics: Windows 11