How to corrupt a file on purpose

Written by andrew meer
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to corrupt a file on purpose
( Images)

Operating systems such as Windows 7 and Windows Vista separate files using extensions in order to allocate a default program for each file type. If you want to corrupt a file on purpose, you can change the extension of the file to do so. However, make sure that you create a backup of the file before corrupting it so that you can restore the file if you want to use it later.

Skill level:


  1. 1

    Click "Start," type "Folder Options" (without quotes) and press "Enter" to open the Folder Options dialogue box.

  2. 2

    Click on the "View" tab. Next, uncheck the box next to "Hide Extensions for Known Files Types" and click "Apply." Click "OK" to close the Folder Options dialogue box.

  3. 3

    Use Windows Explorer to go to the location of the file that you want to corrupt. Right-click the file and select the "Rename" option.

  4. 4

    Highlight the file extension. The file extension comes up right after the file name. For example, a Word document will have a .doc or .docx extension.

  5. 5

    Type anything to replace the file extension. Press the "Enter" key and click "OK" when prompted. The file will become unstable and you will not be able to open it unless you rename the file with the proper file extension.

Tips and warnings

  • If the file is important, create a backup of the file before corrupting it. To do so, right-click the file and select "Paste." Go to any other location on your hard disk using Windows Explorer. Right-click and select "Paste" to create a backup of the file.

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.