How to check if bad sectors has affected windows installation?

nevesswodniw

New member
Member
Local time
4:04 AM
Messages
35
Hi,

I have installed windows 7 x64, the installation went fine, it runs fine, no bsods, no crashes, no restarts, no freezes, no slowdown. Basically it just runs fine, all updates installed fine.

Now, I did a scan on the HDD, and it has bad sectors pending. I imaged the windows to another HDD.

Loaded onto the other HDD, it boots fine, runs fine, idles fine, installed a few things, checked the files system, ran chkdsk ( just fix box, not the second box to repair ), all OK.


So my question is, how can I know if the bad sectors on old HDD had any damage to the windows installation, and thus on the new HDD?

If the bad sectors caused data loss or corruption, before I imaged it on the old HDD, how would it show up on the new HDD. Should I being seeing any bsods, freezing, slowness? Any software to test to make sure it has not been affected in any way?


Thank you!
 

My Computer My Computer

At a glance

7 Ult x64 sp1intel iddr3 2GB+nvidia pcie
OS
7 Ult x64 sp1
CPU
intel i
Motherboard
z68
Memory
ddr3 2GB+
Graphics Card(s)
nvidia pcie
Monitor(s) Displays
lcd
Hard Drives
sata2
PSU
600W
Cooling
fans
I suspect that if Windows 7 is installed on the part of the drive where there are no bad sectors, you should be OK.
But as programs are installed, the bad sectors may create problems.
I don't think there's any way of knowing if there are any problems within your current programs until they occur.

Drive manufacturers have programs that diagnose and possibly repair bad sectors.
 

My Computer My Computer

At a glance

Windows 7 Home Premium 64 bitIntel Core i7-4790G.SKILL 8GB (2 x 4GB) DDR3 F3-10666CL9D-8GBNTAMD Radeon R7 250
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Home Premium 64 bit
CPU
Intel Core i7-4790
Motherboard
GA-Z87X-D3H
Memory
G.SKILL 8GB (2 x 4GB) DDR3 F3-10666CL9D-8GBNT
Graphics Card(s)
AMD Radeon R7 250
Sound Card
Realtek ALC892
Monitor(s) Displays
Samsung UN32EH5000, Dell 1703FPT
Screen Resolution
1920 x 1080, 1280 x 1024
Hard Drives
WD5003AZEX
WD10EZEX
Samsung HD103SJ
Samsung 128 GB 840 PRO
PSU
SeaSonic M12II SS-500GM
Case
Fractal Design Define R4
Cooling
Zalman CNPS9900ALED
Keyboard
Logitech K800
Mouse
Logitech M705
Internet Speed
16 Mbps
Antivirus
Avast
Browser
Firefox
Other Info
Bose Companion 2 Multimedia Speakers

My Computer My Computer

At a glance

Windows 7 64 Bit Home Premium SP1i7-3820GSkill F3-14900CL9Q - 16GBEVGA GeForce GTX660 - Driver 352.86
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home Built - Jan 2013
OS
Windows 7 64 Bit Home Premium SP1
CPU
i7-3820
Motherboard
Asus P9X79-PRO - Bios 4608
Memory
GSkill F3-14900CL9Q - 16GB
Graphics Card(s)
EVGA GeForce GTX660 - Driver 352.86
Sound Card
On board Realtek ALC898
Monitor(s) Displays
Acer S271HL
Screen Resolution
1920 x 1080
Hard Drives
#1- Samsung 840 Pro Series
#2- Western Digital WD1002FAEX Sata3 Black
#3- Western Digital WD1002FAEX Sata3 Black
PSU
Corsair CMPSU-850TX-V2 - 850 watt (by Seasonic)
Case
Corsair Obsidian 550D
Cooling
Standard 3 120mm case fans, Cooler Master Hyper 212 EVO
Keyboard
MS KC-0405
Mouse
Intellimouse 5-button
Internet Speed
56 Mbits/Sec (on a good day)
Antivirus
Avast & Malwarebytes
Browser
Firefox
Other Info
Asus DVD - DRW-24B1ST 24X
Is SMART active in your BIOS? :eek:
 

