Author Topic: Unable to update, repair, refresh or restore windows 8.1  (Read 30094 times)

0 Members and 1 Guest are viewing this topic.

Offline ddmoore66

  • Newbie
  • *
  • Join Date: Feb 2014
  • Posts: 20
  • Karma: 0
    • View Profile
Unable to update, repair, refresh or restore windows 8.1
« on: February 03, 2014, 05:34:00 PM »
I think, but I m not positive, that during a windows update session a couple of weeks ago we lost power. Now it seems that all of my restore points have been deleted, my windows 8.1 and 8.0 repair, refresh or restore options don't work (I get a message that says - The Drive containing the Windows system is locked, Unlock the drive and try again). I have tried everything short of Format and reinstall....
I have run several apps (including yours) trying to figure this out. I have all of the logs but I don't know which of them would be relevant to you. I also ran "List Volume" in "DiskPart" - It shows the OS on "C" drive as the boot and Recovery as the System. Is that normal?

Thank in advance Shane!

David Moore

Offline ddmoore66

  • Newbie
  • *
  • Join Date: Feb 2014
  • Posts: 20
  • Karma: 0
    • View Profile
Re: Unable to update, repair, refresh or restore windows 8.1
« Reply #1 on: February 04, 2014, 10:02:09 AM »
A little additional info...

SFCFix version 2.1.0.0 by niemiro.
Start time: 2014-02-04 17:56:45.773
Not using a script file.




AutoAnalysis::
CORRUPT: C:\windows\winsxs\amd64_prncacla.inf_31bf3856ad364e35_6.3.9600.16384_none_9590ba64d5b91f79\Amd64\CNBJ2530.DPB


SUMMARY: Some corruptions could not be fixed automatically. Seek advice from helper or sysnative.com.
   CBS & SFC total detected corruption count:     2
   CBS & SFC total unimportant corruption count:  0
   CBS & SFC total fixed corruption count:        0
   SURT total detected corruption count:          0
   SURT total unimportant corruption count:       0
   SURT total fixed corruption count:             0
AutoAnalysis:: directive completed successfully.




Successfully processed all directives.
SFCFix version 2.1.0.0 by niemiro has completed.
Currently storing 1 datablocks.
Finish time: 2014-02-04 18:00:39.023
----------------------EOF-----------------------

Offline Shane

  • Lead Developer - Coder
  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9279
  • Location: USA
  • Karma: 138
  • "Knowledge should be shared not hidden."
    • View Profile
    • Tweaking.com
Re: Unable to update, repair, refresh or restore windows 8.1
« Reply #2 on: February 04, 2014, 06:34:12 PM »
What repairs did you run in my program, all of them by chance?

Shane

Offline ddmoore66

  • Newbie
  • *
  • Join Date: Feb 2014
  • Posts: 20
  • Karma: 0
    • View Profile
Re: Unable to update, repair, refresh or restore windows 8.1
« Reply #3 on: February 04, 2014, 08:30:24 PM »
Yes sir...
I checked all of the boxes before running it.

Offline Tomas_Sweden

  • Sr. Member
  • ****
  • Join Date: Oct 2011
  • Posts: 260
  • Location: Falk√∂ping
  • Karma: 7
    • View Profile
Dell Laptop XPS L501X Intel i5-560M(2.66GHz), Win 7 Home Prem(SP1) 64 Bit, 4 GB RAM. Samsung SSD 850 PRO 256 GB.

Offline ddmoore66

  • Newbie
  • *
  • Join Date: Feb 2014
  • Posts: 20
  • Karma: 0
    • View Profile
Re: Unable to update, repair, refresh or restore windows 8.1
« Reply #5 on: February 05, 2014, 09:12:37 AM »
Tomas,

Yes, I have seen that sysnative page and tried the sfc fix as well

Offline Shane

  • Lead Developer - Coder
  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9279
  • Location: USA
  • Karma: 138
  • "Knowledge should be shared not hidden."
    • View Profile
    • Tweaking.com
Re: Unable to update, repair, refresh or restore windows 8.1
« Reply #6 on: February 05, 2014, 09:45:09 AM »
As I was making the new repairs for Windows 8 I found that 8.1 had even more commands added to it, to help and try to fix a broken Windows. Lets try some of those :-)

Right now the Repair Windows 8 Component store (Winsxs) does this

Dism /Online /Cleanup-Image /StartComponentCleanup
Dism /Online /Cleanup-Image /RestoreHealth

These commands work in both 8 and 8.1. But in 8.1 we can do a little more. Such as the reset base command

