Startup Repair - Run 3 Separate Times

Why it's Sometimes Necessary to Run a Startup Repair 3 Times to Create Windows Boot Files to Another, New Location


When a Windows Operating System (OS) is installed it becomes the system volume or commonly referred to as "System, Active" partition and by default it will contain all the files needed to boot Windows. When a second OS is installed to the same PC (a dual or multi boot) the files needed to boot that OS will be added to the existing "system volume" containing boot files from the previous install and the 2 OSs will 'share' the boot files and if either of the 2 is removed or damaged so as to not boot, that may directly affect the other OS's ability to boot.​


There is another situation that is common now, when Windows 7 is installed to an un-partitioned or "unallocated space" on a Hard Disk Drive (HDD) it creates one partition (the first) labeled "System Reserved" that becomes the "system volume" and a second partition that Windows 7 installs to, both "Primary" partitions; the "System Reserved" partition is where the boot files are created and has a link to the recovery options console built into Windows 7, it serves a very useful purpose but there may be times when removing or repairing the "System Reserved" partition becomes necessary.


click any image to enlarge
DM.jpg


The simplest way to make these changes is to do what is referred to as a startup repair it's a process that will write new boot files to the selected OS and it will then be able to boot independently; or in other cases you may want to rearrange / change the partition structure, you can use a startup repair to correct this also.

The trick is that sometime and in certain situations it becomes absolutely necessary to do as many as 3 separate startup repairs with a system restart between each repair to completely write boot files to the "new" location and if the process is interrupted or not completed you will be right back where you started, with a PC that will not start-up at all.

   Warning

As with anything that makes changes to the Windows structure there is always the chance for an error to occur, it would be advisable to make reliable backups to the media of your choice of any important data, i.e. pictures, music or documents, that you would not want to lose before you make any changes to your system, it is always better to be safe than sorry.

Let's get started!

   Note

If you can't boot into (start) Windows have a look at Option Two below.

If there is more than 1 partition marked "Active" that will cause WinRE to not be able to complete the repairs properly as the active flag is the designation of where the new boot files are to be created, if so the other partitions will have to be marked as "Inactive" for the repairs to be completed.
See Option Two #2 below for the process.


The first step in the process is to mark the desired volume/partition as "Active" so that WinRE (Windows Recovery Environment) will know which volume you want to become "System" when the startup repairs are run.

The second step in this process is to run at least 3 separate startup repairs to create a new set of boot files to the new "Active" volume/partition, be sure to complete all 3 steps of Option One below to complete this entire process.



Option One

Using Disk Management



1) In the Windows start menu search box type diskmgmt.msc right click the entry and click "Run as Administrator" if you get a User Account Control (UAC) prompt enter your user credentials and click Yes; in Disk Management right click the partition you want to be the "system volume" and click "Mark Partition as Active".
DM_MarkAsActive.jpg
2) Now click yes for the dialog box that opens; the second snip down is what you will have after that.
DM_MarkAsActive2.jpg
DM_MarkAsActive8.jpg
3) Now put the Windows full installer DVD or a windows repair disk into the Optical Disk Drive (ODD) and restart the PC, at the BIOS select the ODD as first boot device and when the PC boots run the 3 startup repairs with restarts discussed above to write the new boot files to the selected volume.

How to Run a Startup Repair in Windows 7

This is what you will have after the repairs.
DM_MarkAsActive5.jpg



Option Two

Using DISKPART



If you have a Windows 7 full installer DVD, have a look at Method One in this tutorial at the link below to see how to boot to diskpart so you can mark the desired partition as "Active" so that WinRE (Windows Recovery Environment) will know where to write the new boot files.

How to Boot to DISKPART at PC Startup
http://www.sevenforums.com/tutorials/119713-diskpart-pc-startup.htmlhttp://www.sevenforums.com/tutorials/119713-diskpart-pc-startup.html
If you are using a created windows repair disk have a look at Method Two and if you are using a Vista full installer view Method Three.

Once in diskpart of course you would substitute your disk / partition information in-place of that listed in the snips for demonstration purposes.

1) To mark the selected partition as "Active" click to see this snip below.
1.jpg
2) To mark the selected partition as "Inactive" click to see this snip below.

