How to Fix ‘DEV ERROR 6165’ in Call of Duty MW

The Error Dev 6165 mostly appears seconds after Call of Duty Modern Warfare is launched (right after the intro) on PC and crashes the game at every startup. Other affected users are reporting that they can get past the initial screen, but the game crashes when they attempt to start a single-player campaign or when they attempt to join a multiplayer match.

Dev Error 6165
Dev Error 6165

If you’re starting to troubleshoot the issue, start checking for a server problem. Other potential causes include game folder corruption, 3rd party interference, unstable overclocking, insufficient resources for DirectX 12 or shadow rendering, and outdated or corrupted GPU drivers.

There are also two well-known bugs that could cause this dev error: the second screen bug and the full-screen bug. 

Start following the methods below for step-by-step instructions on troubleshooting error Dev 6165 for Call of Duty Modern Warfare. 

1. Check for a Server Issue

Start by ensuring this problem isn’t caused by a server outage.

If you see this error code every time you try to connect to Activision’s servers when you start the game, this is very likely the case.

Fortunately, Activision has a status page where you can check to see if the game has server problems.

Checking for a server issue
Checking for a server issue

When you get to the right page, use the drop-down menu in the top-right corner of the screen to change the game to Call of Duty: Modern Warfare.

Next, check the status page to see if there are any problems. If everything about the game has a green checkmark, you’re good to go.

Note: It’s also possible that Steam, Epic Games, or Battle.Net, the platform you’re using to play the game, is having problems. Click on the platform icon under Server Status by Network to find out if this is true.

Checking for a platform issue
Checking for a platform issue

If the server status page says there is a problem, you can check directories like DownDetector or IsItDownRightNow to see if other users report the same problems. If you have identified a server problem, all you can do is wait for the issue to be resolved by the involved developers. 

If none of these directories show signs of a server issue, move down to the next method below. 

2. Perform a scan and repair

Let’s check if some system file corruption is making the game crash. Fortunately, the launcher of Call of Duty Modern Warfare (Battle.Net) has a scan & repair function that you can use to fix the vast majority of system file corruption. 

Note: The instructions below will only be applicable if you installed the game via Battle.Net.

Follow the instructions below to initiate a scan and repair procedure:

  1. Make sure that Call of Duty: Modern Warfare is completely closed and that no related processes are running in the background.
  2. Then, open the Battle.Net app and click on the Games tab in the menu at the top.
    Access the Games menu inside Battle.net
    Access the Games menu inside Battle.net
  3. Go to the right side of the screen and click on Options > Scan & Repair.
    Deploy a scan and repair
    Deploy a scan and repair
  4. When asked to confirm, click on Start Scan and wait for the process to Finish.
  5. Wait until the operation is done, then restart your computer and start Call of Duty: Modern Warfare again.

If you still see the same 6165 error code, move to the next method below. 

3. Perform a clean boot

Try launching the game in safe boot mode. This will help you figure out if other programs are causing the game to crash by getting in the way.

Many third-party programs could affect Call of Duty: Modern Warfare, making it hard to determine where the problem is coming from. At the top of the list are gaming overlay programs, system optimization suites, and overprotective antivirus suites.

The best way to find out who is to blame is to restart your computer in clean mode and see if the problem is still there.

Note: A clean boot will force your PC to start without third-party services or processes. If the problem goes away while in clean boot mode, it’s clear that a third-party process or service causes the 6165 DEV error.

Follow the steps outlined in this article to achieve a clean boot state on Windows 11. If you’re still on Windows 10, refer to this article instead to achieve a clean boot state

Achieving a clean boot state on Windows
Achieving a clean boot state on Windows

Once a clean boot is reached, start Call of Duty: Modern Warfare and see if the problem still happens.
If you can start the game normally, start turning on all the third-party processes you turned off until you find the one causing the problem.

Try the next method if the problem keeps happening after a clean boot.

4. Reinstall the game

One surefire way of eliminating any game file corruption that might be causing the dev error 6165 is to reinstall the game. This method has been confirmed to work by many Windows users (running on Windows 10 and 11).

