Can't boot into Win 10

Joined
Aug 7, 2016
Messages
2
Reaction score
0
I have a dual boot that has been running fine with Win7 and Win10. I can boot into Win7.
I have tried booting up into a Win10 CD. It can't repair Win10.
I have tried running this bat file after booting up with the Win10 CD, choosing repair and going into a cmd window.

Code:
@echo off
Set drive=F:
wmic logicaldisk get deviceid, drivetype
setlocal
for /f "skip=1 tokens=1,2" %%i in ('wmic logicaldisk get caption^, drivetype') do (
  if [%%j]==[5]   Set  CDDrive=%%1
  )
Echo BOOTREC /SCANOS
BOOTREC /SCANOS
Echo BOOTREC /FIXMBR
BOOTREC /FIXMBR
Echo BOOTREC /FIXBOOT
BOOTREC /FIXBOOT
Echo COPY %CDDrive%\I386\NTLDR %drive%\
COPY %CDDrive%\I386\NTLDR %drive%\
Echo COPY %CDDrive%\I386\NTDETECT.COM %drive%\
COPY %CDDrive%\I386\NTDETECT.COM %drive%\
BOOTREC /REBUILDBCD
Echo bootsect /nt60 ALL %drive%\
    bootsect /nt60 ALL %drive%\
Echo     bootsect /nt60 %drive% /mbr
    bootsect /nt60 %drive% /mbr
:: List Os's Installed
bcdedit /enum
endlocal
@CMD > Null

What can I do to recover Win10 ?

Thank you,

Docfxit
 

Attachments

  • DocfxitLTDrives.jpg
    DocfxitLTDrives.jpg
    182.3 KB · Views: 472

bassfisher6522

Moderator
Joined
Sep 22, 2014
Messages
2,063
Reaction score
396
The first thing I notice is the "disk order" is not correct. Which may be some/part/all of your problem.

For your issue, you can use some 3rd party partitioning software to correct the order.....
http://www.techsupportalert.com/best-free-partition-management-software.htm


Dual booting is ok....but using a VM is much better. Windows 8/10 can do that with Hyper-V.....it has to be enabled first. The problem with dual booting on a single disk, is the MBR (Master Boot Record) is located on one partition for both OS's. Which in itself is a problem....if the MBR becomes corrupted then neither OS will boot from.

What most of us enthusiast like to do is multi-boot.....it's dual booting (essentially) but using independent HDDs for each OS. This way the MBR for each OS is on it's own HDD. To access the OS you want...at boot up (post beep) you invoke the boot order menu by pressing the F12 key. This will bring up the boot order with out having to access the BIOS. The "KEY" to this type of booting is to remove the all other HDD's in the system when adding another OS. Once the OS is installed, shut down, re-install other HDDs and your good to go. Remember; your C drive is your default drive and that will always boot first.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top