If there is more than 1 partition marked "Active" that will cause WinRE to not be able to complete the repairs properly as the active flag is the designation of where the new boot files are to be created / repaired, if so the other partitions will have to be marked as "Inactive" for the repairs to be completed.

To see how to mark the selected partition as "Inactive" click this snip below.

This can also be done from an elevated command window.
2.jpg
3) How to check if a partition is marked "Active" click to see the snip below.
3.jpg
Enjoy! :)


 
Last edited:
Nice work Ted, This will be used alot. :thumbsup:
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self Built
OS
Win 10 Pro x64
CPU
Intel I5-2500K @3.3GHz
Motherboard
Asrock P67 Extreme4
Memory
16GB G.Skill Ripjaws X (4x4GB)
Graphics Card(s)
EVGA GeForce 750 Ti SC 2GB
Sound Card
ASUS Xonar DG 5.1 Channels 24-bit 96KHz PCI Interface Sound
Monitor(s) Displays
auria eq2367
Screen Resolution
1920 x 1080
Hard Drives
250GB Samsung 850 EVO SSD
1TB WD Blue
1TB Hitachi
PSU
SeaSonic X 650W 80 Plus Gold
Case
Corsair Obsidian 750D
Cooling
Corsair H60, Three 140mm case fans
Keyboard
Logitech Wireless Keyboard K520
Mouse
Logitech Wireless Mouse M310
Internet Speed
Wave Broadband ~ 100 dn 5 up
Antivirus
Windows Defender, Malwarebytes Premium
Browser
Edge, IE11, Chrome
Other Info
Laptop specs: HP g7-1365dx /
CPU: AMD A6-3420M APU with Radeon(tm) HD Graphics /
RAM: Crucial 8Gb (2x4Gb) /
SSD: Crucial M4-CT128M4SSD2 ATA Device/ FW 000F /
GFX: AMD Radeon HD 6520G /
OS: Windows 10 Pro x64
Thanks Derek, I hope it'll save some typing for everyone. ;)
 

My Computer

Computer Manufacturer/Model Number
* BFK Customs *
OS
W 7 64-bit Ultimate
CPU
Intel Q9550 Yorkfield
Motherboard
ASUS P5Q Pro
Memory
8GB Dominator 8500C5D
Graphics Card(s)
ATI : XFX 5870
Sound Card
Realtek HD Audio 7-1
Monitor(s) Displays
1x 47" LCD HDMI & 3x 26" LCD HDMI
Screen Resolution
1920x1080P & 1920x1200
Hard Drives
1x 80GB Intel X25-M G2 SSD : 1x 500GB & 1x 640GB WD Caviar Black(s)
PSU
Corsair 620HX
Case
Cooler Master RC-690
Cooling
Tuniq Tower 120, 2x 140mm and 3x 120mm case fans
Keyboard
Microsoft 500
Mouse
Razer Diamondback 3G
Internet Speed
14 Mb/s
Other Info
1x Koutech 3Gb/s SATA HDD Hot Swap Rack

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self Built
OS
Win 10 Pro x64
CPU
Intel I5-2500K @3.3GHz
Motherboard
Asrock P67 Extreme4
Memory
16GB G.Skill Ripjaws X (4x4GB)
Graphics Card(s)
EVGA GeForce 750 Ti SC 2GB
Sound Card
ASUS Xonar DG 5.1 Channels 24-bit 96KHz PCI Interface Sound
Monitor(s) Displays
auria eq2367
Screen Resolution
1920 x 1080
Hard Drives
250GB Samsung 850 EVO SSD
1TB WD Blue
1TB Hitachi
PSU
SeaSonic X 650W 80 Plus Gold
Case
Corsair Obsidian 750D
Cooling
Corsair H60, Three 140mm case fans
Keyboard
Logitech Wireless Keyboard K520
Mouse
Logitech Wireless Mouse M310
Internet Speed
Wave Broadband ~ 100 dn 5 up
Antivirus
Windows Defender, Malwarebytes Premium
Browser
Edge, IE11, Chrome
Other Info
Laptop specs: HP g7-1365dx /
CPU: AMD A6-3420M APU with Radeon(tm) HD Graphics /
RAM: Crucial 8Gb (2x4Gb) /
SSD: Crucial M4-CT128M4SSD2 ATA Device/ FW 000F /
GFX: AMD Radeon HD 6520G /
OS: Windows 10 Pro x64
Thanks Ted... Ive bookmarked this one.. ;)
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
LENOVO K450 @3.0GHZ
OS
64-bit Windows 8.1 Pro
CPU
Core(TM) i5 CPU 4330 Haswell @ 3.20GHz
Motherboard
LENOVO
Memory
12.00 GB
Graphics Card(s)
Intel(R) HD Graphics
Sound Card
Intel HD integtrated
Monitor(s) Displays
HP 25' ISP Monitor
Screen Resolution
1900/1020
Hard Drives
(1) ST1000DM003-1CH162 (2) Generic STORAGE DEVICE USB Device (3) Generic STORAGE DEVICE USB Device
Internet Speed
100mb down/10mb up
Thanks Tom, I hope it serves you well. :)
 