My Computer My Computer

At a glance

W7 x64Intel Q9300 2.5Ghz Quad LGA775 (Would like Q9...4Gb OCZ Gold 1,333MhzPalit HD4850 O/C Sonic 512Mb DDR3, Dual DViD's
Computer Manufacturer/Model Number
Custom built machine
OS
W7 x64
CPU
Intel Q9300 2.5Ghz Quad LGA775 (Would like Q9650)
Motherboard
Gigabyte GA-EP45T-UD3R (F6 Bios)
Memory
4Gb OCZ Gold 1,333Mhz
Graphics Card(s)
Palit HD4850 O/C Sonic 512Mb DDR3, Dual DViD's
Sound Card
Azalia to twin Samson 50w Studio Monitors
Monitor(s) Displays
Twin Dell (E-IPS) U2311H 23.6" Screens
Screen Resolution
1920 x 1080 @ 60Hz
Hard Drives
Crucial M4 SSD, archives on twin Western Digital Caviar Black WD2002FAEX, 2TB, 7200rpm HDD's, Samsung Ritemaster CD/DVD Burner...
PSU
OCZ 600w
Case
Lian-Li PC8 acoustifoamed' aluminium tower
Cooling
Scythe 140mm Zipang
Keyboard
Cherry PS/2 custom model
Mouse
Lenovo USB laser "Thinkpad" Mouse
Internet Speed
ADSL2+ @14Mbps downstream & Cat6 Gigabit Ethernet
Antivirus
NOD32
Browser
Opera
Other Info
Silicon Dust HD Homerun Dual FTA (Ethernet) TV Tuners, Dray Tek Vigor 2850Vn router and 8x HP Gigabit Switch. Lian-Li CR26 Card Reader, Canon MF4430 iSensys laser printer/scanner.
So my question is, how can I know if the bad sectors on old HDD had any damage to the windows installation, and thus on the new HDD?

If you have an idea where the bad sector was, you can use Diskview from Sysinternals to find the files that occupied that cluster. You may be able to run something like Hard Drive Tune on the bad drive and find the bad blocks, then use Diskview to see what was in that location. It's an awesome standalone program.
 

My Computer My Computer

At a glance

Windows
OS
Windows
I'm not installing anything on the old HDD with bad sectors.

The old hdd at the time of imaging windows, had 30 current pending sectors, and 0 reallocated sectors.

I then restored the image onto the new hdd.

The new hdd has no bad sectors.

Windows on the old hdd, passed all file system checks, and also showed no signs of any problems or data loss/corruption ( installed every windows update since sp1 and other updates etc... completed fine ).

restored windows image on the new hdd, runs normal, passed all file system checks.
Although I have not run sfc /scannow.

So really I'm just worried if there's any impact of the bad sectors on the image, which is restored on the new hdd, because it's running perfectly, but I don't want errors to start coming up later on.

Thats basically why I just wanted to know if running all the windows scans/check etc means the OS is fine, or whether it's impossible to find out if there's any hidden impact from the bad sectors.

My only other option, would be to install windows fresh again on the new hdd.


I downloaded diskview, but how do I know how to match up the info in that program to where the bad sectors are on the old hdd?
For example, from the scan on the old hdd, it shows in the log:

Error : LBA 55929295
Error : LBA 65801956
Error : LBA 73184815

How do I find where those are on the old hdd, and whether they are on the OS partition?




Thanks again.


http://www.sevenforums.com/tutorials/1538-sfc-scannow-command-system-file-checker.html
 

My Computer My Computer

At a glance

7 Ult x64 sp1intel iddr3 2GB+nvidia pcie
OS
7 Ult x64 sp1
CPU
intel i
Motherboard
z68
Memory
ddr3 2GB+
Graphics Card(s)
nvidia pcie
Monitor(s) Displays
lcd
Hard Drives
sata2
PSU
600W
Cooling
fans
Due to manufacturing tolerances and the nature of the technology involved (a physical disk), there will inevitably be sectors that do not function as they should. The HDD firmware (its embedded software) knows this, and these bad sectors are automatically taken out of use and remapped to one of the spare sectors that are specifically provided for this purpose (these sectors do not count towards the nominal capacity of the drive, since they are only called upon for this purpose).

It should be pointed out that even on brand new drives of the highest quality will have some bad sectors, and that whilst drives can be upwards of 99.999% bad sector free, they can never be 100%. And that includes the HDDs user by many of the world's biggest servers, such as those used by Google and Microsoft themselves.

As regards the LBA errors, I think that these are just sector reference locations for where a sector has failed and has been marked bad.
 

My Computer My Computer

At a glance

Windows 8.1 Pro RTM x64Intel Core-i5-3570K 4-core @ 3.4GHz (Ivy Brid...4 x 4GB DDR3-1600 Corsair Vengeance CMZ8GX3M2...MSI GeForce GTX770 Gaming OC 2GB
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dwarf Dwf/11/2012 r09/2013
OS
Windows 8.1 Pro RTM x64
CPU
Intel Core-i5-3570K 4-core @ 3.4GHz (Ivy Bridge) (OC 4.4GHz)
Motherboard
ASRock Z77 Extreme4-M
Memory
4 x 4GB DDR3-1600 Corsair Vengeance CMZ8GX3M2A1600C9B (16GB)
Graphics Card(s)
MSI GeForce GTX770 Gaming OC 2GB
Sound Card
Realtek High Definition on board solution (ALC 898)
Monitor(s) Displays
ViewSonic VA1912w Widescreen (VGA)
Screen Resolution
1440x900
Hard Drives
OCZ Agility 3 SSD 120GB SATA III x2 (RAID 0)
Samsung HD501LJ 500GB SATA II x2
Hitachi HDS721010CLA332 1TB SATA II
Iomega 1.5TB Ext USB 2.0
WD 2.0TB Ext USB 3.0
PSU
XFX Pro Series 850W Semi-Modular
Case
Gigabyte IF233
Cooling
1 x 120mm Front Inlet 1 x 120mm Rear Exhaust
Keyboard
Microsoft Comfort Curve Keyboard 3000 (USB)
Mouse
Microsoft Comfort Mouse 3000 for Business (USB)
Internet Speed
NetGear DG834Gv3 ADSL Modem/Router (Ethernet) ~4.0 Mb/s (O2)
Antivirus
Avast! 8.0.1497
Browser
IE 11
Other Info
Optical Drive: HL-DT-ST BD-RE BH10LS30 SATA Bluray
Lexmark S305 Printer/Scanner/Copier (USB)
WEI Score: 8.1/8.1/8.5/8.5/8.25
Asus Eee PC 1011PX Netbook (Windows 7 x86 Starter)
OK, after scanning the whole old hdd, there are 928 pending sectors ( smart was only showing 30 after I imaged the windows partition ) , 0 reallocated.

Now, because they have not been reallocated, what does this mean?

That they have not been written to, or that they have been written to, then became bad, and have not been written to since then. Which then means, that if the bad sectors are only being read ( and remaining pending ) would this not show up as errors in windows that I have restored onto the new hdd?

So how would I find if those exact bad pending sectors have data in them, in the image I made and restored on the new hdd?

BTW, I just ran sfc /verifyonly on the new hdd, and windows has no errors.
 

My Computer My Computer

At a glance

7 Ult x64 sp1intel iddr3 2GB+nvidia pcie
OS
7 Ult x64 sp1
CPU
intel i
Motherboard
z68
Memory
ddr3 2GB+
Graphics Card(s)
nvidia pcie
Monitor(s) Displays
lcd
Hard Drives
sata2
PSU
600W
Cooling
fans

My Computer My Computer

At a glance

Windows 7 Home Premium 64bitIntel Core i3-32408GB DDR3 SDRAMEVGA GeForce GT 620
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell Inspiron 660
OS
Windows 7 Home Premium 64bit
CPU
Intel Core i3-3240
Motherboard
Dell 084J0R
Memory
8GB DDR3 SDRAM
Graphics Card(s)
EVGA GeForce GT 620
Sound Card
Intel Panther Point PCH High Definition Audio
Monitor(s) Displays
Acer G205HV
Screen Resolution
1600 x 900
Hard Drives
Sandisk SSD 64GB SDSSDP064G
Seagate HDD 1TB ST1000DM003-1CH162
PSU
Dell 300W
Case
Dell Inspiron
Keyboard
Logitech Wireless K320/B350
Mouse
Microsoft
Internet Speed
25Mbps/4Mbps
Antivirus
Avast
Browser
Mozilla Firefox
  • Like
Reactions: JMH
So really I'm just worried if there's any impact of the bad sectors on the image, which is restored on the new hdd, because it's running perfectly, but I don't want errors to start coming up later on.

You are looking for a confirmation that no one here can give.

If you run SFC and it shows no Windows System Files are missing or corrupted then you can be reasonably assured that the new image and OS are fine.

If you can not be satisfied by the results of the System File check and your own observations, then you know what you want to do.
I wouldn't bother.
 

My Computer My Computer

At a glance

Windows 7 64 Bit Home Premium SP1i7-3820GSkill F3-14900CL9Q - 16GBEVGA GeForce GTX660 - Driver 352.86
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home Built - Jan 2013
OS
Windows 7 64 Bit Home Premium SP1
CPU
i7-3820
Motherboard
Asus P9X79-PRO - Bios 4608
Memory
GSkill F3-14900CL9Q - 16GB
Graphics Card(s)
EVGA GeForce GTX660 - Driver 352.86
Sound Card
On board Realtek ALC898
Monitor(s) Displays
Acer S271HL
Screen Resolution
1920 x 1080
Hard Drives
#1- Samsung 840 Pro Series
#2- Western Digital WD1002FAEX Sata3 Black
#3- Western Digital WD1002FAEX Sata3 Black
PSU
Corsair CMPSU-850TX-V2 - 850 watt (by Seasonic)
Case
Corsair Obsidian 550D
Cooling
Standard 3 120mm case fans, Cooler Master Hyper 212 EVO
Keyboard
MS KC-0405
Mouse
Intellimouse 5-button
Internet Speed
56 Mbits/Sec (on a good day)
Antivirus
Avast & Malwarebytes
Browser
Firefox
Other Info
Asus DVD - DRW-24B1ST 24X
So really I'm just worried if there's any impact of the bad sectors on the image, which is restored on the new hdd, because it's running perfectly, but I don't want errors to start coming up later on.

You are looking for a confirmation that no one here can give.

If you run SFC and it shows no Windows System Files are missing or corrupted then you can be reasonably assured that the new image and OS are fine.

If you can not be satisfied by the results of the System File check and your own observations, then you know what you want to do.
I wouldn't bother.

I think I'm just not explaining myself properly in my posts :p

I'm just after info on whether all the scans I've run on the new hdd indicate that it is indeed error free, which in turn would mean that the bad sectors on the old hdd didn't impact the OS negatively when imaged.

I was assuming that there were scans and software that would tell me that the OS is definitely running 100% fine. Thats all really.

Now, if running chkdsk /f /r and SFC, and file system checkers means that everything is fine, then thats all I wanted know :)

I bolded the bit in your post, that I was after :p

On the other hand, if you said, all the scans in the world wont tell you the OS is fine, then that's fine too, just means I'll have to reinstall windows.



BTW, I checked the old HDD and found out that all sectors between 55000000 and 76000000 are occupied by hiberfil and pagefile.
All the LBA errors are between 55000000 and 76000000. Assuming defrag cant move hiberfil and pagefile around, I'm guessing that the bad sectors were only used by them, which is maybe why my image is running fine :cool:
 

My Computer My Computer

At a glance

7 Ult x64 sp1intel iddr3 2GB+nvidia pcie
OS
7 Ult x64 sp1
CPU
intel i
Motherboard
z68
Memory
ddr3 2GB+
Graphics Card(s)
nvidia pcie
Monitor(s) Displays
lcd
Hard Drives
sata2
PSU
600W
Cooling
fans
If you ran System File Checker, and the scan came out clean then you are fine.


IMHO ;)
 