http://technet.microsoft.com/en-us/library/dn251565.aspx

So open a cmd.exe window as administrator and try
Dism /Online /Cleanup-Image /RestoreHealth /ResetBase

After that, since the winsxs folder will have all older files removed, it will make that folder even smaller and then try the
Dism /Online /Cleanup-Image /RestoreHealth

Shane

Offline ddmoore66

  • Newbie
  • *
  • Join Date: Feb 2014
  • Posts: 20
  • Karma: 0
    • View Profile
Re: Unable to update, repair, refresh or restore windows 8.1
« Reply #7 on: February 05, 2014, 11:13:10 AM »
Hey Shane,

I ran the dism command...

Output Received:

Deployment Image Servicing and Management Tool
Version: 6.3.9600.16384

Image Version: 6.3.9600.16384

Error: 87

The resetbase option is not recognized in this context.
For more information, refer to the help.

The DISM log file can be found at C:\windows\Logs\DISM\dism.log

Offline Shane

  • Lead Developer - Coder
  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9279
  • Location: USA
  • Karma: 138
  • "Knowledge should be shared not hidden."
    • View Profile
    • Tweaking.com
Re: Unable to update, repair, refresh or restore windows 8.1
« Reply #8 on: February 05, 2014, 11:54:54 AM »
Odd the page shows

Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase

Zip the log up for me and post it, maybe it will tell me why it failed.

Did you copy and paste the command in or did you type it in?

Shane

Offline ddmoore66

  • Newbie
  • *
  • Join Date: Feb 2014
  • Posts: 20
  • Karma: 0
    • View Profile
Re: Unable to update, repair, refresh or restore windows 8.1
« Reply #9 on: February 05, 2014, 01:22:04 PM »
I copied and pasted it to the admin cmd prompt.

There are some other quirky things going on as well. Maybe it'll help diagnose the problem. The folder in the task bar does not open. I cannot "right click" on any app on the desktop. I have to use a work around to reach am admin cmd. Explorer.exe crashes and Outlook seems to lock up when exiting and leaves the outlook.exe "closing" until I go into the task manager to end task.

Here is the dism log though...

Offline Shane

  • Lead Developer - Coder
  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9279
  • Location: USA
  • Karma: 138
  • "Knowledge should be shared not hidden."
    • View Profile
    • Tweaking.com
Re: Unable to update, repair, refresh or restore windows 8.1
« Reply #10 on: February 05, 2014, 01:35:45 PM »
OK lets try a few other commands to see if we can get it to play better.

Run these commands in order.

sfc /scannow
dism /online /cleanup-image /spsuperseded /hidesp
dism /online /Cleanup-Image /StartComponentCleanup /ResetBase
Dism /Online /Cleanup-Image /RestoreHealth

Reboot then do

sfc /scannow again.

Shane

Offline ddmoore66

  • Newbie
  • *
  • Join Date: Feb 2014
  • Posts: 20
  • Karma: 0
    • View Profile
Re: Unable to update, repair, refresh or restore windows 8.1
« Reply #11 on: February 05, 2014, 03:02:23 PM »
Shane,

Here are the results... I didn't if you wanted the logs zipped or not.

*******
sfc /scannow
*******

Beginning system scan. This process will take some time.

Beginning verification phase of system scan.
Verification 100% complete.

Windows Resource Protection found corrupt files but was unable to fix some
of them. Details are included in the CBS.log windir\Logs\CBS\CBS.log. For
example C:\windows\Logs\CBS\CBS.log. Note that logging is currently not
supported in offline servicing scenarios.

*******
dism /online /cleanup-image /spsuperseded /hidesp
*******

Deployment Image Servicing and Management Tool
Version: 6.3.9600.16384

Image Version: 6.3.9600.16384

Service Pack Cleanup cannot proceed: No Service Pack backup files were found.
The operation completed successfully.

*******
dism /online /Cleanup-Image /StartComponentCleanup /ResetBase
*******

Deployment Image Servicing and Management Tool
Version: 6.3.9600.16384

Image Version: 6.3.9600.16384

[==============================100%=============================]
The operation completed successfully.

*******
Dism /Online /Cleanup-Image /RestoreHealth
*******

Deployment Image Servicing and Management Tool
Version: 6.3.9600.16384

Image Version: 6.3.9600.16384

[==============================100%=============================]

Error: 0x00240021

DISM failed. No operation was performed.
For more information, review the log file.

The DISM log file can be found at C:\windows\Logs\DISM\dism.log

*******
sfc /scannow
*******

