Fix Mafia 2 Definitive Edition Disk Write Error Steam

Tim Blisz
Tim Blisz
Mafia 2 Definitive Edition Disk Write Error Steam
Mafia 2: Definitive Edition

The Mafia 2 Definitive Edition “Disk Write Error” on Steam occurs when you try to install new files of a game on the hard drive. It happens when you either try to install a new game or try to update a game. It basically means that Steam is unable to write new files on the hard drive. You can encounter two types of error messages “An error has occurred while installing Mafia 2 Definitive Edition” and “An error has occurred while updating Mafia 2 Definitive Edition” accompanied by the text “disk write error” in brackets. Users have also been facing the Mafia 2 Definitive Edition XINPUT1_4.dll error. Read about it through the link.

One of the tricks that definitely fixes the disk write error in Mafia 2 is uninstalling Steam and the game and reinstalling everything from scratch. However, this should be your last resort when nothing else works. It is not just time consuming but you may also lose game settings and progress in the process.

There are several reasons that attribute to this error and hence you must try a variety of fixes until the problem is fixed. Luckily, we have the fixes that can resolve the error without the need of starting from scratch.

Fix 1: Run Steam with Administrator Permission

This fix is a recommendation by the game developers so it’s worth the try. It relates to privileges granted to the Steam Client, so running the client as administrator might solve the error.

  1. Go to the folder where you have installed the Steam client, it usually installed here – This PC > Local Disk (C:) > Program Files (x86) > Steam
  2. Look for the file named Steam with the Steam icon and file type .exe
Run as Admin Steam
  • Right-click on Steam and select Run as administrator
  • Open Mafia 2 Definitive Edition in steam and check if the error stops you from installing the game.

Fix 2: Change the Download Region in Steam

Often times the server of a particular region can be the cause of the issue. Hence, if you change the download region on the Steam client it can resolve the Mafia 2 Definitive Edition Disk Write Error. Here are the steps to follow.

  1. Launch the Steam client
  2. Go to Steam > Settings > Downloads
  3. Select a different region under Download Region
  4. When Steam Prompts to restart, select Restart Steam
  5. Now attempt to install the game.

Fix 3: Disable Antivirus or Windows Firewall

Often the third-party antivirus or the Windows firewall that’s supposed to protect you starts blocking friendly programs. To trouble the issue you must disable the Firewall or the antivirus. And if the game starts to work, you need to set an exclusion for Steam and Mafia 2 on the Firewall.

Fix 4: Delete Corrupt Files

Deleting the corrupt files have also proven to resolve the error for a lot of users. Here are the steps you need to follow.

  1. Open the path Steam/logs/content_log
  2. Locate and open “failed to write
  3. Go to the path listed and delete those files.
  4. Now, try launching the game and the Fix Mafia 2 Definitive Edition Disk Write Error should not appear.

Fix 5: Run Diskpart Command

If none of the above fixes have resolved the “” disk write error”, you should try running the Diskpart commend in Command Prompt. It will make the disk writable and you will be able to install and the game. Here is the steps you need to follow.

  1. Press Windows Key + R to open the Run dialogue box
  2. Type cmd and press Shift + Ctrl + Enter
  3. Confirm with Yes
  4. Type the following Command and hit enter after every command
  5. Type diskpart and hit Enter
  6. Type list disk and hit Enter
  7. Type select disk # and hit Enter(You should replace the # with the disk number seen above and the hard drive where the game is installed. If you have only one hard drive on your computer, the disk number will be 0. Check the result of list disk command and replace # with the number)
  8. Type attributes disk clear readonly and hit Enter.

Now, try installing the game and it should work fine. If you still encounter Mafia 2 Definitive Edition Disk Write Error, let us know in the comments and we will try to help.

Share this Article
I am an avid gamer who loves to write about games. I started gaming with a copy of Call of Duty 4: Modern Warfare. Since then, I have fallen in love with games with a particular inclination towards Call of Duty titles.
Leave a comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.