For specific instructions on how to do this, follow the steps below:

  1. Press the Windows key + R to bring up the Run box.
  2. Next, type “appwiz.cpl” to open the Installed apps menu (on Windows 10 or earlier) or the Programs and Features menu (on Windows 11). 
    Open the Program files menu
    Open the Program files menu
  3. Find the Call of Duty installation entry in the Programs and Features or Installed Apps menu (if you’re on Windows 11).
  4. Right-click on it (or click the action icon) and choose Uninstall to get rid of the game.
    Uninstalling call of duty
    Uninstalling call of duty
  5. Once the installation is done, restart your computer and wait for it to finish starting up before going on.
  6. Sign in to Battle.Net again (with the account where you hold ownership of the game) and reinstall Call of Duty Modern Warfare from the Library tab. 
  7. Start the game to see if the problem is still there.

If reinstalling the game didn’t fix the issue, move down to the next method below. 

5. Reinstall GPU drivers

The dev error 6165 might also be a symptom of a GPU driver that’s corrupted or severely outdated. 

You should be able to fix this issue by using DDU to remove the current GPU drivers and then using the proprietary tool from Nvidia or AMD to reinstall the most recent graphics card version compatible with your GPU model.

Follow the steps below to get rid of your current GPU driver + the physics module. Use the DDU (Display Driver Uninstaller) tool to remove any leftover GPU drivers before installing the latest available GPU version. The steps below work for both AMD and Nvidia GPUs.

Follow the steps below for more information on how to do this:

  1. Open Programs and Features by pressing Windows key + R to bring up the Run dialog box.
  2. In the box that comes up, type “appwiz.cpl” and click OK. Open the menu for Programs and Features.
    Open the Programs and Features menu
    Open the Programs and Features menu
  3. In the Programs and Features menu, look through the list of installed programs and delete anything signed by Advanced Micro Devices or Nvidia Corporation, the companies that made your GPU. To do this, When right-clicking on each item and click on Uninstall from the context menu that appears.
    Uninstall GPU drivers
    Uninstall GPU drivers
  4. Follow the on-screen steps to finish the process, then reboot your PC. 
    Note: During this process, the screen may have some flickering. This is perfectly normal. 
  5. Generic GPU drivers will be used when your computer restarts. Once your PC boots back up, you must remove every remnant GPU driver file. To do this, go to the page where you can download the Display Driver Uninstaller and get the most recent version. 
    Install the Display Driver Uninstaller
    Install the Display Driver Uninstaller

    Note: This free software from a third party can eliminate all GPU driver leftovers.

  6. When the download is done, use a program like 7zip or Winzip to get the files out of the DDU archive.
  7. For DDU to function efficiently, you need to reboot your PC in safe mode
  8. After your computer has restarted, double-click on the DDU executable you previously extracted, and when the UAC (User Account Control) prompt appears, choose Yes.
  9. Choose your GPU from the drop-down menu next to Select Device type on the main Display Driver Uninstaller screen.
     
  10. Then, choose Clean and restart to begin the GPU driver cleaning process.
    Clean and restart via DDU
    Clean and restart via DDU
  11. When the process is done, restart your computer to boot in normal mode, and then use one of the programs below to install the latest version of your GPU that is compatible with your computer.
    1. AMD Adrenalin
    2. Nvidia Experience
  12. Install the latest driver, restart your computer again, and check if Call of Duty Modern Warfare still crashes with the same Error Dev 6165.

If the problem is still not fixed, move to the next method below. 

6. Run the game in windowed mode

If you launch the game in full-screen mode, you might avoid this critical error entirely by reconfiguring the game to run in Windowed mode.

Note: Running the game in windowed mode will prevent most crashes generated by screen tearing. The main drawback is that this mode is not as immersive as you will see the window borders and the OS taskbar at the bottom of the screen.