My Computer

Computer Manufacturer/Model Number
* BFK Customs *
OS
W 7 64-bit Ultimate
CPU
Intel Q9550 Yorkfield
Motherboard
ASUS P5Q Pro
Memory
8GB Dominator 8500C5D
Graphics Card(s)
ATI : XFX 5870
Sound Card
Realtek HD Audio 7-1
Monitor(s) Displays
1x 47" LCD HDMI & 3x 26" LCD HDMI
Screen Resolution
1920x1080P & 1920x1200
Hard Drives
1x 80GB Intel X25-M G2 SSD : 1x 500GB & 1x 640GB WD Caviar Black(s)
PSU
Corsair 620HX
Case
Cooler Master RC-690
Cooling
Tuniq Tower 120, 2x 140mm and 3x 120mm case fans
Keyboard
Microsoft 500
Mouse
Razer Diamondback 3G
Internet Speed
14 Mb/s
Other Info
1x Koutech 3Gb/s SATA HDD Hot Swap Rack
Nice tute Ted :D
 

My Computer

Computer Manufacturer/Model Number
COMPAQ Presario Laptop
OS
Windows 7 Ultimate 64 bit, Mac OS X 10.6
CPU
Intel Pentium Dual Core @2.0GHz
Motherboard
Compaq Generic
Memory
12GB
Graphics Card(s)
NVIDIA Graphics For Mobile 512MB VRAM
Sound Card
IDT High definition Audio
Monitor(s) Displays
Laptop LCD Display
Screen Resolution
1280*800 Bright View Widescreen
Hard Drives
500 GB Primary Master@7200rpm + 1 TB External HDD
Cooling
Direct ; generic fan
Keyboard
Generic Laptop Keyboard
Mouse
Touch Pad
Internet Speed
3.1 Mbps wireless Broadband
Other Info
Generic Dock
Wish I would have known this about two weeks ago. Would have saved me some hair pulling. Great info! :thumbsup:
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Sony Vaio VPCEB47GM Laptop
OS
Win 7 Pro 64-bit
CPU
Intel i5 2.4 Ghz
Memory
8GB DDR3
Graphics Card(s)
Intel HD 3000
Sound Card
IDT High Definition
Monitor(s) Displays
15.6 WGXA Anti-Glare LED
Screen Resolution
1280x800
Hard Drives
640Gb 7200rpm
Antivirus
MSE
Browser
Opera (primary) with IE9 backup
Hello nokian73me and marsmimar, thank you both!
 

My Computer

Computer Manufacturer/Model Number
* BFK Customs *
OS
W 7 64-bit Ultimate
CPU
Intel Q9550 Yorkfield
Motherboard
ASUS P5Q Pro
Memory
8GB Dominator 8500C5D
Graphics Card(s)
ATI : XFX 5870
Sound Card
Realtek HD Audio 7-1
Monitor(s) Displays
1x 47" LCD HDMI & 3x 26" LCD HDMI
Screen Resolution
1920x1080P & 1920x1200
Hard Drives
1x 80GB Intel X25-M G2 SSD : 1x 500GB & 1x 640GB WD Caviar Black(s)
PSU
Corsair 620HX
Case
Cooler Master RC-690
Cooling
Tuniq Tower 120, 2x 140mm and 3x 120mm case fans
Keyboard
Microsoft 500
Mouse
Razer Diamondback 3G
Internet Speed
14 Mb/s
Other Info
1x Koutech 3Gb/s SATA HDD Hot Swap Rack
Thanks Ted, this will be nice to link to.

