Share via

CRC error whille installing VS Code.

Anonymous
2024-07-10T18:10:43+00:00

An error occurred while trying to copy a file: Data error ( Cyclic Reduncy Check), while was installing vs code. Any fix? I recently bought a new PC with an i5 4th gen, 8gb RAM, 128gb SSD, and 500gb HDD. I have tried installing it in both, SSD and HDD but the error still exist.

Windows for home | Windows 10 | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. DaveM121 891.1K Reputation points Independent Advisor
    2024-07-11T06:28:49+00:00

    Click the power button on your Start Menu

    Press the Shift Key and click Restart

    Your PC will boot into the Windows Recovery Environment

    Go to Troubleshoot - Advanced Options - Command Prompt

    Type this command and press Enter:

    chkdsk C: /f /r

    Wait for that command to complete, run this command 3 times, one at a time.

    chkntfs /x c:

    Type this command and press Enter:

    fsutil dirty query c:

    What is returned from that command?

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2024-07-10T18:53:30+00:00

    I downloaded the installer from its official website: https://code.visualstudio.com.

    EDIT: i ran chkdsk command and in the 3rd stage, it found 2 bad clusters. How to fix those clusters? i additionally ran chkdsk /scan and sfc scannow command but the bad clusters remain.

    Was this answer helpful?

    0 comments No comments
  3. DaveM121 891.1K Reputation points Independent Advisor
    2024-07-10T18:44:36+00:00

    Hi, I am Dave, I will help you with this.

    A CRC error is usually a disk error, where are you installing VS Code from, it that on some CD or disk or have you downloaded the installer?

    Was this answer helpful?

    0 comments No comments