none
Windows Server 2012 not booting after windows updates RRS feed

  • Question

  • I recently did some windows update on my server 2012 r2. I am now stuck on an infinite loop. Windows keep crashing "Windows encountered a problem." [Blue-Screen]. How do I get my windows back, I suspect some bad (Faulty updates). How do I install. I cannot even load windows on safe mode to uninstall those annoying security updates I suspect.

    Thanky ou people.

    Friday, May 17, 2019 7:29 PM

All replies

  • From the System Recovery Command Prompt run the following command:

    Online method

    1. dism /online /get-packages
    2. This will produce a list of installed updates and packages. They will look similar to below;
      Package Identity : Package_for_KB4338853~31bf3856ad364e35~amd64~~17134.136.1.2
      State : Installed
      Release Type : Update
      Install Time : 7/6/2018 4:52 PM
      Find the most recent one or the ones you just installed and then make a note of the package identity.
      Then run the following command:
    3. dism /online /remove-package /Package_for_KB4338853~31bf3856ad364e35~amd64~~17134.136.1.2

    Offline method

    1. DISM /image:D:\ /get-packages
    2. DISM /image:d:\ /Remove-Package /PackageName:Package_for_KB982664~31bf3856ad364e35~amd64~~6.1.1.0 (example)

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Friday, May 17, 2019 9:58 PM
  • Find a camera or smartphone camera to take pictures and post images into the thread using share links (one drive, drop box, or google drive)

    Using the advanced windows recovery on an iso:

    1) see if you can perform a startup repair and if it fails post a srttrail.txt

    2) see if you can perform a system restore (start with the oldest restore point and keep repeating as necessary to the most recent restore point

    3) run the revertpendingactions command and reboot

    DISM /image:X:\ /cleanup-image /revertpendingactions
    (replace X with the drive letter for the partition)

    (the partition drive letter may change from C to D when using windows recovery)

    4) run Dism /Image:D:\ /Get-Packages
    Find the package(s) that were just installed by date.

    Run the following command on the last installed package:
    example: dism.exe /image:d:\ /remove-package /packagename:Package_for_KB4014329~31bf3856ad364e35~amd64~~10.0.1.0
    Reboot.

    Step 4 can be repeated to uninstall multiple updates

    .
    .
    .
    .
    .

    Please remember to vote and to mark the replies as answers if they help.
    .
    .
    .
    .
    .

    Friday, May 17, 2019 10:27 PM
  • Hello Dave,

    Thank you for your response, however, I am getting errors while running the commands to remove package. [Error: 0X800f082f DISM failed. No operation was performed.

    Saturday, May 18, 2019 11:55 AM
  • Hello there,

    Thank you for your response, however, I am getting errors while running the commands to revertpendingactions . [Error: 0X800f082f DISM failed. No operation was performed

    Saturday, May 18, 2019 11:59 AM
  • Sounds like you may be out of luck on this one.

    https://social.technet.microsoft.com/Forums/ie/en-US/48d20da9-0535-462f-b177-f30f48992203/how-to-removing-a-pending-update-that-is-preventing-a-successful-boot?forum=w7itprogeneral

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Saturday, May 18, 2019 1:59 PM
  • Thanks Dave. 

    I have tried running the revertpendingactions but it fails due to scratchdir size. Might you have a workaround?

    Saturday, May 18, 2019 3:55 PM
  • You may be out of luck. You can also start a case here with product support. If the outcome is that the update caused problem then I'd think the support case would be free.

    https://support.microsoft.com/en-us/hub/4343728/support-for-business

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Saturday, May 18, 2019 4:10 PM
  • What are the status of the files on the drive?

    Would a reset save files or reset save files equivalent be a viable fix?

    These would require the re-installation of drivers and applications.

    Important files can also be saved by copy and paste but this typically takes a longer time period.

    What was the BSOD bugcheck code or name?

    Had you checked the status of the drive or drive file system?


    Saturday, May 18, 2019 6:16 PM
  • The files seem to be fine.

    Reset not doing anything.

    Below is the error I have been fighting the whole day today. It has been caused by Windows update that are pending. Upon trying to revert pending acting. I am getting the error about scratch directory having insufficient memory. Microsoft support charging to support for this, and the error is caused by their upxdates? Let me know whether you can help on this.

    "YOUR PC RAN INTO A PROBLEM AND NEEDS A RESTART. WE'RE JUST COLLECTING SOME ERRO INFO, THEN WE'LL RESTART FOR YOU. (0% COMPLETE)

    INNACCESSIBLE_BOOT_DEVICE

    Regards,

    Emmanuel


    • Edited by Wamukumbi Saturday, May 18, 2019 7:02 PM Adding information
    Saturday, May 18, 2019 6:59 PM
  • Microsoft support charging to support for this, and the error is caused by their updates?
    Saturday, May 18, 2019 7:00 PM
  • 0x7B is generally caused by faulty disk controller or driver issues. Might also try last known good.

    https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/bug-check-0x7b--inaccessible-boot-device

    If it were determined the cause was the update then there likley would not be a charge.

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Saturday, May 18, 2019 7:08 PM
  • Hi Dave,

    I have performed sfc /scannow, chkdsk /r, fixmbr, fixboot, rebuildBCD, but still not moving. Disk mounted properly. However, while checking on get-packages, I am getting some updates for 15-05-2019 pending install. And several others stated as staged. Upon trying to RevertPendingActions. I am getting the error (Scratch directory does not have enough memory. and later after reboot, am getting the error below.

    "YOUR PC RAN INTO A PROBLEM AND NEEDS A RESTART. WE'RE JUST COLLECTING SOME ERRO INFO, THEN WE'LL RESTART FOR YOU. (0% COMPLETE)

    INNACCESSIBLE_BOOT_DEVICE

    On the same server I have another instance of earlier version of windows 2008r2, it is loading until boot but having .dll errors. I assure you, this happened when the updates installed on the 15th May could not apply. Otherwise the server was doing fine. Have there been these issues with updates?

    Saturday, May 18, 2019 7:40 PM
  • Any know issues with 2012 R2 updates would be listed here.

    https://support.microsoft.com/en-us/help/4009470/windows-8-1-windows-server-2012-r2-update-history

    Since you mentioned dual booting I'd also check here and with manufacturer to confirm support for 2012 R2

    https://www.windowsservercatalog.com/

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Saturday, May 18, 2019 7:52 PM
  • Please post share links for commands and results:

    Windows RE command prompt or Administrator: X:\windows\system32\cmd.exe and prompt:  X:\Sources>

    1) bcdedit /enum

    2) bcdedit | find "osdevice"

    3) diskpart

    4) lis dis

    5) lis vol

    6) sel dis 0

    7) det dis

    8) lis par

    9) sel par 1

    10) det par

    11) sel par 2

    12) det par

    13) sel par 3

    14) det par

    15) sel par 4

    16) det par 

    17) sel par 5

    18) det par

    19) sel dis 1

    20) det dis

    21) lis par

    22) sel par 1

    22) det par

    Saturday, May 18, 2019 8:09 PM
  • In regards to the previous win server 2008r2 was as a result of upgrading to the server 2012r2 that has developed problem after these updates.
    Saturday, May 18, 2019 8:12 PM
  • Regardless I'd still check with server manufacturer about compatibility and latest ROM bios, firmware, chipset and driver support pack. Also ask in server manufacturer forums about the disk controller issues that you're experiencing.

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Saturday, May 18, 2019 8:26 PM
  • Hello Patrick,

    I will share these in the morning. I have just left the server room now. However before leaving I had already checked that my osdevice is D:. Have you encountered these errors after windows updates? Do they ever get resolved? I tried uploading the error jpeg file on this platform but it fails to uploaid. Th error reads as below;

    "YOUR PC RAN INTO A PROBLEM AND NEEDS A RESTART. WE'RE JUST COLLECTING SOME ERRO INFO, THEN WE'LL RESTART FOR YOU. (0% COMPLETE)

    INNACCESSIBLE_BOOT_DEVICE


    • Edited by Wamukumbi Saturday, May 18, 2019 8:37 PM Adding info
    Saturday, May 18, 2019 8:27 PM
  • 0x7B is generally caused by faulty disk controller or driver issues, unlikely its related to windows update.

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Saturday, May 18, 2019 8:30 PM
  • I do not doubt you, however, why would these errors appear just after the updates? And still fail in revertpending actions?
    Saturday, May 18, 2019 8:38 PM
  • Can't say for sure but rather than troubleshoot a suspected "windows update" issue. I'd troubleshoot the 0x7B itself.

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Saturday, May 18, 2019 8:41 PM
  • There are steps to fix inaccessible boot device.

    When available please post share links for the commands and results.

    Saturday, May 18, 2019 8:47 PM
  • Thank you. And does pending install updates affect (hinder) windows boot? What about staged packages? There are several of these, and always failing to revert. I will also check out the error 0X7B. But at these stage if it is issues with drivers, there is no way to install without getting windows to boot, or is there a way?
    Saturday, May 18, 2019 8:52 PM
  •  I will also check out the error 0X7B. But at these stage if it is issues with drivers, there is no way to install without getting windows to boot, or is there a way?

    I'd contact the server manufacturer about this or ask for help in their forums.

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Saturday, May 18, 2019 8:55 PM
  • Please create a bootable windows iso.

    Then use the windows advanced troubleshooting menu to open command prompt.

    When available please post the commands and results from the prior post.


    Saturday, May 18, 2019 9:00 PM
  • Thanks. Will check error again in the morning. 
    Saturday, May 18, 2019 9:07 PM
  • Thank you. Will post the commands and result in the morning. It's already 12:06 Am here now. 
    Saturday, May 18, 2019 9:09 PM
  • The inaccessible boot device may be able to be fixed now (when support is available)
    Saturday, May 18, 2019 9:11 PM
  • Hello again, I am glad this error can be fixed. I will share the screenshot in the morning as I have already left the server room. I had not recorded the error logs other than what I a recalling from memory. I will share the commands and logs later. Thank you 
    Saturday, May 18, 2019 9:40 PM
  • After posting the above results additional diagnostic steps need to be done.

    There is no guarantee fix.

    If available post:

    srttrail.txt

    whether restore points were unavailable or failed

    whether you are willing to perform a reset save files or equivalent

    the result of scanow (this may need to be repeated)

    the chkdsk switch that was ran and result (this may need to be repeated)

    the result for each fixmbr, fixboot, and rebuildbcd (these may need to be repeated)


    Saturday, May 18, 2019 9:54 PM
  • Hello, 

    I am trying to upload the images but I am getting an error that this page does not allow images or links

    Sunday, May 19, 2019 11:05 AM
  • https://social.technet.microsoft.com/Forums/getfile/1440648

    https://social.technet.microsoft.com/Forums/getfile/1440649

    https://social.technet.microsoft.com/Forums/getfile/1440650

    https://social.technet.microsoft.com/Forums/getfile/1440651

    https://social.technet.microsoft.com/Forums/getfile/1440652

    Sunday, May 19, 2019 11:08 AM
  • I do not think My disk controller have issues. Actually I am able to even browse the server folders on repair. I can open regedit.exe and checkout issues. And as I had earlier mentioned I have pending updates package_for_B4495585. After reboot, the windows logo appears and those rotating balls but later crashing and lands on systems repairs option. I cannot remove them with DISM, getting the error I mentioned earlier (error 0X800f082f). Is there really a workaround on this error. 
    Sunday, May 19, 2019 1:16 PM
  • I do not think My disk controller have issues. 

    0x7b This bug check indicates that the Microsoft Windows operating system has lost access to the system partition during startup.

    https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/bug-check-0x7b--inaccessible-boot-device

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Sunday, May 19, 2019 1:24 PM
  • Hello Dave, I am not getting error 0X7b anywhere. As mentioned above, please refer to he images links I uploaded. I am getting the error while trying to run revertpending actions. 
    Sunday, May 19, 2019 1:55 PM
  • Hello Dave, I am not getting error 0X7b anywhere. 

    INNACCESSIBLE_BOOT_DEVICE == 0x7b

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Sunday, May 19, 2019 1:57 PM
  • Thanks, non of the issue I see on the link you sent have occurred e.g. No change of Hardware, or addition etc. How do I get Microsoft for advanced troubleshooting of this error. As I had mentioned in the beginning, this occurred after updates couldn't apply.

    Regards

    Sunday, May 19, 2019 2:14 PM
  • How do I get Microsoft for advanced troubleshooting of this error. 

    You can start a csae here with product support.

    https://support.microsoft.com/en-us/hub/4343728/support-for-business

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Sunday, May 19, 2019 2:17 PM
  • As usual, they are charging for problems cause by their updates. So Microsoft I guess
    Sunday, May 19, 2019 2:32 PM
  • As usual, they are charging for problems cause by their updates. So Microsoft I guess

    and once again; if the outcome of case is determined an update is the cause then there generally would be no charge.

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Sunday, May 19, 2019 2:41 PM
  • I understand Dave, however, you cannot even log a case with them, you cannot proceed without having a payment plan. Or is there any other portal to raise the case at?
    Sunday, May 19, 2019 3:26 PM
  • I understand Dave, however, you cannot even log a case with them, you cannot proceed without having a payment plan. Or is there any other portal to raise the case at?

    That's correct. That is how it works. If the server is still under warranty I'd start a support case with manufacturer support.

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Sunday, May 19, 2019 4:54 PM
  • The server is about 6 years old, not under warranty for sure. But the windows I installed, actually upgraded from Server 2008 r2 to 2012 r2 is newer. I can confirm to you that the server has no issues at all. I know if I install windows, it will work, but I have a lot of information and programs on the said server. 

    I have actually been browsing files and folders from repair. I do not think this would happen if the disk had issue. This windows updates messed it all up.

    Sunday, May 19, 2019 5:02 PM
  • https://social.technet.microsoft.com/Forums/getfile/1440648 > 52 displayed Page Not Found

    Share links may be posted by creating spaces in a link making it no longer a usable link. 


    Sunday, May 19, 2019 5:48 PM
  • I have actually been browsing files and folders from repair. I do not think this would happen if the disk had issue.

    INNACCESSIBLE_BOOT_DEVICE == 0x7b does not point to disk problems, it simply means windows operating system has lost access to the system partition during startup. Could be controller or controller driver related. Regardless if you're confident the update caused the issue then you can call in the support case. Otherwise save off the files you need and rebuild it, and move on.

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.


    Sunday, May 19, 2019 6:25 PM
  • When are you planning to troubleshoot?
    Sunday, May 19, 2019 7:35 PM
  • Hello, good evening? Have you seen the images I sent?
    Sunday, May 19, 2019 7:41 PM
  • This was the earlier post:

    https://social.technet.microsoft.com/Forums/getfile/1440648 > 52 displayed Page Not Found

    Share links may be posted by creating spaces in a link making it no longer a usable link. 

    Sunday, May 19, 2019 7:52 PM
  • Please let me know whether you can see the image on this link. Still say the site say, body text does not allow images or links. Why
    Sunday, May 19, 2019 7:57 PM
  • Still say the site say, body text does not allow images or links. Why
    Your account just needs to be verified. You can expedite verification by replying to this thread with your request.

    https://social.msdn.microsoft.com/Forums/en-US/dc4002e4-e3de-4b1e-9a97-3702387886cc/verify-account-42?forum=reportabug

    Sticky located at top of Forums Issues (not product support) forum

    https://social.msdn.microsoft.com/Forums/en-US/home?forum=reportabug 

     

     




    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Sunday, May 19, 2019 7:59 PM
  • Thank you. I am Waiting for account to be verified, then I can upload images.
    Sunday, May 19, 2019 8:30 PM
  • See if you can post links skipping 5 spaces somewhere in the link.
    Sunday, May 19, 2019 8:33 PM
  • Still say site does not allow images within text body. Frustrating!. I wonder when my account will get verified, so that I can upload the images based on your question yesterday. I managed to capture what you had request and took images for the same. 
    Sunday, May 19, 2019 8:44 PM
  • I wonder when my account will get verified, 

    Verifications are done twice a week.

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Sunday, May 19, 2019 8:47 PM
  • Thanks, I hope I will have to wait for my verification in order to post the images. 
    Sunday, May 19, 2019 8:53 PM
  • Other new OP had posted share links skipping spaces.
    Sunday, May 19, 2019 9:20 PM
  • It has totally refused me to upload my images without verification of my account. I guess I have to wait for the veriication in order for me to share my images, Thanks
    Sunday, May 19, 2019 9:34 PM
  • It has totally refused me to upload my images without verification of my account. I guess I have to wait for the veriication in order for me to share my images, Thanks

    The better option is to put whatever up on OneDrive and share the text of link in reply. You're only blocked from live images and live links.

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.


    Sunday, May 19, 2019 9:39 PM
  • Good Morning,

    Please let me know whether you can view the images on the link here.

    https://1drv.ms/f/s!AtphMdJFCm3MgQtT0BCQb0kLw3ct

    Monday, May 20, 2019 7:03 AM
  • Hello There, Please let me know whether you saw the One drive link I shared. I haven't yet resolved the issue with my server. Today I ran device test on the server and all seems to be alright. Please let me know if you can offer more assistance. On the issue |INACCESSIBLE_BOOT_DEVICE|
    Monday, May 20, 2019 6:45 PM
  • 1) Please post images of the commands and results using share links:

    2) d:

    3) dir

    4) cd \windows\system32\config

    5) dir

    6) See if you can open D:\Windows\WinSxS and look for pending.xml > report whether it is or is not present

    7) sfc /scannow /offbootdir=C:\ /offwindir=D:\Windows

    8) chkdsk /r /v D:

    9) bootrec /fixmbr
    10) bootrec /fixboot
    11) bootrec /scanos
    12) bootrec /rebuildbcd






    Tuesday, May 21, 2019 5:28 AM
  • Hello,

    I hope you are fine. Please find the images for the directory you requested.

    https://1drv.ms/f/s!AtphMdJFCm3MgRMI5VmqQmOkqR-4

    YES: WinSXS folder is present and contents inside it. For Pending.xml, I have found the file name as Pending.xml.bad

    sfc /scannow /offbootdir = C:\ /offwindir=D:\Windows = Reported "did not find any integrity violation".

    chkdsk /r /v D: = Says, all opened handles to this volume would then be invalid??? I clicked no.

    bootrec /scanos = Total identified windows installations: 0??

    bootrec /rebuildbcdTotal identified windows installations: 0??

    Waiting for your response.Thank you

    Tuesday, May 21, 2019 3:11 PM
  • 1) Please post images of commands and results into the thread.  (These images are needed for additional troubleshooting steps, especially the dir commands)

    2) d:

    3) dir

    4) cd \windows\system32\config

    5) dir

    6) Had you changed pending.xml to pending.xml.bad?

    7) when back to D:

    8) bcdedit /export d:\bcdbackup

    9) attrib d:\boot\bcd -h -r -s

    10) ren d:\boot\bcd bcd.old

    11) bootrec /rebuildbcd

    https://www.lifewire.com/how-to-rebuild-the-bcd-in-windows-2624508


    Tuesday, May 21, 2019 5:04 PM
  • Hello, 

    I still do not have permission to insert images on this text area. I have share a link here below for the images. 

    https://1drv.ms/f/s!AtphMdJFCm3MgRMI5VmqQmOkqR-4

    I did not change pending .xml to bad, I had changed it to old earlier when I could execute DISM commands.

    Let me know whether you can find the images, as I run the commands you have just provided.

    Tuesday, May 21, 2019 5:36 PM
  • attrib d:\boot\bcd -h -r -s = Results to Path not found - D:\boot

    bootrec /rebuildbcdTotal identified windows installations: 0??

    Is there anything i am doing wrong?

    Tuesday, May 21, 2019 5:49 PM
  • For chkdsk: 

    See 3b in this link:

    https://www.wintips.org/diagnose-repair-file-system-errors-with-chkdsk/

    C:\WINDOWS\system32>chkdsk /r /v
    The type of the file system is NTFS.
    Cannot lock current drive.

    Chkdsk cannot run because the volume is in use by another
    process.  Would you like to schedule this volume to be
    checked the next time the system restarts? (Y/N)

    Type:  Y

    reboot

    This typically displays ETA

    The ETA depends on the size of the drive, problems found, and free space

    .

    .

    After chkdsk perform regback:

    1) D:
    2) dir
    3) cd \windows\system32\config
    4) dir
    5) MD backup

    (Copy all of the files into this new directory.)

    6) copy *.* backup

    (It should now display: bbi, bcd-template, components, default, drivers, elam, sam, security, software, system, vsmidk indicating the files were copied.
    Change the directory to regback)

    7) cd regback 

    (It should now display: d:\windows\system32\config\regback>)

    8) dir

    9) copy *.* ..

    (It should now display: 
    DEFAULT
    Overwrite ..\default? (yes/no/all):)

    10) type: a

    (It should now display: sam, security, software, system and that the files were copied.)

    11) exit

    12) click turn off your PC

    Remove the USB flash drive if you had changed your boot order. 
    Otherwise you can leave it and power on your computer.

    https://www.youtube.com/watch?v=AFKHWUS9g8g

    https://pureinfotech.com/restore-registry-backup-windows-10/

    Tuesday, May 21, 2019 6:32 PM
  • Thank you for this steps. I need to run them. I will inform you once successful or otherwise. Thank you once more.
    Tuesday, May 21, 2019 7:22 PM
  • For chkdsk: 

    See 3b in this link:

    https://www.wintips.org/diagnose-repair-file-system-errors-with-chkdsk/

    C:\WINDOWS\system32>chkdsk /r /v
    The type of the file system is NTFS.
    Cannot lock current drive.

    Chkdsk cannot run because the volume is in use by another
    process.  Would you like to schedule this volume to be
    checked the next time the system restarts? (Y/N)

    Type:  Y

    reboot

    This typically displays ETA

    The ETA depends on the size of the drive, problems found, and free space

    .

    .

    After chkdsk perform regback:

    1) D:
    2) dir
    3) cd \windows\system32\config
    4) dir
    5) MD backup

    (Copy all of the files into this new directory.)

    6) copy *.* backup

    (It should now display: bbi, bcd-template, components, default, drivers, elam, sam, security, software, system, vsmidk indicating the files were copied.
    Change the directory to regback)

    7) cd regback 

    (It should now display: d:\windows\system32\config\regback>)

    8) dir

    9) copy *.* ..

    (It should now display: 
    DEFAULT
    Overwrite ..\default? (yes/no/all):)

    10) type: a

    (It should now display: sam, security, software, system and that the files were copied.)

    11) exit

    12) click turn off your PC

    Remove the USB flash drive if you had changed your boot order. 
    Otherwise you can leave it and power on your computer.

    https://www.youtube.com/watch?v=AFKHWUS9g8g

    https://pureinfotech.com/restore-registry-backup-windows-10/

    Thank you for your assistance. I am sorry for late response. I have ran a lot of troubleshooting together with Microsoft Technician, remotely through webcam and call for about 4 hours. We tried all we could on this issue to no avail. I have began to despair. They informed me it is beyond repair and recovery. Someone might have changed registry key values. Which makes it recoverable. Also the regback files couldn't work. I was adviced to take a manual backup of my files and reinstall OS. I highly suspected windows updates, but we reverted the pending updates. 

    If there is anything else to help, I will appreciate.

    I really appreciate all the help. Thank you people. 

    Cheers.

    Wednesday, May 22, 2019 7:59 PM
  • Please post:

    a) a share link for results chkdsk /r /v 

    b) a share link for images of the regback commands and results

    Which steps were made with Microsoft support?

    Would a reset save files or equivalent be a viable fix?

    This saves files and requires the installation of drivers and applications.


    Wednesday, May 22, 2019 8:06 PM
  • Hello The commands for Regback we ran were as below;

    11:36 AM Wasim: run this on command prompt "cd d:\Windows\System32\config"
    11:38 AM Wasim: run this "Ren DEFAULT DEFAULT.OLD"
    11:39 AM Wasim: run this "Ren SAM Sam.old"
    11:39 AM Wasim: Ren SECURITY SECURITY.OLD
    11:40 AM Wasim: Ren SOFTWARE SOFTWARE.OLD
    11:40 AM Wasim: Ren SYSTEM SYSTE.OLD
    11:40 AM Wasim: xcopy C:\Windows\System32\config\RegBack
    11:41 AM Wasim: run these command as it is
    11:41 AM Wasim: last command xcopy d:\Windows\System32\config\RegBack
    11:41 AM Wasim: don't run this 2:13 PM Wasim: xcopy C:\Windows\System32\config\RegBack
    11:42 AM Wasim: run this one 2:14 PM Wasim: last command xcopy d:\Windows\System32\config\RegBack
    11:43 AM Wasim: d:
    11:43 AM Emmanuel: Okay 5 files copied
    11:44 AM Wasim: reboot the machine now
    11:45 AM Emmanuel: Okay. Please wait. Rebooting server now
    11:45 AM Wasim: okay
    11:48 AM Wasim: start windows normally
    11:49 AM Wasim: again the same error?
    11:49 AM Emmanuel: Failed to boot properly

    This actually led to loss of admin accounts. I had to reverse it later to get administrators accounts.

    When running chkdsk /r /v: It reports |ALL OPENED HANDLES IN THIS VOLUME WILL BECOME INVALID |. I hit N.

    Reset is not available on recovery.

    Thursday, May 23, 2019 4:22 PM
  • Would a reset save files equivalent be a viable fix?

    (Save files and reinstall drivers and applications)

    If not, the next option is to backup files and clean install.

    Thursday, May 23, 2019 5:30 PM
  • Thank you all for your assistance. MUCH Appreciated. I did all you had advised and directed, I also had Microsoft Engineers help remotely over Webcam (over 5 hours), unfortunately the registry and the system was messed beyond restore and all manner of repairs. I have had to REBILD the system. My Advice to everyone. Please keep regular backups for your critical systems, have somewhere you can fall back to. I spent 5 days working over 18 hours a day trying to save these system. Luckily, I was able to fetch all necessary files off the server though recovery mode, copied the files on external HDD.

    Cheers people. BACKUP.....  BACKUP...….  BACKUPS...…. is all I can tell IT Sys Admins.

    Tuesday, May 28, 2019 9:46 PM
  • You are welcome, current behavior is reasonable, glad to hear that you made it.

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Monday, June 10, 2019 1:33 AM