Most people give up after one or two runs.

Three are required in most cases.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
76~2.0
OS
Windows 7 Ult x64 - SP1/ Windows 8 Pro x64
CPU
Intel Core i5-3570K 4.6GHz
Motherboard
Gigabyte GA-Z77X UD3H, f18
Memory
8GB (2X4GB) DDR3 1600 Corsair Vengeance CL8 1.5v
Graphics Card(s)
Sapphire HD 7770 Vapor-X OC 1GB DDR5
Sound Card
Onboard VIA VT2021
Monitor(s) Displays
22" LCD Dell
Screen Resolution
1680x1050
Hard Drives
Samsung 840Pro 128GB SSD,
Seagate Barracuda 500GB SATA2 7200rpm 32MB cache, Seagate Barracuda 1TB SATA2 7200rpm 32MB cache,
PSU
Corsair HX650W
Case
Cooler Master Storm Scout
Cooling
Corsair H80 2x12cm Noctua NF P12 , 2x14cm case fans
Keyboard
Logitech Wave
Mouse
CM Sentinel
Internet Speed
Dismal
Antivirus
Avast
Browser
Opera Next
Other Info
Haswell laptop: HP Envy 17t-j, i7-4700MQ, GeForce 740M 2GB DDR3, 17.3" Full HD 1920x1080, 16GB RAM, Samsung 840 Pro 128GB, 1TB Hitachi 7200 HDD,
Desktop: eSATA ports,
External eSATA Seagate 500GB SATA2 7200rpm,
External WD USB 500GB
Thanks Dave, yes maybe it'll save us all some typing. ;)
 

My Computer

Computer Manufacturer/Model Number
* BFK Customs *
OS
W 7 64-bit Ultimate
CPU
Intel Q9550 Yorkfield
Motherboard
ASUS P5Q Pro
Memory
8GB Dominator 8500C5D
Graphics Card(s)
ATI : XFX 5870
Sound Card
Realtek HD Audio 7-1
Monitor(s) Displays
1x 47" LCD HDMI & 3x 26" LCD HDMI
Screen Resolution
1920x1080P & 1920x1200
Hard Drives
1x 80GB Intel X25-M G2 SSD : 1x 500GB & 1x 640GB WD Caviar Black(s)
PSU
Corsair 620HX
Case
Cooler Master RC-690
Cooling
Tuniq Tower 120, 2x 140mm and 3x 120mm case fans
Keyboard
Microsoft 500
Mouse
Razer Diamondback 3G
Internet Speed
14 Mb/s
Other Info
1x Koutech 3Gb/s SATA HDD Hot Swap Rack
Very good tutorial, Ted; well done. It will save us time and typing.
 

My Computer

Computer Manufacturer/Model Number
Home built
OS
Windows 7 Ultimate 32 bit
CPU
Intel(R) Pentium(R) 4 CPU 3.00GHz
Motherboard
ASUS P4P800-VM Motherboard Chipset: Intel 865G + ICH5
Memory
2.50 GB RAM
Graphics Card(s)
NVIDIA GeForce 7600 GS
Sound Card
SoundMax Integrated Digital Audio (Chip)
Monitor(s) Displays
ViewSonic VX 1962 wm
Screen Resolution
1680 X 1050
Hard Drives
Seagate Barracuda 7200.10 80 GB
ST380215A ATA Device 18.6 GB
Western Digital "My Book" external hard drive 750 GB
Cooling
Fan based
Keyboard
Microsoft Comfort Curve Keyboard 2000 v10 USB
Mouse
Logitec optic USB
Internet Speed
3.01 Mb/s download 0.64 Mb/s upload
Thank you Carl! :)
 

My Computer

Computer Manufacturer/Model Number
* BFK Customs *
OS
W 7 64-bit Ultimate
CPU
Intel Q9550 Yorkfield
Motherboard
ASUS P5Q Pro
Memory
8GB Dominator 8500C5D
Graphics Card(s)
ATI : XFX 5870
Sound Card
Realtek HD Audio 7-1
Monitor(s) Displays
1x 47" LCD HDMI & 3x 26" LCD HDMI
Screen Resolution
1920x1080P & 1920x1200
Hard Drives
1x 80GB Intel X25-M G2 SSD : 1x 500GB & 1x 640GB WD Caviar Black(s)
PSU
Corsair 620HX
Case
Cooler Master RC-690
Cooling
Tuniq Tower 120, 2x 140mm and 3x 120mm case fans
Keyboard
Microsoft 500
Mouse
Razer Diamondback 3G
Internet Speed
14 Mb/s
Other Info
1x Koutech 3Gb/s SATA HDD Hot Swap Rack
Why would they be running Startup Repair if they could get into Disk management to mark partition Active?

Can you make the screenshots about how to mark Active and run Startup Repair from DVD/Repair CD? Thanks.

Just askin.
 
Great tutorial, but it still doesn't answer the question of why 3 times is often needed? Why doesn't 1 time fix things? What happens each time you run Startup Repair? Does it fix one thing, then the next time sees that's fixed and fix something else? If so, what exactly is being fixed?

I'm not complaining about this tutorial, I think it's great, but I would really like to understand the reason for having to run 3 times.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Lenovo IdeaCenter 450
OS
Windows 10 Pro X64
CPU
Intel Quad Core i7-4770 @ 3.4Ghz
Memory
16.0GB PC3-12800 DDR3 SDRAM 1600 MHz
Graphics Card(s)
Intel Integrated HD Graphics
Sound Card
Realtek HD Audio
Monitor(s) Displays
HP 22" LCD
Screen Resolution
1680 x 1050
Hard Drives
250GB Samsung EVO SATA-3 SSD
2TB Seagate ST2000DM001 SATA-2
1.5TB Seagate ST3150041AS SATA
Keyboard
Dell USB
Mouse
Lenovo USB
Internet Speed
Cable via Road Runner 3MB Upload, 30MB Download
Antivirus
Windows Defender, MBAM Pro, MBAE
Browser
Seamonkey
Other Info
UEFI/GPT
PLDS DVD-RW DH16AERSH

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
76~2.0
OS
Windows 7 Ult x64 - SP1/ Windows 8 Pro x64
CPU
Intel Core i5-3570K 4.6GHz
Motherboard
Gigabyte GA-Z77X UD3H, f18
Memory
8GB (2X4GB) DDR3 1600 Corsair Vengeance CL8 1.5v
Graphics Card(s)
Sapphire HD 7770 Vapor-X OC 1GB DDR5
Sound Card
Onboard VIA VT2021
Monitor(s) Displays
22" LCD Dell
Screen Resolution
1680x1050
Hard Drives
Samsung 840Pro 128GB SSD,
Seagate Barracuda 500GB SATA2 7200rpm 32MB cache, Seagate Barracuda 1TB SATA2 7200rpm 32MB cache,
PSU
Corsair HX650W
Case
Cooler Master Storm Scout
Cooling
Corsair H80 2x12cm Noctua NF P12 , 2x14cm case fans
Keyboard
Logitech Wave
Mouse
CM Sentinel
Internet Speed
Dismal
Antivirus
Avast
Browser
Opera Next
Other Info
Haswell laptop: HP Envy 17t-j, i7-4700MQ, GeForce 740M 2GB DDR3, 17.3" Full HD 1920x1080, 16GB RAM, Samsung 840 Pro 128GB, 1TB Hitachi 7200 HDD,
Desktop: eSATA ports,
External eSATA Seagate 500GB SATA2 7200rpm,
External WD USB 500GB
Fix not "sticking"

A couple of days ago MS Security Essentials claimed that it found "Trojan:DOS/Shetwirl.H" on my Windows 7 Home Premium PC. I told it to remove the files before I realized that they were located on the MBRs of my hard disks. Upon next reboot I saw the screen in my attachment.