My Computer My Computer

At a glance

Windows 7 64 Bit Home Premium SP1i7-3820GSkill F3-14900CL9Q - 16GBEVGA GeForce GTX660 - Driver 352.86
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home Built - Jan 2013
OS
Windows 7 64 Bit Home Premium SP1
CPU
i7-3820
Motherboard
Asus P9X79-PRO - Bios 4608
Memory
GSkill F3-14900CL9Q - 16GB
Graphics Card(s)
EVGA GeForce GTX660 - Driver 352.86
Sound Card
On board Realtek ALC898
Monitor(s) Displays
Acer S271HL
Screen Resolution
1920 x 1080
Hard Drives
#1- Samsung 840 Pro Series
#2- Western Digital WD1002FAEX Sata3 Black
#3- Western Digital WD1002FAEX Sata3 Black
PSU
Corsair CMPSU-850TX-V2 - 850 watt (by Seasonic)
Case
Corsair Obsidian 550D
Cooling
Standard 3 120mm case fans, Cooler Master Hyper 212 EVO
Keyboard
MS KC-0405
Mouse
Intellimouse 5-button
Internet Speed
56 Mbits/Sec (on a good day)
Antivirus
Avast & Malwarebytes
Browser
Firefox
Other Info
Asus DVD - DRW-24B1ST 24X
sfc /verifyonly

