Forum Discussion

Anonymous's avatar
Anonymous
9 years ago
Solved

bf1.exe - Bad Image

Whenever I try to launch the Battle Field 1 an error shows up on screen stating:

bf1.exe - Bad Image

C:\WINDOWS\SYSTEM32\MSVCP.120.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support. Error status 0xc000012f. 

I've tried reinstalling the game but I still end up with this error.

My specs are: AMD 8320 3.5 ghz, R9 390, 16 gbs RAM and I'm running windows 10

 

Thanks. 


  • @poisonwolf7685 wrote:

    Whenever I try to launch the Battle Field 1 an error shows up on screen stating:

    bf1.exe - Bad Image

    C:\WINDOWS\SYSTEM32\MSVCP.120.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support. Error status 0xc000012f. 

    I've tried reinstalling the game but I still end up with this error.

    My specs are: AMD 8320 3.5 ghz, R9 390, 16 gbs RAM and I'm running windows 10

     

    Thanks. 


    The first thing that I recommend is running Origin as an administrator and then running a repair on Battlefield.  This will search for files with error or missing files and replace them with good versions of the files. If that does not help I recommend running the windows error checker as described here: https://support.microsoft.com/en-us/kb/929833

    System File Checker is a utility in Windows that allows users to scan for corruptions in Windows system files and restore corrupted files. This article describes how to run the System File Checker tool (SFC.exe) to scan your system files and to repair missing or corrupted system files. If a Windows Resource Protection (WRP) file is missing or is corrupted, Windows may not behave as expected. For example, some Windows functions may not work, or Windows may crash.

    Run the System File Checker tool (SFC.exe)
     
    To do this, follow these steps:
    1. Open an elevated command prompt. To do this, do the following as your appropriate:
      Windows 8.1 or Windows 8
      Swipe in from the right edge of the screen, and then tap Search. Or, if you are using a mouse, point to the lower-right corner of the screen, and then click Search. Type Command Prompt in the Search box, right-click Command Prompt, and then click Run as administrator. If you are prompted for an administrator password or for a confirmation, type the password, or click Allow.
      A screenshot for this step.
      Windows 10, Windows 7, or Windows Vista
      To do this, click Start, type Command Prompt or cmd in the Search box, right-click Command Prompt, and then click Run as administrator. If you are prompted for an administrator password or for a confirmation, type the password, or click Allow.
      A screenshot for this step.
    2. At the command prompt, type the following command, and then press ENTER:
      sfc /scannow
      A screenshot for this step.

      The sfc /scannow command will scan all protected system files, and replace corrupted files with a cached copy that is located in a compressed folder at %WinDir%\System32\dllcache.
      The %WinDir% placeholder represents the Windows operating system folder. For example, C:\Windows.

      Note Do not close this Command Prompt window until the verification is 100% complete. The scan results will be shown after this process is finished.
    3. After the process is finished, you may receive one of the following messages:
      • Windows Resource Protection did not find any integrity violations.

        This means that you do not have any missing or corrupted system files.
      • Windows Resource Protection could not perform the requested operation.

        To resolve this problem, perform the System File Checker scan in safe mode, and make sure that the PendingDeletes and PendingRenames folders exist under %WinDir%\WinSxS\Temp.
      • Windows Resource Protection found corrupt files and successfully repaired them. Details are included in the CBS.Log %WinDir%\Logs\CBS\CBS.log.

        To view the detail information about the system file scan and restoration, go to How to view details of the System File Checker process.
      • Windows Resource Protection found corrupt files but was unable to fix some of them. Details are included in the CBS.Log %WinDir%\Logs\CBS\CBS.log.

        To repair the corrupted files manually, view details of the System File Checker process to find the corrupted file, and then manually replace the corrupted file with a known good copy of the file.
    More information
     
    How to view details of the System File Checker process
    To view the details that included in the CBS.Log file, you can copy the information to the Sfcdetails.txt file by using the Findstr command, and then view the details in the Sfcdetails.txt. To do this, follow these steps:
    1. Open an elevated command prompt as described in the previous step 1.
    2. At the command prompt, type the following command, and then press ENTER:
      findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log >"%userprofile%\Desktop\sfcdetails.txt"
      Note The Sfcdetails.txt file contains details from every time that the System File Checker tool has been run on the computer. The file includes information about files that were not repaired by the System File Checker tool. Verify the date and time entries to determine the problem files that were found the last time that you ran the System File Checker tool.
    3. Open the Sfcdetails.txt file from your desktop.
    4. The Sfcdetails.txt file uses the following format:
      Date/Time SFC detail
      The following sample log file contains an entry for a file that could not be repaired:
      2007-01-12 12:10:42, Info                  CSI    00000008 [SR] Cannot 
      repair member file [l:34{17}]"Accessibility.dll" of Accessibility, Version = 
      6.0.6000.16386, pA = PROCESSOR_ARCHITECTURE_MSIL (8), Culture neutral, 
      VersionScope neutral, PublicKeyToken = {l:8 b:b03f5f7f11d50a3a}, Type 
      neutral, TypeName neutral, PublicKey neutral in the store, file is missing
      
     
    How to manually replace a corrupted system file with a known good copy of the file
    After you determine which system file was corrupted and could not be repaired through the detail information in the Sfcdetails.txt file, find where the corrupted file located, and then manually replace the corrupted file with a known good copy of the file. To do this, follow these steps:

    Note You may be able to get a known good copy of the system file from another computer that is running the same version of Windows with your computer. You may perform a System File Checker process on that computer to make sure the system file that you intend to copy is a good copy.
    1. Take administrative ownership of the corrupted system file. To do this, at an elevated command prompt, copy and then paste (or type) the following command, and then press ENTER:
      takeown /f Path_And_File_Name
      Note The Path_And_File_Name placeholder represents the path and the file name of the corrupted file. For example, type takeown /f C:\windows\system32\jscript.dll. A screenshot for this step.
    2. Grant administrators full access to the corrupted system file. To do this, copy and paste (or type) the following command, and then press ENTER:
      icacls Path_And_File_Name /GRANT ADMINISTRATORS:F
      Note The Path_And_File_Name placeholder represents the path and the file name of the corrupted file. For example, type icacls C:\windows\system32\jscript.dll /grant administrators:F.A screenshot for this step.
    3. Replace the corrupted system file with a known good copy of the file. To do this, copy and paste (or type) the following command, and then press ENTER:
      Copy Source_File Destination
      Note The Source_File placeholder represents the path and file name of the known good copy of the file on your computer, and the Destination placeholder represents the path and file name of the corrupted file. For example, type copy E:\temp\jscript.dll C:\windows\system32\jscript.dll.