Follow the steps below to open Call of Duty: Modern Warfare in windowed mode:

  1. Launch the game normally through Battle.Net and wait until you reach the game’s main menu.
  2. Go to the Settings menu, then access the Graphics sub-menu.
    Access the Graphics menu
    Access the Graphics menu
  3. From the Graphics menu, click on Display from the top of the screen, then click on Display Mode to bring up the context menu. 
    Configure the game in Windowed mode
    Configure the game in Windowed mode
  4. Next, select Windowed from the available options and save the changes. 
  5. Attempt to join a multiplayer game or start a single-player campaign and see if the problem is now fixed.

If the game still crashes with the same Dev Error 6165 error, move down to the next method below. 

7. Disable overlay software (if applicable)

If you get this error while launching COD: Modern Warfare along with an in-game overlay, disabling FPS counting might fix the issue completely.

Note: If you’re not using an overlay tool, skip this method completely. 

Almost every recent COD: Modern Warfare title is known to conflict with overlay features from Nvidia and Discord under certain configurations. The developers have already released a couple of fixes for this problem for Modern Warfare, but this conflict is not yet fixed completely. 

To test out this theory, turn off the in-game overlay and see if you can launch the game without crashing with the dev 6165 error.

Update: Most of the time, this type of conflict is caused by GeForce Experience the Discord in-game overlay.

Follow one of the first 2sub-guides below to turn off the in-game overlay function and stop the conflict. If you’re using another overlay not covered in this method, follow the third sub-guide.

7.1. Disabling Nvidia Overlay 

If you are using the GeForce Experience overlay technology, follow the steps below to turn off in-game overlay and Nvidia Highlights:

  1. Quit the game, make sure it’s not running in the background, and then open GeForce Experience.
  2. From the home screen of GeForce Experience, click on the gears icon (top-right corner of the screen). 
    Acccess the Settings menu
    Access the Settings menu
  3. Go to the next column and click on the General tab.
  4. Next, go to the left side of the screen and turn off the toggle for “In-Game overlay.”
    Disable the in-game overlay
    Disable the in-game overlay
  5. Save the changes and close Nvidia Experience once this change has been made.
  6. Launch Call of Duty Modern Warfare again and see if the problem is now fixed. 

7.2. Disabling Discord Overlay

If you’re using the overlay feature from discord, you’ll need to turn it off from the Overlay tab of the Settings menu.

Here’s how:

  1. Start the discord app with administrative privileges.
  2. Inside the Discord app, look for the gear icon (User settings) at the bottom of the window and click on it. 
    Access the Settings menu of Discord
    Access the Settings menu of Discord
     
  3. In the User Settings menu, go under Activity Settings and click the Game Overlay tab on the left side.
    Access the in-game overlay feature on discord
    Access the in-game overlay feature on discord
     
  4. Go to the Overlay menu and turn off the switch next to “Enable in-game overlay.”
    Disable the Discord in-game overlay
    Disable the Discord in-game overlay
  5. Save the changes, start Call of Duty Modern Warfare again and see if the problem is now fixed.

7.3. Uninstall the overlay program

If you’re using an overlay program not covered in the guides above, follow the instructions below to uninstall it temporarily to see if it fixes the issue.

Here’s how to do this:

  1. Press the Windows key + R to open the Run box.
  2. Next, press Enter after typing “appwiz.cpl” to open the Programs and Features menu.
    Open the Programs and Features menu
    Open the Programs and Features menu
  3. Go to the Programs and Features menu and scroll down the list of installed programs until you find the overlay software you want to remove.
  4. When you find it, right-click it and choose “Uninstall” from the menu that pops up.
    Uninstall the overlay features
    Uninstall the overlay features
  5. Follow the instructions on the screen to finish uninstalling the overlay features. Then, restart your computer.
  6. Relaunch Call of Duty Modern Warfare and see if the problem is now fixed. 

If COD Modern Warfare still crashes with the same Dev Error 6165 and you’re not using an overlay tool, move on to the next guide below.

8. Disable the second screen

If you have two monitors, you can expect to see the 6165 dev error when you launch the game on a monitor with an integrated GPU (instead of the dedicated solution).

Note: This problem often happens with laptop models that are automatically set up to use the dedicated GPU on the main display and the integrated GPU on the secondary display.