Is about the only thing available for your stated purpose
 

My Computer My Computer

At a glance

Windows 10 Pro. EFI boot partition, full EFI ...i7 4770k 4.4GHz (44-44-43-43 turbo) @ 1.248V16GB (8GBx2) @2200 MHz G.skill Sniper 10-11-1...MSI GTX 970 Gaming 4G
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home built (GeneO industries)/Model 4
OS
Windows 10 Pro. EFI boot partition, full EFI boot
CPU
i7 4770k 4.4GHz (44-44-43-43 turbo) @ 1.248V
Motherboard
ASUS Maximus VI Hero
Memory
16GB (8GBx2) @2200 MHz G.skill Sniper 10-11-10-30-1, 1.6V
Graphics Card(s)
MSI GTX 970 Gaming 4G
Sound Card
Onboard SupremeFX Audio
Monitor(s) Displays
NEC Spectraview 2490WUXi-SV
Screen Resolution
1920 x 1200
Hard Drives
Samsung 850 Pro 256GB (OS), Samsung 2x 128GB 840 Pro SSD in RAID0, 3x WD Blue 6Gb/s 1TB RAID0, WD 2TB Black external USB 3.0, 2TB WD20EARS Green external USB 3.0, 2x 500GB Seagate and 1 750 GB external USB, 1x 350GB external USB3
PSU
Seasonic X-850 (2012 KM3 model)
Case
Fractal Design Define R4
Cooling
NH-D14, NF-F12, NF-A15; NF-P14, NF-P12,NF-A14, S12A PWM
Keyboard
Cooler Master Storm Quickfire Rapid - Brown
Mouse
Logitech G602
Internet Speed
126.4 Mb/s down, 24.3 Mb/s up
Other Info
USB 3.0 x8 , SATA III x8, eSATA, USB 2.0 x6. Samsung DVD R/W drive.