5 Replies


  • @poisonwolf7685 wrote:

    Whenever I try to launch the Battle Field 1 an error shows up on screen stating:

    bf1.exe - Bad Image

    C:\WINDOWS\SYSTEM32\MSVCP.120.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support. Error status 0xc000012f. 

    I've tried reinstalling the game but I still end up with this error.

    My specs are: AMD 8320 3.5 ghz, R9 390, 16 gbs RAM and I'm running windows 10

     

    Thanks. 


    The first thing that I recommend is running Origin as an administrator and then running a repair on Battlefield.  This will search for files with error or missing files and replace them with good versions of the files. If that does not help I recommend running the windows error checker as described here: https://support.microsoft.com/en-us/kb/929833

    System File Checker is a utility in Windows that allows users to scan for corruptions in Windows system files and restore corrupted files. This article describes how to run the System File Checker tool (SFC.exe) to scan your system files and to repair missing or corrupted system files. If a Windows Resource Protection (WRP) file is missing or is corrupted, Windows may not behave as expected. For example, some Windows functions may not work, or Windows may crash.

    Run the System File Checker tool (SFC.exe)
     
    To do this, follow these steps:
    1. Open an elevated command prompt. To do this, do the following as your appropriate:
      Windows 8.1 or Windows 8
      Swipe in from the right edge of the screen, and then tap Search. Or, if you are using a mouse, point to the lower-right corner of the screen, and then click Search. Type Command Prompt in the Search box, right-click Command Prompt, and then click Run as administrator. If you are prompted for an administrator password or for a confirmation, type the password, or click Allow.
      A screenshot for this step.
      Windows 10, Windows 7, or Windows Vista
      To do this, click Start, type Command Prompt or cmd in the Search box, right-click Command Prompt, and then click Run as administrator. If you are prompted for an administrator password or for a confirmation, type the password, or click Allow.
      A screenshot for this step.
    2. At the command prompt, type the following command, and then press ENTER:
      sfc /scannow
      A screenshot for this step.

      The sfc /scannow command will scan all protected system files, and replace corrupted files with a cached copy that is located in a compressed folder at %WinDir%\System32\dllcache.
      The %WinDir% placeholder represents the Windows operating system folder. For example, C:\Windows.

      Note Do not close this Command Prompt window until the verification is 100% complete. The scan results will be shown after this process is finished.
    3. After the process is finished, you may receive one of the following messages:
      • Windows Resource Protection did not find any integrity violations.

        This means that you do not have any missing or corrupted system files.
      • Windows Resource Protection could not perform the requested operation.

        To resolve this problem, perform the System File Checker scan in safe mode, and make sure that the PendingDeletes and PendingRenames folders exist under %WinDir%\WinSxS\Temp.
      • Windows Resource Protection found corrupt files and successfully repaired them. Details are included in the CBS.Log %WinDir%\Logs\CBS\CBS.log.

        To view the detail information about the system file scan and restoration, go to How to view details of the System File Checker process.
      • Windows Resource Protection found corrupt files but was unable to fix some of them. Details are included in the CBS.Log %WinDir%\Logs\CBS\CBS.log.

        To repair the corrupted files manually, view details of the System File Checker process to find the corrupted file, and then manually replace the corrupted file with a known good copy of the file.
    More information
     
    How to view details of the System File Checker process
    To view the details that included in the CBS.Log file, you can copy the information to the Sfcdetails.txt file by using the Findstr command, and then view the details in the Sfcdetails.txt. To do this, follow these steps:
    1. Open an elevated command prompt as described in the previous step 1.
    2. At the command prompt, type the following command, and then press ENTER:
      findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log >"%userprofile%\Desktop\sfcdetails.txt"
      Note The Sfcdetails.txt file contains details from every time that the System File Checker tool has been run on the computer. The file includes information about files that were not repaired by the System File Checker tool. Verify the date and time entries to determine the problem files that were found the last time that you ran the System File Checker tool.
    3. Open the Sfcdetails.txt file from your desktop.
    4. The Sfcdetails.txt file uses the following format:
      Date/Time SFC detail
      The following sample log file contains an entry for a file that could not be repaired:
      2007-01-12 12:10:42, Info                  CSI    00000008 [SR] Cannot 
      repair member file [l:34{17}]"Accessibility.dll" of Accessibility, Version = 
      6.0.6000.16386, pA = PROCESSOR_ARCHITECTURE_MSIL (8), Culture neutral, 
      VersionScope neutral, PublicKeyToken = {l:8 b:b03f5f7f11d50a3a}, Type 
      neutral, TypeName neutral, PublicKey neutral in the store, file is missing
      
     
    How to manually replace a corrupted system file with a known good copy of the file
    After you determine which system file was corrupted and could not be repaired through the detail information in the Sfcdetails.txt file, find where the corrupted file located, and then manually replace the corrupted file with a known good copy of the file. To do this, follow these steps:

    Note You may be able to get a known good copy of the system file from another computer that is running the same version of Windows with your computer. You may perform a System File Checker process on that computer to make sure the system file that you intend to copy is a good copy.
    1. Take administrative ownership of the corrupted system file. To do this, at an elevated command prompt, copy and then paste (or type) the following command, and then press ENTER:
      takeown /f Path_And_File_Name
      Note The Path_And_File_Name placeholder represents the path and the file name of the corrupted file. For example, type takeown /f C:\windows\system32\jscript.dll. A screenshot for this step.
    2. Grant administrators full access to the corrupted system file. To do this, copy and paste (or type) the following command, and then press ENTER:
      icacls Path_And_File_Name /GRANT ADMINISTRATORS:F
      Note The Path_And_File_Name placeholder represents the path and the file name of the corrupted file. For example, type icacls C:\windows\system32\jscript.dll /grant administrators:F.A screenshot for this step.
    3. Replace the corrupted system file with a known good copy of the file. To do this, copy and paste (or type) the following command, and then press ENTER:
      Copy Source_File Destination
      Note The Source_File placeholder represents the path and file name of the known good copy of the file on your computer, and the Destination placeholder represents the path and file name of the corrupted file. For example, type copy E:\temp\jscript.dll C:\windows\system32\jscript.dll.
  • Anonymous's avatar
    Anonymous
    9 years ago

    I think it would be nice if you could first of all make it work correctly with Windows before you release the game and second it would be nice to know about these problems before I decide to buy a program/game. Very annoying because the only option I have is to either not play it or screw around with it until it works. No refunds, RIGHT?

  • Anonymous's avatar
    Anonymous
    8 years ago

    I haven't played for a few months and recently tried to get on but I get this message

    bf1.exe - Bad Image

    C:\WINDOWS\SYSTEM32\MSVCP.120.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support. Error status 0xc000012f. 

    I uninstalled and reinstalled both origin and BF1 with no results. I've searched this problem on google and found a few people having similar issues and I've tried the fixes recommended to them (VC++ packages, GPU drivers) and have had no results. I've scanned my computer for viruses and errors and it has no problems. Everything is up to date and everything works fine except for battlefield. It's the only game I have on origin so I can't say if it's game specific or a origin problem. Getting kind of angry that I can no longer play this 100$ game I bought.  Any advice on possible fixes would be greatly appreciated.

  • ietxmmyrus's avatar
    ietxmmyrus
    Icon for EA Staff rankEA Staff
    8 years ago

    Hey @Woosa_Oo,

    sorry to see you're experiencing that issue - could you check if there's any updates to your runtime libraries? You can get an update for lazy people on this website. That might help with the recent runtimes which are usually the root cause here.

  • i know this reply is coming super late , but im putting it down to help anyone out there that is facing the same problem .

    i got the bad image error dialogue box end may 2018 .

    first i did all the usual things - checked that all my drivers were up to date , tried to "repair" the games files from origin , reinstalled the game , etc .

    no success .

    then i tried ALL the advice on this thread .

    no success .

    then i did a factory reinstall of windows on my system , reinstalled origin , reinstalled bf1 .

    success . game is working .

About Battlefield Franchise Discussion

Discuss Battlefield games in this community forum.133,647 PostsLatest Activity: 4 days ago