I searched the community forum and found the reply by Jessen P on AKIRA_Sh on were the only ones that worked! for the blue screen error 0xc0000034. My laptop does not have a dvd and windows was preinstalled.
- Create a windows recovery usb from the Microsoft website https://support.microsoft.com/en-au/help/15088/windows-create-installation-media
- Turn on your computer using whichever key works for your model. For my Toshiba it is F12
- Go to set up and find the option that tells the computer to boot first from the usb then HDD otherwise it won't know to boot from your usb
- Insert the usb with the windows boot files. You may need to restart the computer. Hold down F12 as it starts
- Hopefully the computer boots up from the usb and provides a couple of options. Your last option will be to reset the computer completely to factory settings and lose all files and software. Try Refresh or Repair options.
- If these don't work go to Advance Options and select Command prompt. Follow Jessen P (from Microsoft) instructions then Akira_Sh instructions included below.
Jessen P
Method 1: Booting to Recovery Environment with Windows 8 installation media (similar for Windows 10)
Insert the Windows 8 usb and restart your computer.
a) After you boot your computer using Windows usb, a black screen appears with gray text "Press any key to boot from usb".
b) Select the correct time and Keyboard type.
c) Click Repair your computer in the lower left corner.
d) Select Troubleshoot from Choose an option screen.
e) Click Advanced options in T****roubleshoot screen.
f) Click Automatic Repair from Advanced Options screen.
g) Next, choose the operating system by clicking on its button.
h) Windows 8 will look for problems on hard drive(s) and verify that all required files are intact.
Method 2: If automatic repair doesn’t repair the startup files, use these commands through Command Prompt under Advance Options (this worked for me)
a) After you boot your computer using Windows usb, a black screen appears with gray text "Press any key to boot from usb". Press any key.
b) Select the correct time and Keyboard type.
c) Click Repair your computer in the lower left corner.
d) Select Troubleshoot from Choose an option screen.
e) Click Advanced options in Troubleshoot screen.
f) Click on command Prompt.
g) Type the following commands and hit enter after each line of command:
Bootrec /fixmbr
Bootrec /fixboot
Bootrec /scanos
Bootrec /rebuildbcd
Add installation to boot list? Type Y
If you get the message that "the requested system device cannot be found" continue with the following from Akira_Sh. This means that you could not boot your UEFI system.
*Assuming that disk 0 is a booting device.
to execute disport program. At the command prompt type the following commands and hit enter after each line of command:
diskpart
DISKPART> list disk
DISKPART> select disk 0
DISKPART> list volume
find your system partition with fat32 file system. Assuming it is volume 2.
DISKPART> select volume 2
To assign drive letter.
If you want to remove drive letter, use remove command.
DISKPART> assign letter=B:
To terminate diskpart command.
DISKPART> exit
Now, you need to change the directory to B:\EFI\Microsoft\Boot, as windows stores BCD in this directory.
cd /d B:\EFI\Microsoft\Boot\
To write a new bootsector on your system partition.
bootrec /fixboot
To create BCD store. "/f ALL" is to update BIOS setting including UEFI firmware/NVRAM.
bcdboot c:\Windows /s b: /f ALL
Booting information on your PC has now been written over.
Reboot your computer and good luck!