I have returned with another issue in regards to my PC. After about a month of my computer working perfectly again, it had started crashing again and I decided to do a little more research. Turns out that my C drive (Windows and Origin drive) is 16% fragmented. The guy who gave me the HDD and helped build it said that it was to be expected since it was from his store and was recycled, but anyway I wanted to know if it was safe/smart to defrag it or just to get a new one and transfer all the data over.
Defrag (not for ssd) won't hurt, but after that you should run a deep scan for bad sectors (not the windows chkdsk), seeing as it's a used/refurb'd drive.
I would suggest it before the defrag personally. In the command prompt type "chkdsk c: /f /v /r /b" without quotes and Y to the two prompts (force dismount, which will fail as it is the OS drive, and to schedule it for the next reboot). It will take a -long- time, so do it overnight.
/f - Fix errors
/v - Verbose cleanup messages
/r - Scan for and fix bad clusters
/b - Re-evaluate bad clusters
Try black_zion suggestion, or download the software tools from the HDD manufacturer website (either way, it can take hours to run).
If it is a mechanical drive not solid state, your OS should run a defrag on a set schedule. To do so manually, click the start button and type defrag. The program will come up allowing you to scan the drive and correct it. A note, however, if you have a solid state never, ever, ever run defrag. SSDs have error correction to prevent fragmentation.
Another option would be to open Command Prompt (right click and run as admin) and type sfc /scannow. This will scan the file system for abnormalities and attempt to repair them. It will require a restart of your OS once triggered.
So after a day of working it crashed another three times and said that it was, you guessed it, fragmented. Is it possible to transfer the data on this hard drive to another? Including the OS,
With cloning software yes. I like Macrium Reflect, it's free. Do be aware, however, that fragmentation (on mechanical drives) only affects the speed of disk operations, it does not have any effect on system stability. A fragmented file is a file which is not in continuous clusters on the disk so the read arm has to zip around to retrieve all the pieces, it is not corrupt.
I have been using Diskeeper for a long time. It automatically and silently defrags all your hard drives continuously. The newer versions (I am using v16) even prevents fragmentation before it occurs.
I found the easiest and fastest way to add a previous Windows OS to a new Hard drive is by making a System Image of the C:\ drive. Then after the new Hard drive is installed and formatted, I would use Windows Installation disk to reinstall the previous Windows OS from the System Image.
Maybe you should check Windows reliability monitor history and/or event viewer for any red/yellow, critical/warning notations.
May be some other issue.
You say fragmented again, but was that a disk error message. Did the scan pass/repair.