WEI: CPU 7.8, Memory 7.9, Graphics 7.9, Disk 7.9
Code:
XCOPY O:\*.* N:\tempfolder /D/E/H/V/C/K/Y
Where O is olddrive and N is newdriveletter
First do DIR C: DIR D: etc to determine driveletters
any errors, if so what files? Delete tempfolder afterwards

Do these action from within "recovery environment" -> command prompt. So you've got all privileges
 

My Computer My Computer

At a glance

Microsoft Windows 7 Home Premium 64-bits 7601...Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz4,00 GBATI Mobility Radeon HD 5400 Series
Computer type
Laptop
Computer Manufacturer/Model Number
ACER ASPIRE 5742G
OS
Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz
Motherboard
Acer Aspire 5742G
Memory
4,00 GB
Graphics Card(s)
ATI Mobility Radeon HD 5400 Series
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
WDC WD5000BEVT-22ZAT0
BTW, I checked the old HDD and found out that all sectors between 55000000 and 76000000 are occupied by hiberfil and pagefile.
All the LBA errors are between 55000000 and 76000000. Assuming defrag cant move hiberfil and pagefile around, I'm guessing that the bad sectors were only used by them, which is maybe why my image is running fine :cool:
lucky you! Can you delete hiberfile and pagefile on old drive as they aren't needed anymore! Better wipeout the space the files did occupy. Eraser for example
This forces a write to the blocks. any bad blocks afterwards?
 

My Computer My Computer

At a glance

Microsoft Windows 7 Home Premium 64-bits 7601...Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz4,00 GBATI Mobility Radeon HD 5400 Series
Computer type
Laptop
Computer Manufacturer/Model Number
ACER ASPIRE 5742G
OS
Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz
Motherboard
Acer Aspire 5742G
Memory
4,00 GB
Graphics Card(s)
ATI Mobility Radeon HD 5400 Series
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
WDC WD5000BEVT-22ZAT0
As TVeblen said, there's no way to tell from here. You are asking about file integrity but doing physical structure scans. SFC is the only thing that will come close to verifying individual system files are in tact and not damaged.

I wasn't suggesting you install anything on the old hard drive. You'd install HDTune on the new system & Diskview requires no installation. Then slave your old drive to read it. Diskview is the only method I know of (I'm sure there are others) to find the exact physical location of a file on your hard drive.
 

My Computer My Computer

At a glance

Windows
OS
Windows
As TVeblen said, there's no way to tell from here. You are asking about file integrity but doing physical structure scans. SFC is the only thing that will come close to verifying individual system files are in tact and not damaged.

I wasn't suggesting you install anything on the old hard drive. You'd install HDTune on the new system & Diskview requires no installation. Then slave your old drive to read it. Diskview is the only method I know of (I'm sure there are others) to find the exact physical location of a file on your hard drive.
He already knows the bad blocks are ONLY in pagefile and hiberfile. Simply erase the files by wiping them with 0 values or random values, so force the disk to do a write to the bad blocks. SMART cannot write to the blocks and does an automatic replacement. Those bad blocks will NEVER be reused! Check afterwards if it has done the task. So you know SMART is working

Or simply leave it the way it is. Blocks in pagefile and hiberfile are never accessed (because he has booted many times afterwards). The blocks are only read after written by new contents (write doesn't work so SMART replaces the blocks)

Only problem for now:
  • maybe disk is realy dying(?)
  • maybe SMART isn't working(?)
 

My Computer My Computer

At a glance

Microsoft Windows 7 Home Premium 64-bits 7601...Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz4,00 GBATI Mobility Radeon HD 5400 Series
Computer type
Laptop
Computer Manufacturer/Model Number
ACER ASPIRE 5742G
OS
Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz
Motherboard
Acer Aspire 5742G
Memory
4,00 GB
Graphics Card(s)
ATI Mobility Radeon HD 5400 Series
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
WDC WD5000BEVT-22ZAT0
Back
Top