Skip to content

Instantly share code, notes, and snippets.

@iamcaleberic
Last active April 11, 2017 15:13
Show Gist options
  • Save iamcaleberic/9142a42b12a94013d41d4b4527bdc4c4 to your computer and use it in GitHub Desktop.
Save iamcaleberic/9142a42b12a94013d41d4b4527bdc4c4 to your computer and use it in GitHub Desktop.
Recovering corrupted disks drive with chkdsk
  • Use original boot media(DVD, USB) Its important you have this
  • Restart the computer with the original installation media (that’s either the DVD or the USB flash drive)

  • Click Repair your computer

  • At the Choose an option screen, click Troubleshoot

  • Click Advanced options

  • Click Command Prompt

  • Type this command:

     chkdsk C: /f /x /r 
    
    • might take a while so just wait until complete
    • CHKDSK (short for "check disk") is a system tool in DOS, OS/2 and Windows. It verifies the file system integrity of a volume and fixes logical file system errors. It is similar to the fsck command in Unix.
  • Adding a key usb iso
  • create a PID.txt in /sources directory
  • Add the following
    [PID]
    Value=XXXX-XXXX-XXXX-XXXX-XXXX
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment