Windows 10: DISM - Repair Windows 10 Image
If you use DISM to export the install.wim file from your 10586 ISO to a new install.wim (using /compress:max to convert it to a usable compression) the wim file you create could then be used as a source for repair.
But your problem booting (if you still haven't fixed it after a week) sounds like something different. If you want to see if Windows will boot, you can create a bootable USB stick with a temporary BCD on it which points to your Windows folder on the hard disk. This lets you see if the issue is your System partition (because you have created a substitute System partition on the USB stick).
If you boot the PC with a Windows 10 install USB or DVD, use SHIFT-F10 to get a Command Prompt from the first screen that comes up. Run Diskpart and then list volume to figure out what letter your Windows partition currently has (it can change in this mode). Also note the letter for the USB stick and replace it with a small stick that you can format.
You can format the USB as FAT32. You have to mark the USB Active with Diskpart if you have a Legacy BIOS, but not if you have UEFI.
If you then exit Diskpart, you can create the BCD on the USB stick. If your \Windows partition is on D: and the USB is F: use these commands (replace C: and F: below with whatever letters you found in Diskpart):
bootsect /nt60 F: /force /mbr ← prepares the USB stick in F: to be bootable
bcdboot C:\Windows /s F: ← creates the BCD on F:, but points it to boot your Windows on the hard disk
bootsect /help explains the options used.
bcdboot /? explains options used.
Now boot your PC from this USB stick. If this USB gets Windows to run from your hard disk, it shows that you just need to fix your hard disk System partition.
That sounds like a useful approach, Don. I don't do repairs frequently enough that I can recall all the shorthand for programs I've come across. Please remind me what BCD is or means; and although your description might be enough for some to understand what to do, could you cite a good web page that will give more complete instructions for the use of BCDboot and how it would apply here?
BCD is the Boot Configuration Database. Since Windows Vista, this has replaced the previous Windows NT boot method which used boot.ini and NTLDR. If you run bcdedit /enum ALL it will show you a lot of the detail contained in the BCD. It is used in both Legacy and UEFI BIOS mode systems. Here is a link to some general info: https://msdn.microsoft.com/en-us/lib...(v=vs.85).aspx
BCDBoot automates building a BCD from scratch. So I was suggesting that you can create a USB that will boot the computer, but still point to the Windows on the hard disk and boot Windows there. If it works and Windows fires up properly, then you just need to repair the System partition on the hard disk, where the BCD is. The BCD is a single file on the system partition: \Boot\BCD.
Ok, thanks, now I think I understand. And I will check out those links. I thought you were talking about an outside program, not a MS one that is part of Windows. I think you're saying that once you've made a BCDBoot disk, this will allow you to determine quickly if the problem is with the booting process or with something else in the Windows directory, or on that partition. Correct?
Question then: Can this disk or USB stick be used for any computer with the same edition of Windows installed (say Win 10 x64), so long as they are all set up on the same partition on each computer (C: for example) and use the same directory structure; or does a USB or CD need to be made for each individual computer, even if it's basically the same system?
Thanks for your detailed assistance. Well it was a complicated issue, I did already try and create a new WIM file but still didn't have luck. But basically windows did boot up but just started flickering continuously on the login screen. I was able to use a redirect method that when I activate the keyboard assistant to launch the CMD and then kept playing around with stuff until eventually I could login and do a repair install.
the boot method you describe is pretty handy though so I'll keep that in my bookmarks.
bishaway, as I have this/similar situation often after test restoring my windows 10 backups, could you please give a bit more information on how you managed to finally get logged in enough to get to the repair install.
Brilliant write up!! I will stash this away in my toolbox for future use.
At the moment, I am experiencing SFC failure and the command in steps 4-7 fail about 50% through or sooner with "Error 5 Access is Denied" in both CMD and PS. Any thoughts?
Hello Nightspear, and welcome to Ten Forums.
Are you running in an elevated command prompt?
Yes I am using an elevated command prompt. I also have tried PS using Admin privileges. They both fail anywhere from 49% to 51% through the /scanhealth(50.4%) and the /restorehealth (49.9%) options. Both fail with "error 5 access denied."
In that case, you might see if running it in the built-in Administrator account may work better.
If not, then you could do a repair install to fix them without losing anything.
Repair Install Windows 10 with an In-place Upgrade
Windows 10 user. Having some trouble with my system after coming back from a weekend. Nothing major...just having trouble playing some games that require plugins etc
Regardless if it's related, I just wanted to run an SFC/Scannow or...
I've managed to resolve most of my problems with build 10041 by making SFC work. I've opened a thread on Windows Insider's forums explaining how to do it. Check it out:...
I've just upgraded Windows 7 64-bit HP OEM to Windows 10 Technical preview 64-bit. Extracted the install while booted within 7, install went smoothly, opted to keep all my files, and once the install was finished it went to boot Windows 10. It hung...
I installed the 32 bit version of W10 on an old Acer laptop to get back up to speed with developments, and one of the first questions or issues that cropped up is when using W10's disk image utility to make a system image. I deliberately wished to...
I'm currently running the 10 TP in a virtual machine. I see that the various boot and repair options can be accessed by <shift> Restart from the desktop, however F8 during boot doesn't appear to work. Can someone who is actually running this on...