If you set up the game to run on the secondary display, you would probably get the error because the integrated GPU doesn’t have enough VRAM to render the game.

Unplugging the second screen is a simple way to fix this problem. This will automatically make the game use the GPU with the most rendering power.

Unplugging the secondary display
Unplugging the secondary display

Note: If this method works, change the game’s settings, so the game always runs on your main display and uses the main GPU.

If this fix doesn’t solve the problem, move on to the next one.

9. Force the game to run with DirectX 11

COD: Modern Warfare is made to run on DirectX11 so that it can be played on last-generation consoles, and when it’s rendered with DirectX12, it’s much less stable.

Forcing the game to run on DirectX11 will make it lose some of the visual shine, but it’s nothing too obvious.

If you want to try this fix, follow the steps below to change the Battle.net launcher so that it opens Call of Duty: Modern Warfare using DirectX 11:

  1. Make sure that Call of Duty: Modern Warfare is turned off and not running in the background.
  2. Open your Battle.net client, sign in with your account information, and click on Call of Duty Modern Warfare from the Library area.
  3. Go to the game’s Options menu and check the box next to “Additional Command Line Arguments” (under Game Settings).
  4. Type “-d3d11” into the box for Additional Command Line Arguments, and then save the changes.
    Forcing Call of Duty Modern Warfare to run with DirectX 11
    Forcing Call of Duty Modern Warfare to run with DirectX 11
  5. Start the game normally through Battle.net and check to see if it works.

If you still can’t open the game, read on to the next possible solution.

10. Underclock your GPU (if applicable) 

If you have used MSI Afterburner or a similar program to overclock your GPU, you might get the COD Modern Warfare 6165 DEV error because your system is unstable.

If you are actively overclocking your GPU, you might be able to fix the problem by putting all of the overclocked frequencies back to their original settings.

PRO TIP: If you use MSI Afterburner, you can just delete the profiles you have already made.

But before you delete the profiles you’ve made in the MSI Afterburner app, take a screenshot or write down the settings you’ve chosen in case you need them later.

To undo any GPU overclocking done in MSI Afterburner, follow the steps below:

  1. Open File Explorer and go to the disk where MSI Afterburner is installed.
  2. Next, go to the Program Files folder (x86).

    Access the Programs and Features menu
    Access the Programs and Features menu

    Note: If you installed MSI afterburner in a custom location, navigate there instead. 

  3. Open the folder for MSI Afterburner and go to the folder for Profiles.
    Accessing the profiles menu
    Accessing the profiles menu
  4. Select all the files in the Profiles folder and delete them.
    Deleting the contents of the profile menu
    Deleting the contents of the profile menu
  5. Restart your computer to let the overclocked values go back to their original settings, and then check to see if the 6165 DEV error is gone.

If you still see the same error when you launch Call of Duty Modern Warfare, move down to the next method below. 

11. Disable Cache Spot & Cache Sun 

Try turning off cache spots and cache sun shadows from the Options menu inside the game. Disabling Cached Spot shadows and Cache Sun shadows in the Graphics menu might lower the load off your GPU enough to make the game run stably. 

Note: This fix is confirmed effective with both AMD and Nvidia GPUs. 

Follow the steps below to put this particular fix in place:

  1. Start Call of Duty: Modern Warfare and get past the initial loading screen.
  2. In the game’s main menu, click on Options.
  3. Next, from the vertical menu at the top, click on the Graphics tab.
  4. Once in the Graphics tab, scroll down to the Shadow & Lighting section and turn off both Cache Spot Shadows and Cache Sun Shadows.
    Disabling Cache Spot Shadows & Cache Sun Shadows
  5. Put the changes you just made into effect, then restart the game and check to see if the problem is fixed.
ABOUT THE AUTHOR

Kamil Anwar


Kamil is a certified MCITP, CCNA (W), CCNA (S) and a former British Computer Society Member with over 9 years of experience Configuring, Deploying and Managing Switches, Firewalls and Domain Controllers also an old-school still active on FreeNode.