-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Desktops
- Desktop Boot and Lockup
- computer stuck in a endless loop

Create an account on the HP Community to personalize your profile and ask a question
07-31-2018 12:45 AM
" The operating system did not shutdown cleanly.
Reconstructing Cache Metadata."
what should i do?
Solved! Go to Solution.
Accepted Solutions
08-01-2018 03:12 AM
Hi
Consider a re-install of the operatin system, after you run an F2 Diagnostic.
This First part only works when a valid Recovery Partition is enabled.
If it displays an error message then move onto the Second Part:-
OR if you have data you wish to try and save using the XCOPY command.
Then create your own Repair/Recovery/Rebuild/Re-install media or buy a set from HP.
Turn off the computer.
Disconnect all connected devices and cables, Media Drives, USB drives, printers, & faxes.
Remove media from internal drives, and remove any recently added internal hardware.
Do not disconnect the monitor, keyboard, mouse, or power cord.
Turn on the computer and repeatedly press the F11 key, about once every second,
until the Choose an option screen is displayed, and then continue.
On the Choose an Option screen, click Troubleshoot, and work your way through the screens.
Second Part:-
This may require another PC. Find and Download your .iso from…
(You will need a NON_OEM key for W7);
W8.x and W10 should activate automagically from their embedded licence key.
https://www.microsoft.com/en-us/software-download/windows7
https://www.microsoft.com/en-us/software-download/windows8
https://www.microsoft.com/en-us/software-download/windows10
For when it’s a NON MS OS ( iOS / Linux ) creating the install media.
www.microsoft.com/en-us/software-download/windows10ISO
A 3rd party site is (Courtesy of @CherylG)...
http://getintopc.com/softwares/operating-systems/windows-7-home-premium-free-download-iso-32-bit-64-...
Expand/Extract/Burn the iso Image onto a DVD/USB as needed.
Microsoft’s Creator Tool will make the required DVD or USB.
Even though it has NO actual HP software/drivers included, you may be able to
XCOPY the C:\Users\* area onto a ‘large’ USB stick, via the Command Prompt.
You’ll need to try various drive letters; D:..-..Z: until it’s matched - could be G; mine’s S:
C:\>XCOPY C:\Users\* S:\ /e /i /h (then files like those 3 listed below get copied over)
C:\Users\desktop.ini
C:\Users\All Users\agent.1509128044.bdinstall.bin
C:\Users\All Users\HP Deskjet 2540 series\Help\flash\zoom.swf
Then you can try System Recovery Options / Advanced Options shown in the screenshots.
NB:- W7 Try running a Startup Repair more than once for a full fix.
NB: - W10 Begin with the Automatic Repair, then Startup Settings etc.
From either the C:\ or the X:\ prompt try the following
cd boot
bootrec /FixMBR
bootrec /FixBoot
bootrec /RebuildBCD
If the above FAILS then please try:-
http://www.thewindowsclub.com/repair-master-boot-record-mbr-windows
http://www.thewindowsclub.com/install-windows-7-from-usb
http://www.thewindowsclub.com/install-windows-10-from-usb
07-31-2018 03:54 AM
1st Please try a Hard Reset
This is valid for most notebooks, and some desktops.
Press and Hold the PWR off button for 4 seconds to force a PWR off.
Unplug from the wall.
IF you see a battery compartment door, then your computer has a removable battery.
IF NOT then you do not have a removable battery.
Remove any removable battery.
Press and hold the power button for 15 seconds to complete the reset.
(Re-insert any battery you removed).
08-01-2018 03:12 AM
Hi
Consider a re-install of the operatin system, after you run an F2 Diagnostic.
This First part only works when a valid Recovery Partition is enabled.
If it displays an error message then move onto the Second Part:-
OR if you have data you wish to try and save using the XCOPY command.
Then create your own Repair/Recovery/Rebuild/Re-install media or buy a set from HP.
Turn off the computer.
Disconnect all connected devices and cables, Media Drives, USB drives, printers, & faxes.
Remove media from internal drives, and remove any recently added internal hardware.
Do not disconnect the monitor, keyboard, mouse, or power cord.
Turn on the computer and repeatedly press the F11 key, about once every second,
until the Choose an option screen is displayed, and then continue.
On the Choose an Option screen, click Troubleshoot, and work your way through the screens.
Second Part:-
This may require another PC. Find and Download your .iso from…
(You will need a NON_OEM key for W7);
W8.x and W10 should activate automagically from their embedded licence key.
https://www.microsoft.com/en-us/software-download/windows7
https://www.microsoft.com/en-us/software-download/windows8
https://www.microsoft.com/en-us/software-download/windows10
For when it’s a NON MS OS ( iOS / Linux ) creating the install media.
www.microsoft.com/en-us/software-download/windows10ISO
A 3rd party site is (Courtesy of @CherylG)...
http://getintopc.com/softwares/operating-systems/windows-7-home-premium-free-download-iso-32-bit-64-...
Expand/Extract/Burn the iso Image onto a DVD/USB as needed.
Microsoft’s Creator Tool will make the required DVD or USB.
Even though it has NO actual HP software/drivers included, you may be able to
XCOPY the C:\Users\* area onto a ‘large’ USB stick, via the Command Prompt.
You’ll need to try various drive letters; D:..-..Z: until it’s matched - could be G; mine’s S:
C:\>XCOPY C:\Users\* S:\ /e /i /h (then files like those 3 listed below get copied over)
C:\Users\desktop.ini
C:\Users\All Users\agent.1509128044.bdinstall.bin
C:\Users\All Users\HP Deskjet 2540 series\Help\flash\zoom.swf
Then you can try System Recovery Options / Advanced Options shown in the screenshots.
NB:- W7 Try running a Startup Repair more than once for a full fix.
NB: - W10 Begin with the Automatic Repair, then Startup Settings etc.
From either the C:\ or the X:\ prompt try the following
cd boot
bootrec /FixMBR
bootrec /FixBoot
bootrec /RebuildBCD
If the above FAILS then please try:-
http://www.thewindowsclub.com/repair-master-boot-record-mbr-windows
http://www.thewindowsclub.com/install-windows-7-from-usb
http://www.thewindowsclub.com/install-windows-10-from-usb
03-09-2019 09:14 AM - edited 03-09-2019 09:15 AM
Solution did not work for me. I tried all the options...reset, restore, safe mode, bootrec commands, disabling Intel rapid technology, etc. I had to reformat completely to remove the infinite boot loop. I had to create a bootable USB drive for windows 10 (google windows 10 home installation usb for the download). Have your windows product key on hand (if you need to get it off the computer, you have to hook up the hard drive to another PC and extract it with jellybean key finder)