I used the method outlined in this post and after the third or fourth time the boot screen asks me to select the Windows 7 [recovered] OS. Then I do it boots into Windows 7 fine and everything works as it should. If, however, I remove the Windows repair CD, I get the same error screen again and have to go through another 3 or 4 rounds of "fixes" before it allows me to boot into Windows 7... again, but only if I have the Repair CD in the drive.

It seems like the repair process is not being completed somehow. Am I doing something wrong? Should I try a different repair method?

BTW, no hardware was changed... and the fact that it boots back into windows after a few repair attempts tends to confirm that.

Please advise.
 

Attachments

  • IMAG0147.jpg
    IMAG0147.jpg
    141.4 KB · Views: 605

My Computer

OS
Windows 7 x64, Windows XP x64, Ubuntu
Hello Omegaman007.



Since you can get into Windows 7 will you please post a snip/screen-shot of the entire disk management drive map with a full description as to which drive/partition is which, so we can see what you have going on.

In the Windows start menu right click computer and click manage, in the left pane of the "Computer Management" window that opens click disk management and post a snip of that.


How to Upload and Post a Screenshot and File in Seven Forums

Be sure to post back with any further questions you may have and to keep us informed.
 

My Computer

Computer Manufacturer/Model Number
* BFK Customs *
OS
W 7 64-bit Ultimate
CPU
Intel Q9550 Yorkfield
Motherboard
ASUS P5Q Pro
Memory
8GB Dominator 8500C5D
Graphics Card(s)
ATI : XFX 5870
Sound Card
Realtek HD Audio 7-1
Monitor(s) Displays
1x 47" LCD HDMI & 3x 26" LCD HDMI
Screen Resolution
1920x1080P & 1920x1200
Hard Drives
1x 80GB Intel X25-M G2 SSD : 1x 500GB & 1x 640GB WD Caviar Black(s)
PSU
Corsair 620HX
Case
Cooler Master RC-690
Cooling
Tuniq Tower 120, 2x 140mm and 3x 120mm case fans
Keyboard
Microsoft 500
Mouse
Razer Diamondback 3G
Internet Speed
14 Mb/s
Other Info
1x Koutech 3Gb/s SATA HDD Hot Swap Rack
Sure! Here it is. Disk 1 is on SATA3 and it is set to be the first HD to boot in BIOS. I still use the Win XP x64 OS on rare occasions but am phasing it out. When I do need to boot to it I just chose that HD during the BIOS bootup sequence.
 

Attachments

  • Untitled.png
    Untitled.png
    210.9 KB · Views: 788

My Computer

OS
Windows 7 x64, Windows XP x64, Ubuntu
Oh my, I thought I was a HDD nut. :shock:



The issue is that there is more than one partition that is marked as "Active" and that is how the partition that is to receive the startup repairs is flagged by the system so that the system will know where to do the repairs.


What we usually suggest is to disconnect all the HDDs except the one that needs the startup repairs, do the repairs and then reconnect the others.

Before you do that I would mark the "wrong" 2 partitions as inactive in diskpart, disconnect the HDDs and do the repairs; have a look at this snip below to see how to use diskpart to mark inactive.

Most times it won't succeed with more than one HDD marked as active and still connected.

click to enlarge
Inactive2.jpg
 

My Computer

Computer Manufacturer/Model Number
* BFK Customs *
OS
W 7 64-bit Ultimate
CPU
Intel Q9550 Yorkfield
Motherboard
ASUS P5Q Pro
Memory
8GB Dominator 8500C5D
Graphics Card(s)
ATI : XFX 5870
Sound Card
Realtek HD Audio 7-1
Monitor(s) Displays
1x 47" LCD HDMI & 3x 26" LCD HDMI
Screen Resolution
1920x1080P & 1920x1200
Hard Drives
1x 80GB Intel X25-M G2 SSD : 1x 500GB & 1x 640GB WD Caviar Black(s)
PSU
Corsair 620HX
Case
Cooler Master RC-690
Cooling
Tuniq Tower 120, 2x 140mm and 3x 120mm case fans
Keyboard
Microsoft 500
Mouse
Razer Diamondback 3G
Internet Speed
14 Mb/s
Other Info
1x Koutech 3Gb/s SATA HDD Hot Swap Rack
Back
Top