Beginning system scan. This process will take some time.

Beginning verification phase of system scan.
Verification 100% complete.

Windows Resource Protection found corrupt files but was unable to fix some
of them. Details are included in the CBS.log windir\Logs\CBS\CBS.log. For
example C:\windows\Logs\CBS\CBS.log. Note that logging is currently not
supported in offline servicing scenarios.

Offline Shane

  • Lead Developer - Coder
  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9279
  • Location: USA
  • Karma: 138
  • "Knowledge should be shared not hidden."
    • View Profile
    • Tweaking.com
Re: Unable to update, repair, refresh or restore windows 8.1
« Reply #12 on: February 05, 2014, 03:05:44 PM »
Progress at least, the resetbase worked this time.

But the restore health still failed. Zip up the log file and send it.

Shane

Offline Shane

  • Lead Developer - Coder
  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9279
  • Location: USA
  • Karma: 138
  • "Knowledge should be shared not hidden."
    • View Profile
    • Tweaking.com
Re: Unable to update, repair, refresh or restore windows 8.1
« Reply #13 on: February 05, 2014, 03:08:15 PM »
Wow, 0 google results for that error code lol

Shane

Offline ddmoore66

  • Newbie
  • *
  • Join Date: Feb 2014
  • Posts: 20
  • Karma: 0
    • View Profile
Re: Unable to update, repair, refresh or restore windows 8.1
« Reply #14 on: February 05, 2014, 03:21:30 PM »
Sorry Shane...
That error code should be 80240021

From what I remember, that's a Time Out code

Offline ddmoore66

  • Newbie
  • *
  • Join Date: Feb 2014
  • Posts: 20
  • Karma: 0
    • View Profile
Re: Unable to update, repair, refresh or restore windows 8.1
« Reply #15 on: February 05, 2014, 03:24:34 PM »
Here's the new dism.log

Did you want the CBS.log as well?

Offline Shane

  • Lead Developer - Coder
  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9279
  • Location: USA
  • Karma: 138
  • "Knowledge should be shared not hidden."
    • View Profile
    • Tweaking.com
Re: Unable to update, repair, refresh or restore windows 8.1
« Reply #16 on: February 05, 2014, 03:37:33 PM »
OK the error is when it goes to read the packages to pull from

Code: [Select]
2014-02-05 16:24:38, Info                  DISM   DISM Package Manager: PID=5552 TID=6952 Routing the command... - CPackageManagerCLIHandler::ExecuteCmdLine
2014-02-05 16:24:38, Info                  DISM   DISM Package Manager: PID=5552 TID=6952 CBS session options=0x48100! - CDISMPackageManager::Internal_Finalize
2014-02-05 16:39:21, Info                  DISM   DISM Package Manager: PID=5552 TID=3772  Error in operation: (null) (CBS HRESULT=0x80240021) - CCbsConUIHandler::Error
2014-02-05 16:39:21, Error                 DISM   DISM Package Manager: PID=5552 TID=6952 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x80240021)
2014-02-05 16:39:21, Error                 DISM   DISM Package Manager: PID=5552 TID=6952 Failed processing package changes with session option CbsSessionOptionRepairStoreCorruption - CDISMPackageManager::RestoreHealth(hr:0x80240021)
2014-02-05 16:39:21, Error                 DISM   DISM Package Manager: PID=5552 TID=6952 Failed to restore the image health. - CPackageManagerCLIHandler::ProcessCmdLine_CleanupImage(hr:0x80240021)
2014-02-05 16:39:21, Error                 DISM   DISM Package Manager: PID=5552 TID=6952 Failed while processing command cleanup-image. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x80240021)
2014-02-05 16:39:21, Info                  DISM   DISM Package Manager: PID=5552 TID=6952 Further logs for online package and feature related operations can be found at %WINDIR%\logs\CBS\cbs.log - CPackageManagerCLIHandler::ExecuteCmdLine
2014-02-05 16:39:21, Error                 DISM   DISM.EXE: DISM Package Manager processed the command line but failed. HRESULT=80240021

Routing the command... - CPackageManagerCLIHandler::ExecuteCmdLine

From what I can find on it, it cant find files it is looking for, it is set to use windows updates to pull files as well, but unless windows updates is not working right then it should have been able to pull the files. From what I can tell you can try to tell it to use a offline image of Windows 8.1
http://technet.microsoft.com/en-us/library/hh825020.aspx

One option that should work is a repair install and let the files all get reinstalled
http://www.eightforums.com/tutorials/26095-repair-install-windows-8-a.html

Shane